History log of /netbsd-src/lib/libm/arch/riscv/fenv.c (Results 1 – 5 of 5)
Revision Date Author Comments
# 70dffce5 17-May-2024 riastradh <riastradh@NetBSD.org>

riscv: Make feraiseexcept actually raise the given exceptions.

Doing

fexcept_t ex = 0;
fesetexceptflag(&ex, excepts);

has the effect of _clearing_ all the exceptions in excepts. Using
fesetexce

riscv: Make feraiseexcept actually raise the given exceptions.

Doing

fexcept_t ex = 0;
fesetexceptflag(&ex, excepts);

has the effect of _clearing_ all the exceptions in excepts. Using
fesetexceptflag doesn't make this easier, because we would have to
record which exceptions were already raised. So just set the fflags
bits in the fcsr register directly.

show more ...


# 75b842b8 07-May-2023 skrll <skrll@NetBSD.org>

RISC-V support that works on QEMU with a single hart.

Thanks for Simon Burge for plic(4).


# f9faf20a 03-Sep-2021 andvar <andvar@NetBSD.org>

fix typos in comments, mainly s/extention/extension/ and s/sufficent/sufficient/


# 7e30e943 22-Mar-2017 chs <chs@NetBSD.org>

provide a common softfloat fenv implemenation and use it for softfloat builds.
restore ABI compatibility with previous releases for ieeefp.h on sh3.
add namespace.h protection for all the fenv interf

provide a common softfloat fenv implemenation and use it for softfloat builds.
restore ABI compatibility with previous releases for ieeefp.h on sh3.
add namespace.h protection for all the fenv interfaces.
use MKSOFTFLOAT on sh3 instead of assuming softfloat.
standardize on comparing MKSOFTFLOAT with "no".
remove the arm-specific softfloat fenv code (which also had several bugs).
fix logic errors in the arm hardfloat feraiseexcept() and feupdateenv().

show more ...


# 6cf6fe02 19-Sep-2014 matt <matt@NetBSD.org>

New files for Userland support of UCB RISC-V (both 32-bit and 64-bit)