[testsuite] require sqrt_insn effective target where needed
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / float128-mix-2.c
blob61227132c207e3e100f3d066cb2015f4c6c244a9
1 /* { dg-require-effective-target ppc_float128_sw } */
2 /* { dg-options "-O2 -mvsx -Wno-psabi -mabi=ieeelongdouble -mlong-double-128" } */
4 /* Test to make sure that __float128 and long double do not generate errors if
5 long double uses the IEEE 128-bit format. */
6 __float128
7 add (__float128 a, long double b)
9 return a+b;
12 long double
13 sub (long double a, __float128 b)
15 return a-b;