1 /* { dg-do compile { target { powerpc*-*-linux* } } } */
2 /* { dg-require-effective-target powerpc_float128_sw_ok } */
3 /* { dg-options "-O2 -mdejagnu-cpu=power8 -mfloat128" } */
4 
foo(__float128 a)5 __float128 foo (__float128 a) { return -a; }
6 
7 /* { dg-final { scan-assembler "xxlorc\|vspltisw" } } */
8 /* { dg-final { scan-assembler "xxlxor" } } */
9 /* { dg-final { scan-assembler "vslb"   } } */
10 /* { dg-final { scan-assembler "vsldoi" } } */
11