glibc/sysdeps
Joseph Myers f792117921 Fix powerpc fesetexceptflag clearing FE_INVALID (bug 20455).
As shown by the test math/test-fexcept, the powerpc fesetexceptflag
implementation fails to clear a previously set FE_INVALID flag, when
that flag is clear in the saved exceptions and FE_INVALID is included
in the mask of flags to restore, because it fails to mask out the
sub-exceptions of FE_INVALID from the FPSCR state.  This patch fixes
the masking logic accordingly.

Tested for powerpc.

	[BZ #20455]
	* sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
	all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
	to be restored.
2016-08-10 21:47:35 +00:00
..
aarch64
alpha
arm Minimize sysdeps code involved in defining major/minor/makedev. 2016-08-03 15:23:04 -04:00
generic Add tests for fegetexceptflag, fesetexceptflag. 2016-08-10 21:01:08 +00:00
gnu Define UDP_ENCAP_* from Linux 4.7 in netinet/udp.h. 2016-08-03 12:13:16 +00:00
hppa
i386
ia64
ieee754 Remove tacit double usage in ldbl-128 2016-08-03 11:01:25 -05:00
init_array
m68k
mach Fix recvmsg returning SIGLOST on PF_LOCAL sockets 2016-08-09 01:42:50 +02:00
microblaze
mips
nacl
nios2
nptl
posix
powerpc Fix powerpc fesetexceptflag clearing FE_INVALID (bug 20455). 2016-08-10 21:47:35 +00:00
pthread
s390
sh
sparc sparc32/sparcv9: add a VIS3 version of fdim 2016-08-05 22:35:01 +02:00
tile
unix x86: Use sysdep.o from libc.a in static libraries 2016-08-04 11:10:57 +02:00
wordsize-32
wordsize-64
x86
x86_64