public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] sparc: Treat the version field in the FPU control word as reserved
@ 2024-02-19 14:16 Adhemerval Zanella
0 siblings, 0 replies; only message in thread
From: Adhemerval Zanella @ 2024-02-19 14:16 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=aa4106db1d6f80e64dcc8818cc07aacd7fabb03e
commit aa4106db1d6f80e64dcc8818cc07aacd7fabb03e
Author: Daniel Cederman <cederman@gaisler.com>
Date: Mon Feb 19 10:55:50 2024 -0300
sparc: Treat the version field in the FPU control word as reserved
The FSR version field is read-only and might be non-zero.
This allows math/test-fpucw* to correctly pass when the version is
non-zero.
Signed-off-by: Daniel Cederman <cederman@gaisler.com>
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diff:
---
sysdeps/sparc/fpu/fpu_control.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sysdeps/sparc/fpu/fpu_control.h b/sysdeps/sparc/fpu/fpu_control.h
index 48368a7ce1..fa11b2ba6e 100644
--- a/sysdeps/sparc/fpu/fpu_control.h
+++ b/sysdeps/sparc/fpu/fpu_control.h
@@ -42,7 +42,7 @@
#define _FPU_RC_ZERO 0x40000000
#define _FPU_RC_NEAREST 0x0 /* RECOMMENDED */
-#define _FPU_RESERVED 0x30300000 /* Reserved bits in cw */
+#define _FPU_RESERVED 0x303e0000 /* Reserved bits in cw */
/* Now two recommended cw */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-02-19 14:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-19 14:16 [glibc] sparc: Treat the version field in the FPU control word as reserved Adhemerval Zanella
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).