glibc/soft-fp
Joseph Myers dc6b5aed1b Fix soft-fp fma for -Wuninitialized.
The soft-fp implementations of fma produce -Wuninitialized warnings
because, in the cases where the result is not a nonzero finite value,
the soft-fp does not set the exponent of the result since the (cooked)
packing will do so, but the compiler does not then see that the
exponent is always set in packing before it's used if it wasn't set
earlier.  This patch uses DIAG_* macros to suppress those warnings.

Tested for mips64.  (In fact this allows the mips64 build to complete
with the -Wno-uninitialized removed from math/Makefile, but more
cleanups are still needed in the ldbl-128ibm code for uninitialized
warnings there.)

	* soft-fp/fmadf4.c: Include <libc-internal.h>.
	(__fma): Ignore uninitialized warnings around packing.
	* soft-fp/fmasf4.c: Include <libc-internal.h>.
	(__fmaf): Ignore uninitialized warnings around packing.
	* soft-fp/fmatf4.c: Include <libc-internal.h>.
	(__fmal): Ignore uninitialized warnings around packing.
2015-05-22 20:28:50 +00:00
..
adddf3.c
addsf3.c
addtf3.c
Banner
divdf3.c
divsf3.c
divtf3.c
double.h soft-fp: Use multiple-include guards. 2015-03-10 00:32:29 +00:00
eqdf2.c
eqsf2.c
eqtf2.c
extenddftf2.c
extended.h soft-fp: Use multiple-include guards. 2015-03-10 00:32:29 +00:00
extendsfdf2.c
extendsftf2.c
extendxftf2.c
fixdfdi.c
fixdfsi.c
fixdfti.c
fixsfdi.c
fixsfsi.c
fixsfti.c
fixtfdi.c
fixtfsi.c
fixtfti.c
fixunsdfdi.c
fixunsdfsi.c
fixunsdfti.c
fixunssfdi.c
fixunssfsi.c
fixunssfti.c
fixunstfdi.c
fixunstfsi.c
fixunstfti.c
floatdidf.c
floatdisf.c
floatditf.c
floatsidf.c
floatsisf.c
floatsitf.c
floattidf.c
floattisf.c
floattitf.c
floatundidf.c
floatundisf.c
floatunditf.c
floatunsidf.c
floatunsisf.c
floatunsitf.c
floatuntidf.c
floatuntisf.c
floatuntitf.c
fmadf4.c Fix soft-fp fma for -Wuninitialized. 2015-05-22 20:28:50 +00:00
fmasf4.c Fix soft-fp fma for -Wuninitialized. 2015-05-22 20:28:50 +00:00
fmatf4.c Fix soft-fp fma for -Wuninitialized. 2015-05-22 20:28:50 +00:00
gedf2.c
gesf2.c
getf2.c
ledf2.c
lesf2.c
letf2.c
Makefile
muldf3.c
mulsf3.c
multf3.c
negdf2.c
negsf2.c
negtf2.c
op-1.h soft-fp: Use multiple-include guards. 2015-03-10 00:32:29 +00:00
op-2.h soft-fp: Define and use _FP_STATIC_ASSERT. 2015-03-12 18:43:21 +00:00
op-4.h soft-fp: Use multiple-include guards. 2015-03-10 00:32:29 +00:00
op-8.h soft-fp: Use multiple-include guards. 2015-03-10 00:32:29 +00:00
op-common.h soft-fp: Fix alpha kernel build problem 2015-05-19 11:23:56 -07:00
quad.h soft-fp: Use multiple-include guards. 2015-03-10 00:32:29 +00:00
single.h soft-fp: Use multiple-include guards. 2015-03-10 00:32:29 +00:00
soft-fp.h soft-fp: Define and use _FP_STATIC_ASSERT. 2015-03-12 18:43:21 +00:00
sqrtdf2.c
sqrtsf2.c
sqrttf2.c
subdf3.c
subsf3.c
subtf3.c
testit.c
truncdfsf2.c
trunctfdf2.c
trunctfsf2.c
trunctfxf2.c
unorddf2.c
unordsf2.c
unordtf2.c