]> git.ipfire.org Git - thirdparty/glibc.git/commit
sparc: Treat the version field in the FPU control word as reserved
authorDaniel Cederman <cederman@gaisler.com>
Mon, 19 Feb 2024 13:55:50 +0000 (10:55 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 19 Feb 2024 13:55:50 +0000 (10:55 -0300)
commitaa4106db1d6f80e64dcc8818cc07aacd7fabb03e
treee88bad316331e3fd9de7788a0431dfa7e9ab96df
parent88b771ab5e1169e746dbf4a990d90cffc5fa54ea
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>
sysdeps/sparc/fpu/fpu_control.h