PATCH: testsuite/37074: gcc.dg/torture/stackalign/builtin-apply-4.c failed with SSE2

H.J. Lu hjl.tools@gmail.com
Sun Aug 10 20:40:00 GMT 2008


On Sun, Aug 10, 2008 at 1:23 PM, Andrew Pinski <pinskia@gmail.com> wrote:
> On Sun, Aug 10, 2008 at 1:21 PM, H.J. Lu <hjl.tools@gmail.com> wrote:
>> Hi,
>>
>> gcc.dg/torture/stackalign/builtin-apply-4.c failed with SSE2. The
>> problem is MMX enabled with SSE2, but builtin-apply-4.c mixes mmx
>> and x87 instructions without emms in between. This patch adds
>> -mno-mmx to x86. OK for trunk?
>
> This does not explain where the MMX instructions are coming from, just
> they are showing up.
> Why are they showing up in the first place?
>

See:

http://gcc.gnu.org/ml/gcc-patches/2008-02/msg00004.html

gcc.dg/torture/stackalign/builtin-apply-4.c is copied from
gcc.dg/builtin-apply4.c.

bash-3.2$ ./xgcc -B./ -m32  -msse2
/export/gnu/import/gcc/gcc/testsuite/gcc.dg/torture/stackalign/builtin-apply-4.c
bash-3.2$ ./a.out
Aborted
bash-3.2$ ./xgcc -B./ -m32  -msse2
/export/gnu/import/gcc/gcc/testsuite/gcc.dg/torture/stackalign/builtin-apply-4.c
-mno-mmx
bash-3.2$ ./a.out
bash-3.2$


-- 
H.J.



More information about the Gcc-patches mailing list