blob: 61227132c207e3e100f3d066cb2015f4c6c244a9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
/* { 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;
}
|