diff mbox series

Adjust new narrowing div/mul tests for IBM long double, update powerpc ULPs [committed]

Message ID alpine.DEB.2.22.394.2109221236410.29115@digraph.polyomino.org.uk
State Committed
Headers show
Series Adjust new narrowing div/mul tests for IBM long double, update powerpc ULPs [committed] | expand

Commit Message

Joseph Myers Sept. 22, 2021, 12:37 p.m. UTC
Testing for powerpc shows some of the new narrowing div/mul tests need
XFAILing for IBM long double and some ULPs updates are needed for
those tests.

---

Committed.  Diffs to generated files omitted from posted patch.
diff mbox series

Patch

diff --git a/math/auto-libm-test-in b/math/auto-libm-test-in
index 119e2ecb2a..0992344f7f 100644
--- a/math/auto-libm-test-in
+++ b/math/auto-libm-test-in
@@ -4876,14 +4876,14 @@  div 0x1p-126 0x1.0000001p0
 div 0x1p-126 -0x1.0000001p0
 div -0x1p-126 0x1.0000001p0
 div -0x1p-126 -0x1.0000001p0
-div 0x1p-1022 0x1.00000000000001p0
-div 0x1p-1022 -0x1.00000000000001p0
-div -0x1p-1022 0x1.00000000000001p0
-div -0x1p-1022 -0x1.00000000000001p0
-div 0x1p-16382 0x1.00000000000000001p0
-div 0x1p-16382 -0x1.00000000000000001p0
-div -0x1p-16382 0x1.00000000000000001p0
-div -0x1p-16382 -0x1.00000000000000001p0
+div 0x1p-1022 0x1.00000000000001p0 missing-underflow:arg-ibm128
+div 0x1p-1022 -0x1.00000000000001p0 missing-underflow:arg-ibm128
+div -0x1p-1022 0x1.00000000000001p0 missing-underflow:arg-ibm128
+div -0x1p-1022 -0x1.00000000000001p0 missing-underflow:arg-ibm128
+div 0x1p-16382 0x1.00000000000000001p0 missing-underflow:arg-ibm128 xfail-rounding:ibm128-libgcc
+div 0x1p-16382 -0x1.00000000000000001p0 missing-underflow:arg-ibm128 xfail-rounding:ibm128-libgcc
+div -0x1p-16382 0x1.00000000000000001p0 missing-underflow:arg-ibm128 xfail-rounding:ibm128-libgcc
+div -0x1p-16382 -0x1.00000000000000001p0 missing-underflow:arg-ibm128 xfail-rounding:ibm128-libgcc
 
 erf 0
 erf -0
@@ -6666,14 +6666,14 @@  mul 0x0.ffffff8p-126 0x1.0000001p0
 mul 0x0.ffffff8p-126 -0x1.0000001p0
 mul -0x0.ffffff8p-126 0x1.0000001p0
 mul -0x0.ffffff8p-126 -0x1.0000001p0
-mul 0x0.fffffffffffffcp-1022 0x1.00000000000001p0
-mul 0x0.fffffffffffffcp-1022 -0x1.00000000000001p0
-mul -0x0.fffffffffffffcp-1022 0x1.00000000000001p0
-mul -0x0.fffffffffffffcp-1022 -0x1.00000000000001p0
-mul 0x0.ffffffffffffffff8p-16382 0x1.00000000000000001p0
-mul 0x0.ffffffffffffffff8p-16382 -0x1.00000000000000001p0
-mul -0x0.ffffffffffffffff8p-16382 0x1.00000000000000001p0
-mul -0x0.ffffffffffffffff8p-16382 -0x1.00000000000000001p0
+mul 0x0.fffffffffffffcp-1022 0x1.00000000000001p0 missing-underflow:arg-ibm128
+mul 0x0.fffffffffffffcp-1022 -0x1.00000000000001p0 missing-underflow:arg-ibm128
+mul -0x0.fffffffffffffcp-1022 0x1.00000000000001p0 missing-underflow:arg-ibm128
+mul -0x0.fffffffffffffcp-1022 -0x1.00000000000001p0 missing-underflow:arg-ibm128
+mul 0x0.ffffffffffffffff8p-16382 0x1.00000000000000001p0 missing-underflow:arg-ibm128
+mul 0x0.ffffffffffffffff8p-16382 -0x1.00000000000000001p0 missing-underflow:arg-ibm128
+mul -0x0.ffffffffffffffff8p-16382 0x1.00000000000000001p0 missing-underflow:arg-ibm128
+mul -0x0.ffffffffffffffff8p-16382 -0x1.00000000000000001p0 missing-underflow:arg-ibm128
 
 pow 0 0
 pow 0 -0
diff --git a/sysdeps/powerpc/fpu/libm-test-ulps b/sysdeps/powerpc/fpu/libm-test-ulps
index a605aebfc5..fda4ca4106 100644
--- a/sysdeps/powerpc/fpu/libm-test-ulps
+++ b/sysdeps/powerpc/fpu/libm-test-ulps
@@ -1103,6 +1103,9 @@  ldouble: 10
 Function: "div_ldouble":
 float: 1
 
+Function: "div_towardzero_ldouble":
+double: 1
+
 Function: "erf":
 double: 1
 float: 1