/* { dg-do compile } */
/* { dg-options "-msse2 -O2" } */
/* { dg-require-effective-target ilp32 } */
/* { dg-require-effective-target sse2 } */

/* Make sure we know that mysinfp returns in %xmm0.  */

double __attribute__((sseregparm)) mysin(double x);
double bar(double x)
{
  return mysin(x);
}

/* { dg-final { scan-assembler "fldl" } } */
