Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / gcc.target / i386 / ssefn-2.c
blobded8b724f94c37373e446a0b42954923890a9000
1 /* Test argument passing with SSE2 and local functions
2 Written by Paolo Bonzini, 25 January 2005 */
4 /* { dg-do compile { target i?86-*-* x86_64-*-* } } */
5 /* { dg-require-effective-target ilp32 } */
6 /* { dg-final { scan-assembler "movss" } } */
7 /* { dg-final { scan-assembler "mulss" } } */
8 /* { dg-final { scan-assembler "movsd" } } */
9 /* { dg-final { scan-assembler "mulsd" } } */
10 /* { dg-options "-O2 -msse2 -mfpmath=sse -fno-inline" } */
12 static float xs (void)
14 return 3.14159265;
17 float ys (float a)
19 return xs () * a;
22 static double xd (void)
24 return 3.1415926535;
27 double yd (double a)
29 return xd () * a;