1 /* { dg-do compile { target { powerpc*-*-* } } } */
2 /* { dg-skip-if "" { powerpc*-*-darwin* } } */
3 /* { dg-options "-O2 -mdejagnu-cpu=power7 -ffast-math" } */
4 /* { dg-require-effective-target powerpc_vsx } */
5 /* { dg-final { scan-assembler {\mfriz\M|\mxsrdpiz\M} } } */
7 double round_double_llong (double a
)
9 return (double)(long long)a
;