[v2] regenerate ulps on x86_64 with -march=native

Message ID 20210428090200.2162693-1-Paul.Zimmermann@inria.fr
State New
Headers show
Series
  • [v2] regenerate ulps on x86_64 with -march=native
Related show

Commit Message

Paul Zimmermann April 28, 2021, 9:02 a.m.
On x86_64, when configuring glibc with CFLAGS="-O2 -g -march=native",
some tests fail. After this patch, "make check" succeeds.

Tested on Intel Core i5-4590 with gcc 10.2.1.

---
 sysdeps/x86_64/fpu/libm-test-ulps | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

-- 
2.30.2

Comments

Florian Weimer via Libc-alpha April 28, 2021, 9:30 a.m. | #1
* Paul Zimmermann:

> On x86_64, when configuring glibc with CFLAGS="-O2 -g -march=native",

> some tests fail. After this patch, "make check" succeeds.

>

> Tested on Intel Core i5-4590 with gcc 10.2.1.


Thanks, please commit.

Florian

Patch

diff --git a/sysdeps/x86_64/fpu/libm-test-ulps b/sysdeps/x86_64/fpu/libm-test-ulps
index c621a03268..312575f933 100644
--- a/sysdeps/x86_64/fpu/libm-test-ulps
+++ b/sysdeps/x86_64/fpu/libm-test-ulps
@@ -1316,19 +1316,19 @@  float128: 1
 ldouble: 1
 
 Function: "j0":
-double: 2
+double: 3
 float: 9
 float128: 2
 ldouble: 8
 
 Function: "j0_downward":
-double: 5
+double: 6
 float: 9
 float128: 9
 ldouble: 6
 
 Function: "j0_towardzero":
-double: 6
+double: 7
 float: 9
 float128: 9
 ldouble: 6