Skip to content
Commit 2ed993ad authored by Zong Li's avatar Zong Li Committed by Alistair Francis
Browse files

RISC-V: Fix llrint and llround missing exceptions on RV32



Conversions from a float to a long long on 32-bit RISC-V (RV32) may not
raise the correct exceptions on overflow, it also may raise spurious
"inexact" exceptions on non overflow cases.  This patch fixes the
problem, similarly to the fix for MIPS, ARM and S390.

Reviewed-by: default avatarMaciej W. Rozycki <macro@wdc.com>
parent b2d175cd
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