History log of /openbsd/lib/libc/arch/riscv64/gen/fpsetmask.c (Results 1 – 3 of 3)
Revision Date Author Comments
# a80d07ad 30-Apr-2021 drahn <drahn@openbsd.org>

Fix linkage error due to fp* functions.
ok kettenis@


# 4cf001dc 29-Apr-2021 kettenis <kettenis@openbsd.org>

Clean up <machine/ieeefp.h> and make sure the rounding mode bits match the
hardware. Implement fp[gs]etround(3) and fp[gs]etsticky(3) and tweak
the fp[gs]etmask(3) implementation to provide the righ

Clean up <machine/ieeefp.h> and make sure the rounding mode bits match the
hardware. Implement fp[gs]etround(3) and fp[gs]etsticky(3) and tweak
the fp[gs]etmask(3) implementation to provide the right weak symbols.
This implementation deliberately ignores the additional
"round to nearest, away from zero" as this interface is derived from
i386-specific code and the i387 FPU doesn't implement such a rounding
mode. This is a legacy API and code should use <fenv.h> instead.

ok drahn@

show more ...


# 880dfc56 28-Apr-2021 kettenis <kettenis@openbsd.org>

RISC-V does not implement trapping of floating point exceptions, so use
the same dummy fpgetmask(3) and fpsetmask(3) implementation as arm64.

ok drahn@