* gcc.dg/ucnid-[23456].c: XFAIL on AIX.
[official-gcc.git] / gcc / testsuite / gcc.dg / i386-ssefn-1.c
bloba8b0b14e73cd53169c95ec2b9079a1bfeb88d5a2
1 /* Test argument passing with SSE and local functions
2 Written by Paolo Bonzini, 25 January 2005 */
4 /* { dg-do compile { target i?86-*-* } } */
5 /* { dg-final { scan-assembler "movss" } } */
6 /* { dg-final { scan-assembler "mulss" } } */
7 /* { dg-final { scan-assembler-not "movsd" } } */
8 /* { dg-final { scan-assembler-not "mulsd" } } */
9 /* { dg-options "-O2 -msse -mfpmath=sse -fno-inline" } */
11 static float xs (void)
13 return 3.14159265;
16 float ys (float a)
18 return xs () * a;
21 static double xd (void)
23 return 3.1415926535;
26 double yd (double a)
28 return xd () * a;