Skip to content
Commit a8f7c779 authored by Daniel Cederman's avatar Daniel Cederman Committed by Adhemerval Zanella
Browse files

sparc: Fix llrint and llround missing exceptions on SPARC V8



Conversions from a float to a long long on SPARC v8 uses a libgcc function
that may not raise the correct exceptions on overflow. It also may raise
spurious "inexact" exceptions on non overflow cases. This patch fixes the
problem in the same way as for RV32.

Signed-off-by: default avatarDaniel Cederman <cederman@gaisler.com>
Reviewed-by: default avatarAdhemerval Zanella <adhemerval.zanella@linaro.org>
parent 7bd06985
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment