public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] regenerate ulps on x86_64 with -march=native
@ 2021-04-28  7:01 Paul Zimmermann
  2021-04-28  8:27 ` Florian Weimer
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Zimmermann @ 2021-04-28  7:01 UTC (permalink / raw)
  To: libc-alpha

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(-)

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
-- 
2.30.2


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] regenerate ulps on x86_64 with -march=native
  2021-04-28  7:01 [PATCH] regenerate ulps on x86_64 with -march=native Paul Zimmermann
@ 2021-04-28  8:27 ` Florian Weimer
  2021-04-28  9:03   ` Paul Zimmermann
  0 siblings, 1 reply; 3+ messages in thread
From: Florian Weimer @ 2021-04-28  8:27 UTC (permalink / raw)
  To: Paul Zimmermann; +Cc: libc-alpha

* 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] regenerate ulps on x86_64 with -march=native
  2021-04-28  8:27 ` Florian Weimer
@ 2021-04-28  9:03   ` Paul Zimmermann
  0 siblings, 0 replies; 3+ messages in thread
From: Paul Zimmermann @ 2021-04-28  9:03 UTC (permalink / raw)
  To: Florian Weimer; +Cc: libc-alpha

       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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-04-28  9:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-28  7:01 [PATCH] regenerate ulps on x86_64 with -march=native Paul Zimmermann
2021-04-28  8:27 ` Florian Weimer
2021-04-28  9:03   ` Paul Zimmermann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).