[testsuite] require sqrt_insn effective target where needed
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / ppc-fpconv-11.c
blobe58445d2e438b11853e164ba4526cc7f1f0fa777
1 /* { dg-do compile { target { powerpc*-*-* } } } */
2 /* { dg-skip-if "" { powerpc*-*-darwin* } } */
3 /* { dg-require-effective-target powerpc_fprs } */
4 /* { dg-options "-O2 -mdejagnu-cpu=power5+ -ffast-math" } */
5 /* { dg-final { scan-assembler-not "xsrdpiz" } } */
6 /* { dg-final { scan-assembler "friz" } } */
8 double round_double_llong (double a)
10 return (double)(long long)a;