gcc/libgcc/config
Aurelien Jarno a1b01d3403 [ARM] Fix PR target/59833
For Aurelien Jarno <aurelien@aurel32.net>

On ARM soft-float, the float to double conversion doesn't convert a sNaN
to qNaN as the IEEE Std 754 standard mandates:

"Under default exception handling, any operation signaling an invalid
operation exception and for which a floating-point result is to be
delivered shall deliver a quiet NaN."

Given the soft float ARM code ignores exceptions and always provides a
result, a float to double conversion of a signaling NaN should return a
quiet NaN. Fix this in extendsfdf2.

gcc/ChangeLog:

	PR target/59833
	* config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.

gcc/testsuite/ChangeLog:

	* gcc.dg/pr59833.c: New testcase.

From-SVN: r238584
2016-07-21 08:27:47 +00:00
..
aarch64
alpha
arc
arm [ARM] Fix PR target/59833 2016-07-21 08:27:47 +00:00
avr remove avr-rtems support 2016-06-21 21:57:44 +00:00
bfin
c6x
cr16
cris
epiphany
fr30
frv
ft32
h8300
i386 remove support for the interix target 2016-06-21 21:57:20 +00:00
ia64 * Partially revert my previous commit. 2016-06-14 01:11:27 +02:00
iq2000
libbid
lm32
m32c
m32r
m68k
mcore
microblaze
mips
mmix
moxie
msp430
nds32
nios2
nvptx
pa fptr.c (__canonicalize_funcptr_for_compare): Don't set least-significant bit in function pointer for fixup. 2016-06-18 17:49:58 +00:00
pdp11
rl78
rs6000 _divkc3.c: New. 2016-07-12 16:05:18 +00:00
rx
s390
score
sh
sol2
sparc
spu
stormy16
tilegx
tilepro linux.h: Do not include arch/icache.h 2016-06-28 16:20:58 +00:00
v850
vax
visium
vms
xtensa
darwin-64.c
darwin-crt3.c
darwin-crt-tm.c
gthr-lynx.h
gthr-rtems.h
gthr-vxworks.h
hardfp.c
libgcc-glibc.ver
libgcc-libsystem.ver
no-sfp-machine.h
no-unwind.h
t-crtfm
t-crtstuff-pic
t-darwin
t-dfprules
t-eh-dw2-dip
t-fdpbit
t-fixedpoint-gnu-prefix
t-fpbit
t-freebsd-thread
t-gnu-prefix
t-hardfp
t-hardfp-sfdf
t-libgcc-pic
t-libunwind
t-libunwind-elf
t-linux
t-openbsd-thread
t-rtems
t-slibgcc
t-slibgcc-darwin
t-slibgcc-elf-ver
t-slibgcc-gld
t-slibgcc-gld-nover
t-slibgcc-hpux
t-slibgcc-libgcc
t-slibgcc-nolc-override
t-slibgcc-sld
t-slibgcc-vms
t-softfp
t-softfp-compat
t-softfp-excl
t-softfp-sfdf
t-softfp-sfdftf
t-softfp-tf
t-stack
t-tls
t-vxworks
unwind-dw2-fde-darwin.c
vxlib-tls.c
vxlib.c