1 /* { dg-do compile } */
2 /* { dg-options "-msse2 -O2" } */
3 /* { dg-require-effective-target ia32 } */
4 
5 /* Make sure we know that mysinfp returns in %xmm0.  */
6 
7 double __attribute__((sseregparm)) mysin(double x);
8 double __attribute__((sseregparm)) (*mysinfp)(double) = mysin;
bar(double x)9 double bar(double x)
10 {
11   return 1.0+mysinfp(x);
12 }
13 
14 /* { dg-final { scan-assembler "fldl" } } */
15