glibc/ports/sysdeps
Maciej W. Rozycki b72ca61b71 MIPS: Correct the handling of reserved FCSR bits
Reserved bits in the Floating-Point Control and Status Register (FCSR)
should not be implicitly cleared by fedisableexcept or feenableexcept,
there is no reason to.  Among these are the 8 condition codes and one of
the two bits reserved for architecture implementers (bits #22 & #21).

As to the latter, there is no reason to treat any of them as reserved
either, they should be user controllable and settable via __fpu_control
override as the user sees fit.  For example in processors implemented by
MIPS Technologies, such as the 5Kf or the 24Kf, these bits are used to
change the treatment of denormalised operands and tiny results: bit #22
is Flush Override (FO) and bit #21 is Flush to Nearest (FN).  They cause
non-IEEE-compliant behaviour, but some programs may have a use for such
modes of operation; the library should not obstruct such use just as it
does not for the architectural Flush to Zero (FS) bit (bit #24).

Therefore the change adjusts the reserved mask accordingly and also
documents the distinction between bits 22:21 and 20:18.
2013-08-22 17:55:17 +01:00
..
aarch64 [AArch64] Provide symbol version for _mcount. 2013-07-26 08:29:17 +01:00
alpha alpha: Update libm-test-ulps from scratch 2013-07-02 09:59:50 -07:00
am33 Fix typos. 2013-08-21 19:48:48 +02:00
arm Condition sysdeps/arm/include/bits/setjmp.h contents on _ISOMAC. 2013-07-03 21:59:58 +00:00
hppa Fix typos. 2013-08-21 19:48:48 +02:00
ia64 Fix typos. 2013-08-21 19:48:48 +02:00
m68k Fix typos. 2013-08-21 19:48:48 +02:00
microblaze Fix executable mode. 2013-06-06 02:15:33 +02:00
mips MIPS: Correct the handling of reserved FCSR bits 2013-08-22 17:55:17 +01:00
powerpc PR 15483 2013-08-17 01:24:00 -03:00
tile Fix typos. 2013-08-21 19:48:48 +02:00
unix Fix typos. 2013-08-21 19:48:48 +02:00