glibc/ports/sysdeps/mips
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
..
bits Stop MIPS setjmp / longjmp saving / restoring floating-point flags (bug 14909). 2013-06-14 21:42:24 +00:00
fpu MIPS: Correct the handling of reserved FCSR bits 2013-08-22 17:55:17 +01:00
ieee754 Implement fma in soft-fp. 2013-07-02 14:55:32 +00:00
include/sys Add CFI information for MIPS assembly sources. 2013-02-11 18:19:14 +00:00
mips32 Regenerate MIPS ulps. 2013-07-02 21:53:23 +00:00
mips64 Regenerate MIPS ulps. 2013-07-02 21:53:23 +00:00
nptl Add support for building as MIPS16 code. 2013-02-27 23:45:07 +00:00
soft-fp Implement fma in soft-fp. 2013-07-02 14:55:32 +00:00
sys Add support for building as MIPS16 code. 2013-02-27 23:45:07 +00:00
__longjmp.c Stop MIPS setjmp / longjmp saving / restoring floating-point flags (bug 14909). 2013-06-14 21:42:24 +00:00
abort-instr.h Add support for building as MIPS16 code. 2013-02-27 23:45:07 +00:00
add_n.S Use ENTRY and END in more MIPS .S files. 2013-02-08 02:03:10 +00:00
addmul_1.S Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
backtrace.c Move all files into ports/ subdirectory in preparation for merge with glibc 2012-07-01 13:06:41 +00:00
bsd-_setjmp.S Add support for building as MIPS16 code. 2013-02-27 23:45:07 +00:00
bsd-setjmp.S Add support for building as MIPS16 code. 2013-02-27 23:45:07 +00:00
configure Remove TLS configure check for MIPS. 2012-07-17 22:48:57 +00:00
configure.in Remove TLS configure check for MIPS. 2012-07-17 22:48:57 +00:00
dl-dtprocnum.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
dl-lookup.c Avoid crashing in LD_DEBUG when program name is unavailable 2013-05-29 21:34:12 +05:30
dl-machine.h Avoid crashing in LD_DEBUG when program name is unavailable 2013-05-29 21:34:12 +05:30
dl-procinfo.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
dl-procinfo.h Add GLRO(dl_hwcap2) for new AT_HWCAP2 auxv_t a_type. 2013-06-28 16:50:48 -05:00
dl-tls.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
dl-trampoline.c Add support for building as MIPS16 code. 2013-02-27 23:45:07 +00:00
fpregdef.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
fpu_control.h MIPS: Correct the handling of reserved FCSR bits 2013-08-22 17:55:17 +01:00
gccframe.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
Implies Move all files into ports/ subdirectory in preparation for merge with glibc 2012-07-01 13:06:41 +00:00
jmpbuf-unwind.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
ldsodefs.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
libc-tls.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
lshift.S Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
machine-gmon.h Add support for building as MIPS16 code. 2013-02-27 23:45:07 +00:00
Makefile Move all files into ports/ subdirectory in preparation for merge with glibc 2012-07-01 13:06:41 +00:00
math_private.h New <math.h> macro named issignaling to check for a signaling NaN (sNaN). 2013-04-02 13:51:02 +02:00
math-tests.h Add math-tests.h for MIPS. 2013-06-14 20:21:40 +00:00
memcpy.S Fix trailing blank. 2013-01-08 14:41:24 -08:00
memset.S Remove trailing whitespace in ports. 2013-06-05 20:26:40 +00:00
memusage.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
mul_1.S Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
preconfigure Add support for building as MIPS16 code. 2013-02-27 23:45:07 +00:00
regdef.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
rshift.S Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
setjmp_aux.c Stop MIPS setjmp / longjmp saving / restoring floating-point flags (bug 14909). 2013-06-14 21:42:24 +00:00
setjmp.S Add support for building as MIPS16 code. 2013-02-27 23:45:07 +00:00
sgidefs.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
shlib-versions Move all files into ports/ subdirectory in preparation for merge with glibc 2012-07-01 13:06:41 +00:00
sotruss-lib.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
stackinfo.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
start.S Remove trailing whitespace in ports. 2013-06-05 20:26:40 +00:00
sub_n.S Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
submul_1.S Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
tininess.h Fix strtod handling of underflow (bug 14047). 2012-10-30 13:51:27 +00:00
tls-macros.h Add support for building as MIPS16 code. 2013-02-27 23:45:07 +00:00
tst-audit.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00