blob: 61227132c207e3e100f3d066cb2015f4c6c244a9 [file] [log] [blame]
/* { dg-require-effective-target ppc_float128_sw } */
/* { dg-options "-O2 -mvsx -Wno-psabi -mabi=ieeelongdouble -mlong-double-128" } */
/* Test to make sure that __float128 and long double do not generate errors if
long double uses the IEEE 128-bit format. */
__float128
add (__float128 a, long double b)
{
return a+b;
}
long double
sub (long double a, __float128 b)
{
return a-b;
}