* g++.dg/other/i386-2.C (dg-options): Add -mavx512pf.
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / sseregparm-4.c
blob47d66e3ab1ce4294a9e0da5b144faeb6773d9a35
1 /* { dg-do compile } */
2 /* { dg-options "-msse2 -O2" } */
3 /* { dg-require-effective-target ia32 } */
5 /* Make sure we know that mysinfp returns in %xmm0. */
7 double __attribute__((sseregparm)) mysin(double x);
8 double __attribute__((sseregparm)) (*mysinfp)(double) = mysin;
9 double bar(double x)
11 return mysinfp(x);
14 /* { dg-final { scan-assembler "fldl" } } */