Go to file
Joseph Myers fec5f4e041 Make MIPS soft-fp preserve NaN payloads for NAN2008.
The MIPS sfp-machine.h has an _FP_CHOOSENAN implementation which
emulates hardware semantics of not preserving signaling NaN payloads
for an operation with two NaN arguments (although that doesn't suffice
to avoid sNaN payload preservation in any case with just one NaN
argument).

However, those are only hardware semantics in the legacy NaN case; in
the NAN2008 case, the architecture documentation says hardware
preserves payloads in such cases.  Furthermore, this implementation
assumes legacy NaN semantics, so in the NAN2008 case the
implementation actually has the effect of preserving sNaN payloads but
not preserving qNaN payloads, when both should be preserved.

This patch fixes the code just to copy from the first argument (at the
level of libgcc, it's not meaningful which argument is the first and
which is the second).

Tested for mips64-linux-gnu (soft float, NAN2008) with the glibc math/
tests.

	* config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
	payload if [__mips_nan2008].

From-SVN: r244059
2017-01-04 17:06:33 +00:00
config Update configure deps, remove stray \xA0 in picflag.m4, regenerate 2017-01-04 18:59:34 +10:30
contrib
fixincludes
gcc i386.md (HI/SImode test with imm to QImode splitters): Use gen_int_mode instead of gen_lopwart for const_int operands. 2017-01-04 16:42:36 +01:00
gnattools
gotools
include [DWARF] New DWARF operation "DW_OP_AARCH64_operation" for AArch64 2017-01-04 14:25:04 +00:00
INSTALL
intl
libada Update configure deps, remove stray \xA0 in picflag.m4, regenerate 2017-01-04 18:59:34 +10:30
libatomic Update copyright years. 2017-01-01 13:07:43 +01:00
libbacktrace Update copyright years. 2017-01-01 13:07:43 +01:00
libcc1 Update copyright years. 2017-01-04 12:30:51 +01:00
libcilkrts
libcpp * fi.po: Update. 2017-01-04 01:16:16 +00:00
libdecnumber Update copyright years. 2017-01-01 13:07:43 +01:00
libffi
libgcc Make MIPS soft-fp preserve NaN payloads for NAN2008. 2017-01-04 17:06:33 +00:00
libgfortran PR 78534 Revert r244011 2017-01-03 20:01:30 +02:00
libgo runtime: remove __go_alloc and __go_free 2017-01-03 22:58:48 +00:00
libgomp Update copyright years. 2017-01-01 13:07:43 +01:00
libiberty Update copyright years. 2017-01-04 12:30:51 +01:00
libitm Update configure deps, remove stray \xA0 in picflag.m4, regenerate 2017-01-04 18:59:34 +10:30
libmpx
libobjc Update copyright years. 2017-01-01 13:07:43 +01:00
liboffloadmic
libquadmath
libsanitizer
libssp Update copyright years. 2017-01-04 12:30:51 +01:00
libstdc++-v3 PR78968 add configure check for __cxa_thread_atexit in libc 2017-01-04 15:41:19 +00:00
libvtv Update copyright years. 2017-01-04 12:30:51 +01:00
lto-plugin Update copyright years. 2017-01-04 12:30:51 +01:00
maintainer-scripts
zlib
.dir-locals.el
.gitattributes
.gitignore
ABOUT-NLS
ChangeLog Update configure deps, remove stray \xA0 in picflag.m4, regenerate 2017-01-04 18:59:34 +10:30
ChangeLog.jit
ChangeLog.tree-ssa
compile
config-ml.in
config.guess
config.rpath
config.sub
configure Update configure deps, remove stray \xA0 in picflag.m4, regenerate 2017-01-04 18:59:34 +10:30
configure.ac
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
COPYING.RUNTIME
depcomp
install-sh
libtool-ldflags
libtool.m4
lt~obsolete.m4
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
MAINTAINERS
Makefile.def
Makefile.in
Makefile.tpl
missing
mkdep
mkinstalldirs
move-if-change
README
symlink-tree
ylwrap

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the files whose
names start with COPYING for copying permission.  The manuals, and
some of the runtime libraries, are under different terms; see the
individual source files for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs/ for how to report bugs usefully.

Copyright years on GCC source files may be listed using range
notation, e.g., 1987-2012, indicating that every year in the range,
inclusive, is a copyrightable year that could otherwise be listed
individually.