freebsd-dev/lib/libc/riscv/gen
Kristof Provost 7393b267c6 libc: Provide sub fp(s|g)etmask() implementations for RISC-V
RISC-V doesn't support floating-point exceptions.

RISC-V Instruction Set Manual: Volume I: User-Level ISA, 11.2 Floating-Point
Control and Status Register: "As allowed by the standard, we do not support
traps on floating-point exceptions in the base ISA, but instead require
explicit checks of the flags in software. We considered adding branches
controlled directly by the contents of the floating-point accrued exception
flags, but ultimately chose to omit these instructions to keep the ISA simple."

We still need these functions, because some applications (notably Perl) call
them, but we cannot provide a meaningful implementation.

Sponsored by:	Axiado
Differential Revision:	https://reviews.freebsd.org/D25740
2020-08-03 12:48:51 +00:00
..
_ctx_start.S
_set_tp.c Tidy the _set_tp function for RISC-V. 2020-02-06 21:46:15 +00:00
_setjmp.S Use a single 'ld' to read the jmpbuf magic values instead of 'la; ld'. 2019-12-04 20:50:49 +00:00
fabs.S Replace SOFTFLOAT with __riscv_float_abi_*. 2018-04-19 20:36:15 +00:00
flt_rounds.c Replace SOFTFLOAT with __riscv_float_abi_*. 2018-04-19 20:36:15 +00:00
fpgetmask.c libc: Provide sub fp(s|g)etmask() implementations for RISC-V 2020-08-03 12:48:51 +00:00
fpsetmask.c libc: Provide sub fp(s|g)etmask() implementations for RISC-V 2020-08-03 12:48:51 +00:00
infinity.c
makecontext.c
Makefile.inc libc: Provide sub fp(s|g)etmask() implementations for RISC-V 2020-08-03 12:48:51 +00:00
setjmp.S Check the magic value in longjmp() before calling sigprocmask(). 2020-04-21 17:40:23 +00:00
sigsetjmp.S Use "far" calls and branches so that lld uses valid relocations. 2019-12-04 21:01:13 +00:00