]> git.ipfire.org Git - thirdparty/glibc.git/commit
RISC-V: Fix llrint and llround missing exceptions on RV32
authorZong Li <zongbox@gmail.com>
Fri, 30 Nov 2018 09:18:20 +0000 (17:18 +0800)
committerAlistair Francis <alistair.francis@wdc.com>
Thu, 16 Jan 2020 22:10:37 +0000 (14:10 -0800)
commit8a49560fb7257a427062ca24f9d07115a7b729f6
tree6dc481a591cea409214cb6e7bbc232d3a5eba5d1
parent1501294ef307fe6dbe6a5d9259d9e8d796abff2f
RISC-V: Fix llrint and llround missing exceptions on RV32

Similar to the fix for MIPS, ARM and S/390, RV32 is missing
correct exception on overflow from llrint and llround functions because
cast from floating-point types to long long do not result in correct
exceptions on overflow.
sysdeps/riscv/rv32/fix-fp-int-convert-overflow.h [new file with mode: 0644]