opnsense-src/lib/libc/powerpcspe/gen
Brandon Bergren 8b96d6ac04 [PowerPC] [PowerPCSPE] Fix multiple issues in fpsetmask().
Building R on powerpc64 exposed a problem in fpsetmask() whereby we
were not properly clamping the provided mask to the valid range.

This same issue affects powerpc and powerpcspe.

Properly limit the range of bits that can be set via fpsetmask().

While here, use the correct fp_except_t type instead of fp_rnd_t.

Reported by:	pkubaj, jhibbits (in IRC)
Sponsored by:	Tag1 Consulting, Inc.

(cherry picked from commit 384ee7cc6e)
2021-03-08 12:39:33 -06:00
..
_setjmp.S
fabs.S Fix fabs(3) for powerpcspe, this time for real 2018-07-26 14:42:20 +00:00
flt_rounds.c
fpgetmask.c Fix floating point exception definitions for powerpcspe 2018-07-24 22:04:56 +00:00
fpgetround.c
fpgetsticky.c
fpsetmask.c [PowerPC] [PowerPCSPE] Fix multiple issues in fpsetmask(). 2021-03-08 12:39:33 -06:00
fpsetround.c [PowerPC] Fix SPE floating point environment manipulation 2019-12-12 17:12:18 +00:00
Makefile.inc
setjmp.S Fix a copy&paste-o causing a segfault with sigsetjmp. 2016-10-29 01:22:55 +00:00
sigsetjmp.S Fix a copy&paste-o causing a segfault with sigsetjmp. 2016-10-29 01:22:55 +00:00