pr60969.C: Compile for all ilp32 x86 targets.

* g++.dg/pr60969.C: Compile for all ilp32 x86 targets.
	(dg-options): Add -mfpmath=387.
	(dg-final): Check that no MMX registers are used.

From-SVN: r210550
This commit is contained in:
Uros Bizjak 2014-05-17 13:03:31 +02:00 committed by Uros Bizjak
parent 6b8ebd00cf
commit 95ac221a3a
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2014-05-17 Uros Bizjak <ubizjak@gmail.com>
* g++.dg/pr60969.C: Compile for all ilp32 x86 targets.
(dg-options): Add -mfpmath=387.
(dg-final): Check that no MMX registers are used.
2014-05-17 Andreas Schwab <schwab@suse.de>
* gcc.target/ia64/visibility-1.c (variable_i): Add used attribute.

View File

@ -1,5 +1,5 @@
/* { dg-do compile { target i?86-*-* } } */
/* { dg-options "-O2 -ftree-vectorize -march=pentium4" } */
/* { dg-do compile { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
/* { dg-options "-O2 -ftree-vectorize -march=pentium4 -mfpmath=387" } */
struct A
{
@ -28,3 +28,5 @@ foo (A &s, A &t, A &u, A &v, int y, int z)
}
return x;
}
/* { dg-final { scan-assembler-not "%mm" } } */