Commit 95ac221a by Uros Bizjak Committed by Uros Bizjak

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
parent 6b8ebd00
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> 2014-05-17 Andreas Schwab <schwab@suse.de>
* gcc.target/ia64/visibility-1.c (variable_i): Add used attribute. * gcc.target/ia64/visibility-1.c (variable_i): Add used attribute.
......
/* { dg-do compile { target i?86-*-* } } */ /* { dg-do compile { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
/* { dg-options "-O2 -ftree-vectorize -march=pentium4" } */ /* { dg-options "-O2 -ftree-vectorize -march=pentium4 -mfpmath=387" } */
struct A struct A
{ {
...@@ -28,3 +28,5 @@ foo (A &s, A &t, A &u, A &v, int y, int z) ...@@ -28,3 +28,5 @@ foo (A &s, A &t, A &u, A &v, int y, int z)
} }
return x; return x;
} }
/* { dg-final { scan-assembler-not "%mm" } } */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment