mirror of
git://sourceware.org/git/glibc.git
synced 2025-01-30 12:31:53 +08:00
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>
This commit is contained in:
parent
88b771ab5e
commit
aa4106db1d
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user