2007-05-23 H.J. Lu <hongjiu.lu@intel.com>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / sseregparm-1.c
blob9d426b84276b81854b24778a058544d57a47358c
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -msse" } */
3 /* { dg-require-effective-target ilp32 } */
5 float essef(float) __attribute__((sseregparm));
6 double essed(double) __attribute__((sseregparm));
7 float __attribute__((sseregparm, noinline)) ssef(float f) { return f; }
8 double __attribute__((sseregparm, noinline)) ssed(double d) { return d; }
9 extern double d;
10 extern float f;
11 void test(void)
13 f = essef(f);
14 d = essed(d);
15 f = ssef(f);
16 d = ssed(d);
19 /* { dg-final { scan-assembler-not "fldl" } } */