regenerate ulps on x86_64 with -march=native

Message ID 20210428070149.1646620-1-Paul.Zimmermann@inria.fr
State Superseded
Headers
Series regenerate ulps on x86_64 with -march=native |

Commit Message

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

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

Comments

Florian Weimer April 28, 2021, 8:27 a.m. UTC | #1
* Paul Zimmermann:

> On x86_64, when configuring glibc with CFLAGS="-O2 -g -march=native",
> some tests fail. After this patch, "make check" succeeds.

-march=native is not very meaningful without knowing the exact CPU.
Maybe you could include compiler version and CPU model name in the
commit message?  Thanks.

Florian
  
Paul Zimmermann April 28, 2021, 9:03 a.m. UTC | #2
Dear Florian,

> > On x86_64, when configuring glibc with CFLAGS="-O2 -g -march=native",
> > some tests fail. After this patch, "make check" succeeds.
> 
> -march=native is not very meaningful without knowing the exact CPU.
> Maybe you could include compiler version and CPU model name in the
> commit message?  Thanks.

thank you, done in the new version just submitted.

Paul
  

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