[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [WIP v3] Introduce mescc.a for division algorithm and move the latte
From: |
Danny Milosavljevic |
Subject: |
Re: [WIP v3] Introduce mescc.a for division algorithm and move the latter there. |
Date: |
Fri, 29 May 2020 15:26:04 +0200 |
Hi,
with WIP v3 I get on armhf:
(1) gcc-lib
Failed tests:
>lib/tests/scaffold/7l-struct-any-size-array-simple.c
>lib/tests/scaffold/7r-sign-extend.c
(2) mescc-lib
# XFAIL:
>lib/tests/scaffold/17-compare-unsigned-short-le.c: XFAIL
>lib/tests/scaffold/17-compare-unsigned-short-le.c (exit status: 1)
>lib/tests/scaffold/72-typedef-struct-def-local.c: XFAIL
>lib/tests/scaffold/72-typedef-struct-def-local.c (exit status: 1)
>lib/tests/scaffold/17-compare-unsigned-char-le.c: XFAIL
>lib/tests/scaffold/17-compare-unsigned-char-le.c (exit status: 1)
>lib/tests/scaffold/66-local-char-array.c: XFAIL
>lib/tests/scaffold/66-local-char-array.c (exit status: 1)
# Real ones:
>lib/tests/scaffold/63-struct-cell.c: Timeout
[...]
t: (functionx) () == foo
t: foo
t: foo
t: foo
t: foo
t: foo
[...]
>lib/tests/scaffold/7u-struct-func.c: FAIL lib/tests/scaffold/7u-struct-func.c
>(exit status: 1)
exit status 1 probably means that f.func (2) != 1;
>lib/tests/scaffold/44-switch.c: FAIL lib/tests/scaffold/44-switch.c (exit
>status: 11)
t: switch 0
TCHAR
0
t: switch 1
1
5..1, -1
t: switch -1
default
default
$ echo $?
11
>lib/tests/stdlib/80-qsort-dupes.c: test-c.sh line 71: 6121 Segmentation fault
ls:
Segmentation fault (core dumped)
>lib/tests/stdlib/80-qsort.c: test-c.sh line 71: 5920 Segmentation fault
compare: 0 <? -1 => 1
compare: 5 <? 2 => 3
compare: 5 <? 3 => 2
compare: 5 <? 4 => 1
compare: 5 <? 4 => 1
compare: 5 <? 4 => 1
compare: 5 <? 4 => 1
compare: 5 <? 4 => 1
compare: 5 <? 4 => 1
compare: 5 <? 4 => 1
compare: 5 <? 4 => 1
compare: 5 <? 4 => 1
compare: 5 <? 4 => 1
compare: 5 <? 4 => 1
compare: 5 <? 4 => 1
compare: 5 <? 4 => 1
compare: 5 <? 4 => 1
compare: 5 <? 4 => 1
compare: 5 <? 4 => 1
[...]
Segmentation fault (core dumped)
>lib/tests/setjmp/80-setjmp.c: test-c.sh line 71: 5490 Segmentation fault
second
Segmentation fault (core dumped)
And that's *after* I implemented setjmp :P
I guess that one doesn't work yet...
Also, on i686-linux with patch applied:
$ guix build -K -s i686-linux -f guix.scm
/gnu/store/3ry6gxn6s5nzjnbs7vlf2q2zvz9zx5ql-mes.git-0.22-0.834e97d
I'd say the patch WIP v3 "Introduce mescc.a for division algorithm and move the
latter there" makes things a lot better and we can use it for real.
Note that I didn't test the Hurd (and it probably won't work because we don't
implement a __raise function for it).
pgp3XgqZpqOzo.pgp
Description: OpenPGP digital signature
- Re: libc-mini.a should also include integer division algorithm, (continued)
- Re: libc-mini.a should also include integer division algorithm, Danny Milosavljevic, 2020/05/28
- [WIP wip-arm] Introduce mescc.a for division algorithm and move the latter there., Danny Milosavljevic, 2020/05/28
- [WIP v2] Introduce mescc.a for division algorithm and move the latter there., Danny Milosavljevic, 2020/05/28
- [WIP v3] Introduce mescc.a for division algorithm and move the latter there., Danny Milosavljevic, 2020/05/28
- Re: [WIP v3] Introduce mescc.a for division algorithm and move the latter there.,
Danny Milosavljevic <=
- Re: [WIP v3] Introduce mescc.a for division algorithm and move the latter there., Jan Nieuwenhuizen, 2020/05/29
- Re: [WIP v3] Introduce mescc.a for division algorithm and move the latter there., Danny Milosavljevic, 2020/05/29
- Re: [WIP v3] Introduce mescc.a for division algorithm and move the latter there., Jan Nieuwenhuizen, 2020/05/29
- Re: [WIP v3] Introduce mescc.a for division algorithm and move the latter there., Danny Milosavljevic, 2020/05/29
- Re: [WIP v3] Introduce mescc.a for division algorithm and move the latter there., Jan Nieuwenhuizen, 2020/05/29