diff --git a/math/auto-libm-test-in b/math/auto-libm-test-in
index ec9a0963f2..cf46d14ec9 100644
--- a/math/auto-libm-test-in
+++ b/math/auto-libm-test-in
@@ -4469,8 +4469,8 @@ cospi min
 cospi -min
 cospi min_subnorm
 cospi -min_subnorm
-cospi max
-cospi -max
+cospi max xfail-rounding:ibm128-libgcc
+cospi -max xfail-rounding:ibm128-libgcc
 cospi 1
 cospi -1
 cospi 2
@@ -4549,10 +4549,10 @@ cospi 0x1fffffffffffffff.6p0
 cospi -0x1fffffffffffffff.6p0
 cospi 0x1fffffffffffffff.ap0
 cospi -0x1fffffffffffffff.ap0
-cospi 0x3fffffffffffffffffffffffffff.6p0
-cospi -0x3fffffffffffffffffffffffffff.6p0
-cospi 0x3fffffffffffffffffffffffffff.ap0
-cospi -0x3fffffffffffffffffffffffffff.ap0
+cospi 0x3fffffffffffffffffffffffffff.6p0 xfail-rounding:ibm128-libgcc
+cospi -0x3fffffffffffffffffffffffffff.6p0 xfail-rounding:ibm128-libgcc
+cospi 0x3fffffffffffffffffffffffffff.ap0 xfail-rounding:ibm128-libgcc
+cospi -0x3fffffffffffffffffffffffffff.ap0 xfail-rounding:ibm128-libgcc
 
 cosh 0
 cosh -0
diff --git a/math/auto-libm-test-out-cospi b/math/auto-libm-test-out-cospi
index cc6db07614..3e2f57b942 100644
--- a/math/auto-libm-test-out-cospi
+++ b/math/auto-libm-test-out-cospi
@@ -364,144 +364,144 @@ cospi -min_subnorm
 = cospi tonearest binary128 -0x4p-16496 : 0x1p+0 : inexact-ok
 = cospi towardzero binary128 -0x4p-16496 : 0xf.fffffffffffffffffffffffffff8p-4 : inexact-ok
 = cospi upward binary128 -0x4p-16496 : 0x1p+0 : inexact-ok
-cospi max
-= cospi downward binary32 0xf.fffffp+124 : 0x1p+0 : inexact-ok
+cospi max xfail-rounding:ibm128-libgcc
+= cospi downward binary32 0xf.fffffp+124 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest binary32 0xf.fffffp+124 : 0x1p+0 : inexact-ok
-= cospi towardzero binary32 0xf.fffffp+124 : 0x1p+0 : inexact-ok
-= cospi upward binary32 0xf.fffffp+124 : 0x1p+0 : inexact-ok
-= cospi downward binary64 0xf.fffffp+124 : 0x1p+0 : inexact-ok
+= cospi towardzero binary32 0xf.fffffp+124 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward binary32 0xf.fffffp+124 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward binary64 0xf.fffffp+124 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest binary64 0xf.fffffp+124 : 0x1p+0 : inexact-ok
-= cospi towardzero binary64 0xf.fffffp+124 : 0x1p+0 : inexact-ok
-= cospi upward binary64 0xf.fffffp+124 : 0x1p+0 : inexact-ok
-= cospi downward intel96 0xf.fffffp+124 : 0x1p+0 : inexact-ok
+= cospi towardzero binary64 0xf.fffffp+124 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward binary64 0xf.fffffp+124 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward intel96 0xf.fffffp+124 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest intel96 0xf.fffffp+124 : 0x1p+0 : inexact-ok
-= cospi towardzero intel96 0xf.fffffp+124 : 0x1p+0 : inexact-ok
-= cospi upward intel96 0xf.fffffp+124 : 0x1p+0 : inexact-ok
-= cospi downward m68k96 0xf.fffffp+124 : 0x1p+0 : inexact-ok
+= cospi towardzero intel96 0xf.fffffp+124 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward intel96 0xf.fffffp+124 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward m68k96 0xf.fffffp+124 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest m68k96 0xf.fffffp+124 : 0x1p+0 : inexact-ok
-= cospi towardzero m68k96 0xf.fffffp+124 : 0x1p+0 : inexact-ok
-= cospi upward m68k96 0xf.fffffp+124 : 0x1p+0 : inexact-ok
-= cospi downward binary128 0xf.fffffp+124 : 0x1p+0 : inexact-ok
+= cospi towardzero m68k96 0xf.fffffp+124 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward m68k96 0xf.fffffp+124 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward binary128 0xf.fffffp+124 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest binary128 0xf.fffffp+124 : 0x1p+0 : inexact-ok
-= cospi towardzero binary128 0xf.fffffp+124 : 0x1p+0 : inexact-ok
-= cospi upward binary128 0xf.fffffp+124 : 0x1p+0 : inexact-ok
-= cospi downward ibm128 0xf.fffffp+124 : 0x1p+0 : inexact-ok
+= cospi towardzero binary128 0xf.fffffp+124 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward binary128 0xf.fffffp+124 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward ibm128 0xf.fffffp+124 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest ibm128 0xf.fffffp+124 : 0x1p+0 : inexact-ok
-= cospi towardzero ibm128 0xf.fffffp+124 : 0x1p+0 : inexact-ok
-= cospi upward ibm128 0xf.fffffp+124 : 0x1p+0 : inexact-ok
-= cospi downward binary64 0xf.ffffffffffff8p+1020 : 0x1p+0 : inexact-ok
+= cospi towardzero ibm128 0xf.fffffp+124 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward ibm128 0xf.fffffp+124 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward binary64 0xf.ffffffffffff8p+1020 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest binary64 0xf.ffffffffffff8p+1020 : 0x1p+0 : inexact-ok
-= cospi towardzero binary64 0xf.ffffffffffff8p+1020 : 0x1p+0 : inexact-ok
-= cospi upward binary64 0xf.ffffffffffff8p+1020 : 0x1p+0 : inexact-ok
-= cospi downward intel96 0xf.ffffffffffff8p+1020 : 0x1p+0 : inexact-ok
+= cospi towardzero binary64 0xf.ffffffffffff8p+1020 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward binary64 0xf.ffffffffffff8p+1020 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward intel96 0xf.ffffffffffff8p+1020 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest intel96 0xf.ffffffffffff8p+1020 : 0x1p+0 : inexact-ok
-= cospi towardzero intel96 0xf.ffffffffffff8p+1020 : 0x1p+0 : inexact-ok
-= cospi upward intel96 0xf.ffffffffffff8p+1020 : 0x1p+0 : inexact-ok
-= cospi downward m68k96 0xf.ffffffffffff8p+1020 : 0x1p+0 : inexact-ok
+= cospi towardzero intel96 0xf.ffffffffffff8p+1020 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward intel96 0xf.ffffffffffff8p+1020 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward m68k96 0xf.ffffffffffff8p+1020 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest m68k96 0xf.ffffffffffff8p+1020 : 0x1p+0 : inexact-ok
-= cospi towardzero m68k96 0xf.ffffffffffff8p+1020 : 0x1p+0 : inexact-ok
-= cospi upward m68k96 0xf.ffffffffffff8p+1020 : 0x1p+0 : inexact-ok
-= cospi downward binary128 0xf.ffffffffffff8p+1020 : 0x1p+0 : inexact-ok
+= cospi towardzero m68k96 0xf.ffffffffffff8p+1020 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward m68k96 0xf.ffffffffffff8p+1020 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward binary128 0xf.ffffffffffff8p+1020 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest binary128 0xf.ffffffffffff8p+1020 : 0x1p+0 : inexact-ok
-= cospi towardzero binary128 0xf.ffffffffffff8p+1020 : 0x1p+0 : inexact-ok
-= cospi upward binary128 0xf.ffffffffffff8p+1020 : 0x1p+0 : inexact-ok
-= cospi downward ibm128 0xf.ffffffffffff8p+1020 : 0x1p+0 : inexact-ok
+= cospi towardzero binary128 0xf.ffffffffffff8p+1020 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward binary128 0xf.ffffffffffff8p+1020 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward ibm128 0xf.ffffffffffff8p+1020 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest ibm128 0xf.ffffffffffff8p+1020 : 0x1p+0 : inexact-ok
-= cospi towardzero ibm128 0xf.ffffffffffff8p+1020 : 0x1p+0 : inexact-ok
-= cospi upward ibm128 0xf.ffffffffffff8p+1020 : 0x1p+0 : inexact-ok
-= cospi downward intel96 0xf.fffffffffffffffp+16380 : 0x1p+0 : inexact-ok
+= cospi towardzero ibm128 0xf.ffffffffffff8p+1020 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward ibm128 0xf.ffffffffffff8p+1020 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward intel96 0xf.fffffffffffffffp+16380 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest intel96 0xf.fffffffffffffffp+16380 : 0x1p+0 : inexact-ok
-= cospi towardzero intel96 0xf.fffffffffffffffp+16380 : 0x1p+0 : inexact-ok
-= cospi upward intel96 0xf.fffffffffffffffp+16380 : 0x1p+0 : inexact-ok
-= cospi downward m68k96 0xf.fffffffffffffffp+16380 : 0x1p+0 : inexact-ok
+= cospi towardzero intel96 0xf.fffffffffffffffp+16380 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward intel96 0xf.fffffffffffffffp+16380 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward m68k96 0xf.fffffffffffffffp+16380 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest m68k96 0xf.fffffffffffffffp+16380 : 0x1p+0 : inexact-ok
-= cospi towardzero m68k96 0xf.fffffffffffffffp+16380 : 0x1p+0 : inexact-ok
-= cospi upward m68k96 0xf.fffffffffffffffp+16380 : 0x1p+0 : inexact-ok
-= cospi downward binary128 0xf.fffffffffffffffp+16380 : 0x1p+0 : inexact-ok
+= cospi towardzero m68k96 0xf.fffffffffffffffp+16380 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward m68k96 0xf.fffffffffffffffp+16380 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward binary128 0xf.fffffffffffffffp+16380 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest binary128 0xf.fffffffffffffffp+16380 : 0x1p+0 : inexact-ok
-= cospi towardzero binary128 0xf.fffffffffffffffp+16380 : 0x1p+0 : inexact-ok
-= cospi upward binary128 0xf.fffffffffffffffp+16380 : 0x1p+0 : inexact-ok
-= cospi downward binary128 0xf.fffffffffffffffffffffffffff8p+16380 : 0x1p+0 : inexact-ok
+= cospi towardzero binary128 0xf.fffffffffffffffp+16380 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward binary128 0xf.fffffffffffffffp+16380 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward binary128 0xf.fffffffffffffffffffffffffff8p+16380 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest binary128 0xf.fffffffffffffffffffffffffff8p+16380 : 0x1p+0 : inexact-ok
-= cospi towardzero binary128 0xf.fffffffffffffffffffffffffff8p+16380 : 0x1p+0 : inexact-ok
-= cospi upward binary128 0xf.fffffffffffffffffffffffffff8p+16380 : 0x1p+0 : inexact-ok
-= cospi downward binary128 0xf.ffffffffffffbffffffffffffcp+1020 : 0x1p+0 : inexact-ok
+= cospi towardzero binary128 0xf.fffffffffffffffffffffffffff8p+16380 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward binary128 0xf.fffffffffffffffffffffffffff8p+16380 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward binary128 0xf.ffffffffffffbffffffffffffcp+1020 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest binary128 0xf.ffffffffffffbffffffffffffcp+1020 : 0x1p+0 : inexact-ok
-= cospi towardzero binary128 0xf.ffffffffffffbffffffffffffcp+1020 : 0x1p+0 : inexact-ok
-= cospi upward binary128 0xf.ffffffffffffbffffffffffffcp+1020 : 0x1p+0 : inexact-ok
-= cospi downward ibm128 0xf.ffffffffffffbffffffffffffcp+1020 : 0x1p+0 : inexact-ok
+= cospi towardzero binary128 0xf.ffffffffffffbffffffffffffcp+1020 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward binary128 0xf.ffffffffffffbffffffffffffcp+1020 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward ibm128 0xf.ffffffffffffbffffffffffffcp+1020 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest ibm128 0xf.ffffffffffffbffffffffffffcp+1020 : 0x1p+0 : inexact-ok
-= cospi towardzero ibm128 0xf.ffffffffffffbffffffffffffcp+1020 : 0x1p+0 : inexact-ok
-= cospi upward ibm128 0xf.ffffffffffffbffffffffffffcp+1020 : 0x1p+0 : inexact-ok
-cospi -max
-= cospi downward binary32 -0xf.fffffp+124 : 0x1p+0 : inexact-ok
+= cospi towardzero ibm128 0xf.ffffffffffffbffffffffffffcp+1020 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward ibm128 0xf.ffffffffffffbffffffffffffcp+1020 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+cospi -max xfail-rounding:ibm128-libgcc
+= cospi downward binary32 -0xf.fffffp+124 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest binary32 -0xf.fffffp+124 : 0x1p+0 : inexact-ok
-= cospi towardzero binary32 -0xf.fffffp+124 : 0x1p+0 : inexact-ok
-= cospi upward binary32 -0xf.fffffp+124 : 0x1p+0 : inexact-ok
-= cospi downward binary64 -0xf.fffffp+124 : 0x1p+0 : inexact-ok
+= cospi towardzero binary32 -0xf.fffffp+124 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward binary32 -0xf.fffffp+124 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward binary64 -0xf.fffffp+124 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest binary64 -0xf.fffffp+124 : 0x1p+0 : inexact-ok
-= cospi towardzero binary64 -0xf.fffffp+124 : 0x1p+0 : inexact-ok
-= cospi upward binary64 -0xf.fffffp+124 : 0x1p+0 : inexact-ok
-= cospi downward intel96 -0xf.fffffp+124 : 0x1p+0 : inexact-ok
+= cospi towardzero binary64 -0xf.fffffp+124 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward binary64 -0xf.fffffp+124 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward intel96 -0xf.fffffp+124 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest intel96 -0xf.fffffp+124 : 0x1p+0 : inexact-ok
-= cospi towardzero intel96 -0xf.fffffp+124 : 0x1p+0 : inexact-ok
-= cospi upward intel96 -0xf.fffffp+124 : 0x1p+0 : inexact-ok
-= cospi downward m68k96 -0xf.fffffp+124 : 0x1p+0 : inexact-ok
+= cospi towardzero intel96 -0xf.fffffp+124 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward intel96 -0xf.fffffp+124 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward m68k96 -0xf.fffffp+124 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest m68k96 -0xf.fffffp+124 : 0x1p+0 : inexact-ok
-= cospi towardzero m68k96 -0xf.fffffp+124 : 0x1p+0 : inexact-ok
-= cospi upward m68k96 -0xf.fffffp+124 : 0x1p+0 : inexact-ok
-= cospi downward binary128 -0xf.fffffp+124 : 0x1p+0 : inexact-ok
+= cospi towardzero m68k96 -0xf.fffffp+124 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward m68k96 -0xf.fffffp+124 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward binary128 -0xf.fffffp+124 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest binary128 -0xf.fffffp+124 : 0x1p+0 : inexact-ok
-= cospi towardzero binary128 -0xf.fffffp+124 : 0x1p+0 : inexact-ok
-= cospi upward binary128 -0xf.fffffp+124 : 0x1p+0 : inexact-ok
-= cospi downward ibm128 -0xf.fffffp+124 : 0x1p+0 : inexact-ok
+= cospi towardzero binary128 -0xf.fffffp+124 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward binary128 -0xf.fffffp+124 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward ibm128 -0xf.fffffp+124 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest ibm128 -0xf.fffffp+124 : 0x1p+0 : inexact-ok
-= cospi towardzero ibm128 -0xf.fffffp+124 : 0x1p+0 : inexact-ok
-= cospi upward ibm128 -0xf.fffffp+124 : 0x1p+0 : inexact-ok
-= cospi downward binary64 -0xf.ffffffffffff8p+1020 : 0x1p+0 : inexact-ok
+= cospi towardzero ibm128 -0xf.fffffp+124 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward ibm128 -0xf.fffffp+124 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward binary64 -0xf.ffffffffffff8p+1020 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest binary64 -0xf.ffffffffffff8p+1020 : 0x1p+0 : inexact-ok
-= cospi towardzero binary64 -0xf.ffffffffffff8p+1020 : 0x1p+0 : inexact-ok
-= cospi upward binary64 -0xf.ffffffffffff8p+1020 : 0x1p+0 : inexact-ok
-= cospi downward intel96 -0xf.ffffffffffff8p+1020 : 0x1p+0 : inexact-ok
+= cospi towardzero binary64 -0xf.ffffffffffff8p+1020 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward binary64 -0xf.ffffffffffff8p+1020 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward intel96 -0xf.ffffffffffff8p+1020 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest intel96 -0xf.ffffffffffff8p+1020 : 0x1p+0 : inexact-ok
-= cospi towardzero intel96 -0xf.ffffffffffff8p+1020 : 0x1p+0 : inexact-ok
-= cospi upward intel96 -0xf.ffffffffffff8p+1020 : 0x1p+0 : inexact-ok
-= cospi downward m68k96 -0xf.ffffffffffff8p+1020 : 0x1p+0 : inexact-ok
+= cospi towardzero intel96 -0xf.ffffffffffff8p+1020 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward intel96 -0xf.ffffffffffff8p+1020 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward m68k96 -0xf.ffffffffffff8p+1020 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest m68k96 -0xf.ffffffffffff8p+1020 : 0x1p+0 : inexact-ok
-= cospi towardzero m68k96 -0xf.ffffffffffff8p+1020 : 0x1p+0 : inexact-ok
-= cospi upward m68k96 -0xf.ffffffffffff8p+1020 : 0x1p+0 : inexact-ok
-= cospi downward binary128 -0xf.ffffffffffff8p+1020 : 0x1p+0 : inexact-ok
+= cospi towardzero m68k96 -0xf.ffffffffffff8p+1020 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward m68k96 -0xf.ffffffffffff8p+1020 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward binary128 -0xf.ffffffffffff8p+1020 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest binary128 -0xf.ffffffffffff8p+1020 : 0x1p+0 : inexact-ok
-= cospi towardzero binary128 -0xf.ffffffffffff8p+1020 : 0x1p+0 : inexact-ok
-= cospi upward binary128 -0xf.ffffffffffff8p+1020 : 0x1p+0 : inexact-ok
-= cospi downward ibm128 -0xf.ffffffffffff8p+1020 : 0x1p+0 : inexact-ok
+= cospi towardzero binary128 -0xf.ffffffffffff8p+1020 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward binary128 -0xf.ffffffffffff8p+1020 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward ibm128 -0xf.ffffffffffff8p+1020 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest ibm128 -0xf.ffffffffffff8p+1020 : 0x1p+0 : inexact-ok
-= cospi towardzero ibm128 -0xf.ffffffffffff8p+1020 : 0x1p+0 : inexact-ok
-= cospi upward ibm128 -0xf.ffffffffffff8p+1020 : 0x1p+0 : inexact-ok
-= cospi downward intel96 -0xf.fffffffffffffffp+16380 : 0x1p+0 : inexact-ok
+= cospi towardzero ibm128 -0xf.ffffffffffff8p+1020 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward ibm128 -0xf.ffffffffffff8p+1020 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward intel96 -0xf.fffffffffffffffp+16380 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest intel96 -0xf.fffffffffffffffp+16380 : 0x1p+0 : inexact-ok
-= cospi towardzero intel96 -0xf.fffffffffffffffp+16380 : 0x1p+0 : inexact-ok
-= cospi upward intel96 -0xf.fffffffffffffffp+16380 : 0x1p+0 : inexact-ok
-= cospi downward m68k96 -0xf.fffffffffffffffp+16380 : 0x1p+0 : inexact-ok
+= cospi towardzero intel96 -0xf.fffffffffffffffp+16380 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward intel96 -0xf.fffffffffffffffp+16380 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward m68k96 -0xf.fffffffffffffffp+16380 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest m68k96 -0xf.fffffffffffffffp+16380 : 0x1p+0 : inexact-ok
-= cospi towardzero m68k96 -0xf.fffffffffffffffp+16380 : 0x1p+0 : inexact-ok
-= cospi upward m68k96 -0xf.fffffffffffffffp+16380 : 0x1p+0 : inexact-ok
-= cospi downward binary128 -0xf.fffffffffffffffp+16380 : 0x1p+0 : inexact-ok
+= cospi towardzero m68k96 -0xf.fffffffffffffffp+16380 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward m68k96 -0xf.fffffffffffffffp+16380 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward binary128 -0xf.fffffffffffffffp+16380 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest binary128 -0xf.fffffffffffffffp+16380 : 0x1p+0 : inexact-ok
-= cospi towardzero binary128 -0xf.fffffffffffffffp+16380 : 0x1p+0 : inexact-ok
-= cospi upward binary128 -0xf.fffffffffffffffp+16380 : 0x1p+0 : inexact-ok
-= cospi downward binary128 -0xf.fffffffffffffffffffffffffff8p+16380 : 0x1p+0 : inexact-ok
+= cospi towardzero binary128 -0xf.fffffffffffffffp+16380 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward binary128 -0xf.fffffffffffffffp+16380 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward binary128 -0xf.fffffffffffffffffffffffffff8p+16380 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest binary128 -0xf.fffffffffffffffffffffffffff8p+16380 : 0x1p+0 : inexact-ok
-= cospi towardzero binary128 -0xf.fffffffffffffffffffffffffff8p+16380 : 0x1p+0 : inexact-ok
-= cospi upward binary128 -0xf.fffffffffffffffffffffffffff8p+16380 : 0x1p+0 : inexact-ok
-= cospi downward binary128 -0xf.ffffffffffffbffffffffffffcp+1020 : 0x1p+0 : inexact-ok
+= cospi towardzero binary128 -0xf.fffffffffffffffffffffffffff8p+16380 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward binary128 -0xf.fffffffffffffffffffffffffff8p+16380 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward binary128 -0xf.ffffffffffffbffffffffffffcp+1020 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest binary128 -0xf.ffffffffffffbffffffffffffcp+1020 : 0x1p+0 : inexact-ok
-= cospi towardzero binary128 -0xf.ffffffffffffbffffffffffffcp+1020 : 0x1p+0 : inexact-ok
-= cospi upward binary128 -0xf.ffffffffffffbffffffffffffcp+1020 : 0x1p+0 : inexact-ok
-= cospi downward ibm128 -0xf.ffffffffffffbffffffffffffcp+1020 : 0x1p+0 : inexact-ok
+= cospi towardzero binary128 -0xf.ffffffffffffbffffffffffffcp+1020 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward binary128 -0xf.ffffffffffffbffffffffffffcp+1020 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward ibm128 -0xf.ffffffffffffbffffffffffffcp+1020 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest ibm128 -0xf.ffffffffffffbffffffffffffcp+1020 : 0x1p+0 : inexact-ok
-= cospi towardzero ibm128 -0xf.ffffffffffffbffffffffffffcp+1020 : 0x1p+0 : inexact-ok
-= cospi upward ibm128 -0xf.ffffffffffffbffffffffffffcp+1020 : 0x1p+0 : inexact-ok
+= cospi towardzero ibm128 -0xf.ffffffffffffbffffffffffffcp+1020 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward ibm128 -0xf.ffffffffffffbffffffffffffcp+1020 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 cospi 1
 = cospi downward binary32 0x1p+0 : -0x1p+0 : inexact-ok
 = cospi tonearest binary32 0x1p+0 : -0x1p+0 : inexact-ok
@@ -8868,391 +8868,391 @@ cospi -0x1fffffffffffffff.ap0
 = cospi tonearest ibm128 -0x1.fffffffffffffffap+60 : 0x6.1f78a9abaa58b4698916152cf8p-4 : inexact-ok
 = cospi towardzero ibm128 -0x1.fffffffffffffffap+60 : 0x6.1f78a9abaa58b4698916152cf6p-4 : inexact-ok
 = cospi upward ibm128 -0x1.fffffffffffffffap+60 : 0x6.1f78a9abaa58b4698916152cf8p-4 : inexact-ok
-cospi 0x3fffffffffffffffffffffffffff.6p0
-= cospi downward binary32 0x4p+108 : 0x1p+0 : inexact-ok
+cospi 0x3fffffffffffffffffffffffffff.6p0 xfail-rounding:ibm128-libgcc
+= cospi downward binary32 0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest binary32 0x4p+108 : 0x1p+0 : inexact-ok
-= cospi towardzero binary32 0x4p+108 : 0x1p+0 : inexact-ok
-= cospi upward binary32 0x4p+108 : 0x1p+0 : inexact-ok
-= cospi downward binary64 0x4p+108 : 0x1p+0 : inexact-ok
+= cospi towardzero binary32 0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward binary32 0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward binary64 0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest binary64 0x4p+108 : 0x1p+0 : inexact-ok
-= cospi towardzero binary64 0x4p+108 : 0x1p+0 : inexact-ok
-= cospi upward binary64 0x4p+108 : 0x1p+0 : inexact-ok
-= cospi downward intel96 0x4p+108 : 0x1p+0 : inexact-ok
+= cospi towardzero binary64 0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward binary64 0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward intel96 0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest intel96 0x4p+108 : 0x1p+0 : inexact-ok
-= cospi towardzero intel96 0x4p+108 : 0x1p+0 : inexact-ok
-= cospi upward intel96 0x4p+108 : 0x1p+0 : inexact-ok
-= cospi downward m68k96 0x4p+108 : 0x1p+0 : inexact-ok
+= cospi towardzero intel96 0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward intel96 0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward m68k96 0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest m68k96 0x4p+108 : 0x1p+0 : inexact-ok
-= cospi towardzero m68k96 0x4p+108 : 0x1p+0 : inexact-ok
-= cospi upward m68k96 0x4p+108 : 0x1p+0 : inexact-ok
-= cospi downward binary128 0x4p+108 : 0x1p+0 : inexact-ok
+= cospi towardzero m68k96 0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward m68k96 0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward binary128 0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest binary128 0x4p+108 : 0x1p+0 : inexact-ok
-= cospi towardzero binary128 0x4p+108 : 0x1p+0 : inexact-ok
-= cospi upward binary128 0x4p+108 : 0x1p+0 : inexact-ok
-= cospi downward ibm128 0x4p+108 : 0x1p+0 : inexact-ok
+= cospi towardzero binary128 0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward binary128 0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward ibm128 0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest ibm128 0x4p+108 : 0x1p+0 : inexact-ok
-= cospi towardzero ibm128 0x4p+108 : 0x1p+0 : inexact-ok
-= cospi upward ibm128 0x4p+108 : 0x1p+0 : inexact-ok
-= cospi downward binary32 0x3.fffffcp+108 : 0x1p+0 : inexact-ok
+= cospi towardzero ibm128 0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward ibm128 0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward binary32 0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest binary32 0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi towardzero binary32 0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi upward binary32 0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi downward binary64 0x3.fffffcp+108 : 0x1p+0 : inexact-ok
+= cospi towardzero binary32 0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward binary32 0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward binary64 0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest binary64 0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi towardzero binary64 0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi upward binary64 0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi downward intel96 0x3.fffffcp+108 : 0x1p+0 : inexact-ok
+= cospi towardzero binary64 0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward binary64 0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward intel96 0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest intel96 0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi towardzero intel96 0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi upward intel96 0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi downward m68k96 0x3.fffffcp+108 : 0x1p+0 : inexact-ok
+= cospi towardzero intel96 0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward intel96 0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward m68k96 0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest m68k96 0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi towardzero m68k96 0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi upward m68k96 0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi downward binary128 0x3.fffffcp+108 : 0x1p+0 : inexact-ok
+= cospi towardzero m68k96 0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward m68k96 0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward binary128 0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest binary128 0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi towardzero binary128 0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi upward binary128 0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi downward ibm128 0x3.fffffcp+108 : 0x1p+0 : inexact-ok
+= cospi towardzero binary128 0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward binary128 0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward ibm128 0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest ibm128 0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi towardzero ibm128 0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi upward ibm128 0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi downward binary64 0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
+= cospi towardzero ibm128 0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward ibm128 0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward binary64 0x3.ffffffffffffep+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest binary64 0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
-= cospi towardzero binary64 0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
-= cospi upward binary64 0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
-= cospi downward intel96 0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
+= cospi towardzero binary64 0x3.ffffffffffffep+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward binary64 0x3.ffffffffffffep+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward intel96 0x3.ffffffffffffep+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest intel96 0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
-= cospi towardzero intel96 0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
-= cospi upward intel96 0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
-= cospi downward m68k96 0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
+= cospi towardzero intel96 0x3.ffffffffffffep+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward intel96 0x3.ffffffffffffep+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward m68k96 0x3.ffffffffffffep+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest m68k96 0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
-= cospi towardzero m68k96 0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
-= cospi upward m68k96 0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
-= cospi downward binary128 0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
+= cospi towardzero m68k96 0x3.ffffffffffffep+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward m68k96 0x3.ffffffffffffep+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward binary128 0x3.ffffffffffffep+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest binary128 0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
-= cospi towardzero binary128 0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
-= cospi upward binary128 0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
-= cospi downward ibm128 0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
+= cospi towardzero binary128 0x3.ffffffffffffep+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward binary128 0x3.ffffffffffffep+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward ibm128 0x3.ffffffffffffep+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest ibm128 0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
-= cospi towardzero ibm128 0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
-= cospi upward ibm128 0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
-= cospi downward intel96 0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
+= cospi towardzero ibm128 0x3.ffffffffffffep+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward ibm128 0x3.ffffffffffffep+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward intel96 0x3.fffffffffffffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest intel96 0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
-= cospi towardzero intel96 0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
-= cospi upward intel96 0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
-= cospi downward m68k96 0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
+= cospi towardzero intel96 0x3.fffffffffffffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward intel96 0x3.fffffffffffffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward m68k96 0x3.fffffffffffffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest m68k96 0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
-= cospi towardzero m68k96 0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
-= cospi upward m68k96 0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
-= cospi downward binary128 0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
+= cospi towardzero m68k96 0x3.fffffffffffffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward m68k96 0x3.fffffffffffffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward binary128 0x3.fffffffffffffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest binary128 0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
-= cospi towardzero binary128 0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
-= cospi upward binary128 0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
-= cospi downward ibm128 0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
+= cospi towardzero binary128 0x3.fffffffffffffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward binary128 0x3.fffffffffffffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward ibm128 0x3.fffffffffffffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest ibm128 0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
-= cospi towardzero ibm128 0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
-= cospi upward ibm128 0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
-= cospi downward binary128 0x3.fffffffffffffffffffffffffff6p+108 : -0x6.1f78a9abaa58b4698916152cf7fp-4 : inexact-ok
+= cospi towardzero ibm128 0x3.fffffffffffffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward ibm128 0x3.fffffffffffffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward binary128 0x3.fffffffffffffffffffffffffff6p+108 : -0x6.1f78a9abaa58b4698916152cf7fp-4 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest binary128 0x3.fffffffffffffffffffffffffff6p+108 : -0x6.1f78a9abaa58b4698916152cf7fp-4 : inexact-ok
-= cospi towardzero binary128 0x3.fffffffffffffffffffffffffff6p+108 : -0x6.1f78a9abaa58b4698916152cf7ecp-4 : inexact-ok
-= cospi upward binary128 0x3.fffffffffffffffffffffffffff6p+108 : -0x6.1f78a9abaa58b4698916152cf7ecp-4 : inexact-ok
-= cospi downward binary128 0x3.ffffffffffffffffffffffffffp+108 : 0x1p+0 : inexact-ok
+= cospi towardzero binary128 0x3.fffffffffffffffffffffffffff6p+108 : -0x6.1f78a9abaa58b4698916152cf7ecp-4 : xfail:ibm128-libgcc inexact-ok
+= cospi upward binary128 0x3.fffffffffffffffffffffffffff6p+108 : -0x6.1f78a9abaa58b4698916152cf7ecp-4 : xfail:ibm128-libgcc inexact-ok
+= cospi downward binary128 0x3.ffffffffffffffffffffffffffp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest binary128 0x3.ffffffffffffffffffffffffffp+108 : 0x1p+0 : inexact-ok
-= cospi towardzero binary128 0x3.ffffffffffffffffffffffffffp+108 : 0x1p+0 : inexact-ok
-= cospi upward binary128 0x3.ffffffffffffffffffffffffffp+108 : 0x1p+0 : inexact-ok
-= cospi downward ibm128 0x3.ffffffffffffffffffffffffffp+108 : 0x1p+0 : inexact-ok
+= cospi towardzero binary128 0x3.ffffffffffffffffffffffffffp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward binary128 0x3.ffffffffffffffffffffffffffp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward ibm128 0x3.ffffffffffffffffffffffffffp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest ibm128 0x3.ffffffffffffffffffffffffffp+108 : 0x1p+0 : inexact-ok
-= cospi towardzero ibm128 0x3.ffffffffffffffffffffffffffp+108 : 0x1p+0 : inexact-ok
-= cospi upward ibm128 0x3.ffffffffffffffffffffffffffp+108 : 0x1p+0 : inexact-ok
-cospi -0x3fffffffffffffffffffffffffff.6p0
-= cospi downward binary32 -0x3.fffffcp+108 : 0x1p+0 : inexact-ok
+= cospi towardzero ibm128 0x3.ffffffffffffffffffffffffffp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward ibm128 0x3.ffffffffffffffffffffffffffp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+cospi -0x3fffffffffffffffffffffffffff.6p0 xfail-rounding:ibm128-libgcc
+= cospi downward binary32 -0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest binary32 -0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi towardzero binary32 -0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi upward binary32 -0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi downward binary64 -0x3.fffffcp+108 : 0x1p+0 : inexact-ok
+= cospi towardzero binary32 -0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward binary32 -0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward binary64 -0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest binary64 -0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi towardzero binary64 -0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi upward binary64 -0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi downward intel96 -0x3.fffffcp+108 : 0x1p+0 : inexact-ok
+= cospi towardzero binary64 -0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward binary64 -0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward intel96 -0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest intel96 -0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi towardzero intel96 -0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi upward intel96 -0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi downward m68k96 -0x3.fffffcp+108 : 0x1p+0 : inexact-ok
+= cospi towardzero intel96 -0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward intel96 -0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward m68k96 -0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest m68k96 -0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi towardzero m68k96 -0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi upward m68k96 -0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi downward binary128 -0x3.fffffcp+108 : 0x1p+0 : inexact-ok
+= cospi towardzero m68k96 -0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward m68k96 -0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward binary128 -0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest binary128 -0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi towardzero binary128 -0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi upward binary128 -0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi downward ibm128 -0x3.fffffcp+108 : 0x1p+0 : inexact-ok
+= cospi towardzero binary128 -0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward binary128 -0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward ibm128 -0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest ibm128 -0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi towardzero ibm128 -0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi upward ibm128 -0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi downward binary32 -0x4p+108 : 0x1p+0 : inexact-ok
+= cospi towardzero ibm128 -0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward ibm128 -0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward binary32 -0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest binary32 -0x4p+108 : 0x1p+0 : inexact-ok
-= cospi towardzero binary32 -0x4p+108 : 0x1p+0 : inexact-ok
-= cospi upward binary32 -0x4p+108 : 0x1p+0 : inexact-ok
-= cospi downward binary64 -0x4p+108 : 0x1p+0 : inexact-ok
+= cospi towardzero binary32 -0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward binary32 -0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward binary64 -0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest binary64 -0x4p+108 : 0x1p+0 : inexact-ok
-= cospi towardzero binary64 -0x4p+108 : 0x1p+0 : inexact-ok
-= cospi upward binary64 -0x4p+108 : 0x1p+0 : inexact-ok
-= cospi downward intel96 -0x4p+108 : 0x1p+0 : inexact-ok
+= cospi towardzero binary64 -0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward binary64 -0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward intel96 -0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest intel96 -0x4p+108 : 0x1p+0 : inexact-ok
-= cospi towardzero intel96 -0x4p+108 : 0x1p+0 : inexact-ok
-= cospi upward intel96 -0x4p+108 : 0x1p+0 : inexact-ok
-= cospi downward m68k96 -0x4p+108 : 0x1p+0 : inexact-ok
+= cospi towardzero intel96 -0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward intel96 -0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward m68k96 -0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest m68k96 -0x4p+108 : 0x1p+0 : inexact-ok
-= cospi towardzero m68k96 -0x4p+108 : 0x1p+0 : inexact-ok
-= cospi upward m68k96 -0x4p+108 : 0x1p+0 : inexact-ok
-= cospi downward binary128 -0x4p+108 : 0x1p+0 : inexact-ok
+= cospi towardzero m68k96 -0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward m68k96 -0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward binary128 -0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest binary128 -0x4p+108 : 0x1p+0 : inexact-ok
-= cospi towardzero binary128 -0x4p+108 : 0x1p+0 : inexact-ok
-= cospi upward binary128 -0x4p+108 : 0x1p+0 : inexact-ok
-= cospi downward ibm128 -0x4p+108 : 0x1p+0 : inexact-ok
+= cospi towardzero binary128 -0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward binary128 -0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward ibm128 -0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest ibm128 -0x4p+108 : 0x1p+0 : inexact-ok
-= cospi towardzero ibm128 -0x4p+108 : 0x1p+0 : inexact-ok
-= cospi upward ibm128 -0x4p+108 : 0x1p+0 : inexact-ok
-= cospi downward binary64 -0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
+= cospi towardzero ibm128 -0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward ibm128 -0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward binary64 -0x3.ffffffffffffep+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest binary64 -0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
-= cospi towardzero binary64 -0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
-= cospi upward binary64 -0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
-= cospi downward intel96 -0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
+= cospi towardzero binary64 -0x3.ffffffffffffep+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward binary64 -0x3.ffffffffffffep+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward intel96 -0x3.ffffffffffffep+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest intel96 -0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
-= cospi towardzero intel96 -0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
-= cospi upward intel96 -0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
-= cospi downward m68k96 -0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
+= cospi towardzero intel96 -0x3.ffffffffffffep+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward intel96 -0x3.ffffffffffffep+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward m68k96 -0x3.ffffffffffffep+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest m68k96 -0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
-= cospi towardzero m68k96 -0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
-= cospi upward m68k96 -0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
-= cospi downward binary128 -0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
+= cospi towardzero m68k96 -0x3.ffffffffffffep+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward m68k96 -0x3.ffffffffffffep+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward binary128 -0x3.ffffffffffffep+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest binary128 -0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
-= cospi towardzero binary128 -0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
-= cospi upward binary128 -0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
-= cospi downward ibm128 -0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
+= cospi towardzero binary128 -0x3.ffffffffffffep+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward binary128 -0x3.ffffffffffffep+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward ibm128 -0x3.ffffffffffffep+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest ibm128 -0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
-= cospi towardzero ibm128 -0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
-= cospi upward ibm128 -0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
-= cospi downward intel96 -0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
+= cospi towardzero ibm128 -0x3.ffffffffffffep+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward ibm128 -0x3.ffffffffffffep+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward intel96 -0x3.fffffffffffffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest intel96 -0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
-= cospi towardzero intel96 -0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
-= cospi upward intel96 -0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
-= cospi downward m68k96 -0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
+= cospi towardzero intel96 -0x3.fffffffffffffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward intel96 -0x3.fffffffffffffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward m68k96 -0x3.fffffffffffffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest m68k96 -0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
-= cospi towardzero m68k96 -0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
-= cospi upward m68k96 -0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
-= cospi downward binary128 -0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
+= cospi towardzero m68k96 -0x3.fffffffffffffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward m68k96 -0x3.fffffffffffffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward binary128 -0x3.fffffffffffffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest binary128 -0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
-= cospi towardzero binary128 -0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
-= cospi upward binary128 -0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
-= cospi downward ibm128 -0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
+= cospi towardzero binary128 -0x3.fffffffffffffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward binary128 -0x3.fffffffffffffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward ibm128 -0x3.fffffffffffffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest ibm128 -0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
-= cospi towardzero ibm128 -0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
-= cospi upward ibm128 -0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
-= cospi downward binary128 -0x3.fffffffffffffffffffffffffff6p+108 : -0x6.1f78a9abaa58b4698916152cf7fp-4 : inexact-ok
+= cospi towardzero ibm128 -0x3.fffffffffffffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward ibm128 -0x3.fffffffffffffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward binary128 -0x3.fffffffffffffffffffffffffff6p+108 : -0x6.1f78a9abaa58b4698916152cf7fp-4 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest binary128 -0x3.fffffffffffffffffffffffffff6p+108 : -0x6.1f78a9abaa58b4698916152cf7fp-4 : inexact-ok
-= cospi towardzero binary128 -0x3.fffffffffffffffffffffffffff6p+108 : -0x6.1f78a9abaa58b4698916152cf7ecp-4 : inexact-ok
-= cospi upward binary128 -0x3.fffffffffffffffffffffffffff6p+108 : -0x6.1f78a9abaa58b4698916152cf7ecp-4 : inexact-ok
-= cospi downward binary128 -0x3.ffffffffffffffffffffffffffp+108 : 0x1p+0 : inexact-ok
+= cospi towardzero binary128 -0x3.fffffffffffffffffffffffffff6p+108 : -0x6.1f78a9abaa58b4698916152cf7ecp-4 : xfail:ibm128-libgcc inexact-ok
+= cospi upward binary128 -0x3.fffffffffffffffffffffffffff6p+108 : -0x6.1f78a9abaa58b4698916152cf7ecp-4 : xfail:ibm128-libgcc inexact-ok
+= cospi downward binary128 -0x3.ffffffffffffffffffffffffffp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest binary128 -0x3.ffffffffffffffffffffffffffp+108 : 0x1p+0 : inexact-ok
-= cospi towardzero binary128 -0x3.ffffffffffffffffffffffffffp+108 : 0x1p+0 : inexact-ok
-= cospi upward binary128 -0x3.ffffffffffffffffffffffffffp+108 : 0x1p+0 : inexact-ok
-= cospi downward ibm128 -0x3.ffffffffffffffffffffffffffp+108 : 0x1p+0 : inexact-ok
+= cospi towardzero binary128 -0x3.ffffffffffffffffffffffffffp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward binary128 -0x3.ffffffffffffffffffffffffffp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward ibm128 -0x3.ffffffffffffffffffffffffffp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest ibm128 -0x3.ffffffffffffffffffffffffffp+108 : 0x1p+0 : inexact-ok
-= cospi towardzero ibm128 -0x3.ffffffffffffffffffffffffffp+108 : 0x1p+0 : inexact-ok
-= cospi upward ibm128 -0x3.ffffffffffffffffffffffffffp+108 : 0x1p+0 : inexact-ok
-cospi 0x3fffffffffffffffffffffffffff.ap0
-= cospi downward binary32 0x4p+108 : 0x1p+0 : inexact-ok
+= cospi towardzero ibm128 -0x3.ffffffffffffffffffffffffffp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward ibm128 -0x3.ffffffffffffffffffffffffffp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+cospi 0x3fffffffffffffffffffffffffff.ap0 xfail-rounding:ibm128-libgcc
+= cospi downward binary32 0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest binary32 0x4p+108 : 0x1p+0 : inexact-ok
-= cospi towardzero binary32 0x4p+108 : 0x1p+0 : inexact-ok
-= cospi upward binary32 0x4p+108 : 0x1p+0 : inexact-ok
-= cospi downward binary64 0x4p+108 : 0x1p+0 : inexact-ok
+= cospi towardzero binary32 0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward binary32 0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward binary64 0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest binary64 0x4p+108 : 0x1p+0 : inexact-ok
-= cospi towardzero binary64 0x4p+108 : 0x1p+0 : inexact-ok
-= cospi upward binary64 0x4p+108 : 0x1p+0 : inexact-ok
-= cospi downward intel96 0x4p+108 : 0x1p+0 : inexact-ok
+= cospi towardzero binary64 0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward binary64 0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward intel96 0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest intel96 0x4p+108 : 0x1p+0 : inexact-ok
-= cospi towardzero intel96 0x4p+108 : 0x1p+0 : inexact-ok
-= cospi upward intel96 0x4p+108 : 0x1p+0 : inexact-ok
-= cospi downward m68k96 0x4p+108 : 0x1p+0 : inexact-ok
+= cospi towardzero intel96 0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward intel96 0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward m68k96 0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest m68k96 0x4p+108 : 0x1p+0 : inexact-ok
-= cospi towardzero m68k96 0x4p+108 : 0x1p+0 : inexact-ok
-= cospi upward m68k96 0x4p+108 : 0x1p+0 : inexact-ok
-= cospi downward binary128 0x4p+108 : 0x1p+0 : inexact-ok
+= cospi towardzero m68k96 0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward m68k96 0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward binary128 0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest binary128 0x4p+108 : 0x1p+0 : inexact-ok
-= cospi towardzero binary128 0x4p+108 : 0x1p+0 : inexact-ok
-= cospi upward binary128 0x4p+108 : 0x1p+0 : inexact-ok
-= cospi downward ibm128 0x4p+108 : 0x1p+0 : inexact-ok
+= cospi towardzero binary128 0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward binary128 0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward ibm128 0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest ibm128 0x4p+108 : 0x1p+0 : inexact-ok
-= cospi towardzero ibm128 0x4p+108 : 0x1p+0 : inexact-ok
-= cospi upward ibm128 0x4p+108 : 0x1p+0 : inexact-ok
-= cospi downward binary32 0x3.fffffcp+108 : 0x1p+0 : inexact-ok
+= cospi towardzero ibm128 0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward ibm128 0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward binary32 0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest binary32 0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi towardzero binary32 0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi upward binary32 0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi downward binary64 0x3.fffffcp+108 : 0x1p+0 : inexact-ok
+= cospi towardzero binary32 0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward binary32 0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward binary64 0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest binary64 0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi towardzero binary64 0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi upward binary64 0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi downward intel96 0x3.fffffcp+108 : 0x1p+0 : inexact-ok
+= cospi towardzero binary64 0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward binary64 0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward intel96 0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest intel96 0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi towardzero intel96 0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi upward intel96 0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi downward m68k96 0x3.fffffcp+108 : 0x1p+0 : inexact-ok
+= cospi towardzero intel96 0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward intel96 0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward m68k96 0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest m68k96 0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi towardzero m68k96 0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi upward m68k96 0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi downward binary128 0x3.fffffcp+108 : 0x1p+0 : inexact-ok
+= cospi towardzero m68k96 0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward m68k96 0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward binary128 0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest binary128 0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi towardzero binary128 0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi upward binary128 0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi downward ibm128 0x3.fffffcp+108 : 0x1p+0 : inexact-ok
+= cospi towardzero binary128 0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward binary128 0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward ibm128 0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest ibm128 0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi towardzero ibm128 0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi upward ibm128 0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi downward binary64 0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
+= cospi towardzero ibm128 0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward ibm128 0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward binary64 0x3.ffffffffffffep+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest binary64 0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
-= cospi towardzero binary64 0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
-= cospi upward binary64 0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
-= cospi downward intel96 0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
+= cospi towardzero binary64 0x3.ffffffffffffep+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward binary64 0x3.ffffffffffffep+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward intel96 0x3.ffffffffffffep+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest intel96 0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
-= cospi towardzero intel96 0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
-= cospi upward intel96 0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
-= cospi downward m68k96 0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
+= cospi towardzero intel96 0x3.ffffffffffffep+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward intel96 0x3.ffffffffffffep+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward m68k96 0x3.ffffffffffffep+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest m68k96 0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
-= cospi towardzero m68k96 0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
-= cospi upward m68k96 0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
-= cospi downward binary128 0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
+= cospi towardzero m68k96 0x3.ffffffffffffep+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward m68k96 0x3.ffffffffffffep+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward binary128 0x3.ffffffffffffep+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest binary128 0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
-= cospi towardzero binary128 0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
-= cospi upward binary128 0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
-= cospi downward ibm128 0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
+= cospi towardzero binary128 0x3.ffffffffffffep+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward binary128 0x3.ffffffffffffep+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward ibm128 0x3.ffffffffffffep+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest ibm128 0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
-= cospi towardzero ibm128 0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
-= cospi upward ibm128 0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
-= cospi downward intel96 0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
+= cospi towardzero ibm128 0x3.ffffffffffffep+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward ibm128 0x3.ffffffffffffep+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward intel96 0x3.fffffffffffffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest intel96 0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
-= cospi towardzero intel96 0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
-= cospi upward intel96 0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
-= cospi downward m68k96 0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
+= cospi towardzero intel96 0x3.fffffffffffffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward intel96 0x3.fffffffffffffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward m68k96 0x3.fffffffffffffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest m68k96 0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
-= cospi towardzero m68k96 0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
-= cospi upward m68k96 0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
-= cospi downward binary128 0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
+= cospi towardzero m68k96 0x3.fffffffffffffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward m68k96 0x3.fffffffffffffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward binary128 0x3.fffffffffffffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest binary128 0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
-= cospi towardzero binary128 0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
-= cospi upward binary128 0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
-= cospi downward ibm128 0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
+= cospi towardzero binary128 0x3.fffffffffffffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward binary128 0x3.fffffffffffffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward ibm128 0x3.fffffffffffffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest ibm128 0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
-= cospi towardzero ibm128 0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
-= cospi upward ibm128 0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
-= cospi downward binary128 0x3.fffffffffffffffffffffffffffap+108 : 0x6.1f78a9abaa58b4698916152cf7ecp-4 : inexact-ok
+= cospi towardzero ibm128 0x3.fffffffffffffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward ibm128 0x3.fffffffffffffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward binary128 0x3.fffffffffffffffffffffffffffap+108 : 0x6.1f78a9abaa58b4698916152cf7ecp-4 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest binary128 0x3.fffffffffffffffffffffffffffap+108 : 0x6.1f78a9abaa58b4698916152cf7fp-4 : inexact-ok
-= cospi towardzero binary128 0x3.fffffffffffffffffffffffffffap+108 : 0x6.1f78a9abaa58b4698916152cf7ecp-4 : inexact-ok
-= cospi upward binary128 0x3.fffffffffffffffffffffffffffap+108 : 0x6.1f78a9abaa58b4698916152cf7fp-4 : inexact-ok
-= cospi downward binary128 0x3.ffffffffffffffffffffffffffp+108 : 0x1p+0 : inexact-ok
+= cospi towardzero binary128 0x3.fffffffffffffffffffffffffffap+108 : 0x6.1f78a9abaa58b4698916152cf7ecp-4 : xfail:ibm128-libgcc inexact-ok
+= cospi upward binary128 0x3.fffffffffffffffffffffffffffap+108 : 0x6.1f78a9abaa58b4698916152cf7fp-4 : xfail:ibm128-libgcc inexact-ok
+= cospi downward binary128 0x3.ffffffffffffffffffffffffffp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest binary128 0x3.ffffffffffffffffffffffffffp+108 : 0x1p+0 : inexact-ok
-= cospi towardzero binary128 0x3.ffffffffffffffffffffffffffp+108 : 0x1p+0 : inexact-ok
-= cospi upward binary128 0x3.ffffffffffffffffffffffffffp+108 : 0x1p+0 : inexact-ok
-= cospi downward ibm128 0x3.ffffffffffffffffffffffffffp+108 : 0x1p+0 : inexact-ok
+= cospi towardzero binary128 0x3.ffffffffffffffffffffffffffp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward binary128 0x3.ffffffffffffffffffffffffffp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward ibm128 0x3.ffffffffffffffffffffffffffp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest ibm128 0x3.ffffffffffffffffffffffffffp+108 : 0x1p+0 : inexact-ok
-= cospi towardzero ibm128 0x3.ffffffffffffffffffffffffffp+108 : 0x1p+0 : inexact-ok
-= cospi upward ibm128 0x3.ffffffffffffffffffffffffffp+108 : 0x1p+0 : inexact-ok
-cospi -0x3fffffffffffffffffffffffffff.ap0
-= cospi downward binary32 -0x3.fffffcp+108 : 0x1p+0 : inexact-ok
+= cospi towardzero ibm128 0x3.ffffffffffffffffffffffffffp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward ibm128 0x3.ffffffffffffffffffffffffffp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+cospi -0x3fffffffffffffffffffffffffff.ap0 xfail-rounding:ibm128-libgcc
+= cospi downward binary32 -0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest binary32 -0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi towardzero binary32 -0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi upward binary32 -0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi downward binary64 -0x3.fffffcp+108 : 0x1p+0 : inexact-ok
+= cospi towardzero binary32 -0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward binary32 -0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward binary64 -0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest binary64 -0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi towardzero binary64 -0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi upward binary64 -0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi downward intel96 -0x3.fffffcp+108 : 0x1p+0 : inexact-ok
+= cospi towardzero binary64 -0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward binary64 -0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward intel96 -0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest intel96 -0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi towardzero intel96 -0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi upward intel96 -0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi downward m68k96 -0x3.fffffcp+108 : 0x1p+0 : inexact-ok
+= cospi towardzero intel96 -0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward intel96 -0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward m68k96 -0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest m68k96 -0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi towardzero m68k96 -0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi upward m68k96 -0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi downward binary128 -0x3.fffffcp+108 : 0x1p+0 : inexact-ok
+= cospi towardzero m68k96 -0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward m68k96 -0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward binary128 -0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest binary128 -0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi towardzero binary128 -0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi upward binary128 -0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi downward ibm128 -0x3.fffffcp+108 : 0x1p+0 : inexact-ok
+= cospi towardzero binary128 -0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward binary128 -0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward ibm128 -0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest ibm128 -0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi towardzero ibm128 -0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi upward ibm128 -0x3.fffffcp+108 : 0x1p+0 : inexact-ok
-= cospi downward binary32 -0x4p+108 : 0x1p+0 : inexact-ok
+= cospi towardzero ibm128 -0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward ibm128 -0x3.fffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward binary32 -0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest binary32 -0x4p+108 : 0x1p+0 : inexact-ok
-= cospi towardzero binary32 -0x4p+108 : 0x1p+0 : inexact-ok
-= cospi upward binary32 -0x4p+108 : 0x1p+0 : inexact-ok
-= cospi downward binary64 -0x4p+108 : 0x1p+0 : inexact-ok
+= cospi towardzero binary32 -0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward binary32 -0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward binary64 -0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest binary64 -0x4p+108 : 0x1p+0 : inexact-ok
-= cospi towardzero binary64 -0x4p+108 : 0x1p+0 : inexact-ok
-= cospi upward binary64 -0x4p+108 : 0x1p+0 : inexact-ok
-= cospi downward intel96 -0x4p+108 : 0x1p+0 : inexact-ok
+= cospi towardzero binary64 -0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward binary64 -0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward intel96 -0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest intel96 -0x4p+108 : 0x1p+0 : inexact-ok
-= cospi towardzero intel96 -0x4p+108 : 0x1p+0 : inexact-ok
-= cospi upward intel96 -0x4p+108 : 0x1p+0 : inexact-ok
-= cospi downward m68k96 -0x4p+108 : 0x1p+0 : inexact-ok
+= cospi towardzero intel96 -0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward intel96 -0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward m68k96 -0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest m68k96 -0x4p+108 : 0x1p+0 : inexact-ok
-= cospi towardzero m68k96 -0x4p+108 : 0x1p+0 : inexact-ok
-= cospi upward m68k96 -0x4p+108 : 0x1p+0 : inexact-ok
-= cospi downward binary128 -0x4p+108 : 0x1p+0 : inexact-ok
+= cospi towardzero m68k96 -0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward m68k96 -0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward binary128 -0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest binary128 -0x4p+108 : 0x1p+0 : inexact-ok
-= cospi towardzero binary128 -0x4p+108 : 0x1p+0 : inexact-ok
-= cospi upward binary128 -0x4p+108 : 0x1p+0 : inexact-ok
-= cospi downward ibm128 -0x4p+108 : 0x1p+0 : inexact-ok
+= cospi towardzero binary128 -0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward binary128 -0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward ibm128 -0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest ibm128 -0x4p+108 : 0x1p+0 : inexact-ok
-= cospi towardzero ibm128 -0x4p+108 : 0x1p+0 : inexact-ok
-= cospi upward ibm128 -0x4p+108 : 0x1p+0 : inexact-ok
-= cospi downward binary64 -0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
+= cospi towardzero ibm128 -0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward ibm128 -0x4p+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward binary64 -0x3.ffffffffffffep+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest binary64 -0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
-= cospi towardzero binary64 -0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
-= cospi upward binary64 -0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
-= cospi downward intel96 -0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
+= cospi towardzero binary64 -0x3.ffffffffffffep+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward binary64 -0x3.ffffffffffffep+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward intel96 -0x3.ffffffffffffep+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest intel96 -0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
-= cospi towardzero intel96 -0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
-= cospi upward intel96 -0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
-= cospi downward m68k96 -0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
+= cospi towardzero intel96 -0x3.ffffffffffffep+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward intel96 -0x3.ffffffffffffep+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward m68k96 -0x3.ffffffffffffep+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest m68k96 -0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
-= cospi towardzero m68k96 -0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
-= cospi upward m68k96 -0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
-= cospi downward binary128 -0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
+= cospi towardzero m68k96 -0x3.ffffffffffffep+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward m68k96 -0x3.ffffffffffffep+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward binary128 -0x3.ffffffffffffep+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest binary128 -0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
-= cospi towardzero binary128 -0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
-= cospi upward binary128 -0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
-= cospi downward ibm128 -0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
+= cospi towardzero binary128 -0x3.ffffffffffffep+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward binary128 -0x3.ffffffffffffep+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward ibm128 -0x3.ffffffffffffep+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest ibm128 -0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
-= cospi towardzero ibm128 -0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
-= cospi upward ibm128 -0x3.ffffffffffffep+108 : 0x1p+0 : inexact-ok
-= cospi downward intel96 -0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
+= cospi towardzero ibm128 -0x3.ffffffffffffep+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward ibm128 -0x3.ffffffffffffep+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward intel96 -0x3.fffffffffffffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest intel96 -0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
-= cospi towardzero intel96 -0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
-= cospi upward intel96 -0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
-= cospi downward m68k96 -0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
+= cospi towardzero intel96 -0x3.fffffffffffffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward intel96 -0x3.fffffffffffffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward m68k96 -0x3.fffffffffffffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest m68k96 -0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
-= cospi towardzero m68k96 -0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
-= cospi upward m68k96 -0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
-= cospi downward binary128 -0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
+= cospi towardzero m68k96 -0x3.fffffffffffffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward m68k96 -0x3.fffffffffffffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward binary128 -0x3.fffffffffffffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest binary128 -0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
-= cospi towardzero binary128 -0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
-= cospi upward binary128 -0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
-= cospi downward ibm128 -0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
+= cospi towardzero binary128 -0x3.fffffffffffffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward binary128 -0x3.fffffffffffffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward ibm128 -0x3.fffffffffffffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest ibm128 -0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
-= cospi towardzero ibm128 -0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
-= cospi upward ibm128 -0x3.fffffffffffffffcp+108 : 0x1p+0 : inexact-ok
-= cospi downward binary128 -0x3.fffffffffffffffffffffffffffap+108 : 0x6.1f78a9abaa58b4698916152cf7ecp-4 : inexact-ok
+= cospi towardzero ibm128 -0x3.fffffffffffffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward ibm128 -0x3.fffffffffffffffcp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward binary128 -0x3.fffffffffffffffffffffffffffap+108 : 0x6.1f78a9abaa58b4698916152cf7ecp-4 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest binary128 -0x3.fffffffffffffffffffffffffffap+108 : 0x6.1f78a9abaa58b4698916152cf7fp-4 : inexact-ok
-= cospi towardzero binary128 -0x3.fffffffffffffffffffffffffffap+108 : 0x6.1f78a9abaa58b4698916152cf7ecp-4 : inexact-ok
-= cospi upward binary128 -0x3.fffffffffffffffffffffffffffap+108 : 0x6.1f78a9abaa58b4698916152cf7fp-4 : inexact-ok
-= cospi downward binary128 -0x3.ffffffffffffffffffffffffffp+108 : 0x1p+0 : inexact-ok
+= cospi towardzero binary128 -0x3.fffffffffffffffffffffffffffap+108 : 0x6.1f78a9abaa58b4698916152cf7ecp-4 : xfail:ibm128-libgcc inexact-ok
+= cospi upward binary128 -0x3.fffffffffffffffffffffffffffap+108 : 0x6.1f78a9abaa58b4698916152cf7fp-4 : xfail:ibm128-libgcc inexact-ok
+= cospi downward binary128 -0x3.ffffffffffffffffffffffffffp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest binary128 -0x3.ffffffffffffffffffffffffffp+108 : 0x1p+0 : inexact-ok
-= cospi towardzero binary128 -0x3.ffffffffffffffffffffffffffp+108 : 0x1p+0 : inexact-ok
-= cospi upward binary128 -0x3.ffffffffffffffffffffffffffp+108 : 0x1p+0 : inexact-ok
-= cospi downward ibm128 -0x3.ffffffffffffffffffffffffffp+108 : 0x1p+0 : inexact-ok
+= cospi towardzero binary128 -0x3.ffffffffffffffffffffffffffp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward binary128 -0x3.ffffffffffffffffffffffffffp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi downward ibm128 -0x3.ffffffffffffffffffffffffffp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
 = cospi tonearest ibm128 -0x3.ffffffffffffffffffffffffffp+108 : 0x1p+0 : inexact-ok
-= cospi towardzero ibm128 -0x3.ffffffffffffffffffffffffffp+108 : 0x1p+0 : inexact-ok
-= cospi upward ibm128 -0x3.ffffffffffffffffffffffffffp+108 : 0x1p+0 : inexact-ok
+= cospi towardzero ibm128 -0x3.ffffffffffffffffffffffffffp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
+= cospi upward ibm128 -0x3.ffffffffffffffffffffffffffp+108 : 0x1p+0 : xfail:ibm128-libgcc inexact-ok
