sparc: Force calculation that raises exception
commit45f7ea26c1d9145a9e024b8646592d405fb285e0
authorDaniel Cederman <cederman@gaisler.com>
Tue, 16 Jan 2024 15:16:41 +0000 (16 16:16 +0100)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 18 Jan 2024 11:27:44 +0000 (18 08:27 -0300)
treed9b45287b0ac29b80bff499819fc97fe4492183c
parenta8f7c7797063d465c5b04b4e7c18d6f9d33007cb
sparc: Force calculation that raises exception

Use the math_force_eval() macro to force the calculation to complete and
raise the exception.

With this change the math/test-fenv test pass.

Signed-off-by: Daniel Cederman <cederman@gaisler.com>
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
sysdeps/sparc/fpu/fraiseexcpt.c