Use -mfloat128 for _Float64x tests for powerpc64le.
commit9ae6d171bcaac211248f98a38dfde0b8cb9a1fbb
authorJoseph Myers <joseph@codesourcery.com>
Fri, 24 Nov 2017 23:38:51 +0000 (24 23:38 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Fri, 24 Nov 2017 23:38:51 +0000 (24 23:38 +0000)
tree25b1c45324b238ccb97fd7b7d82db8c324e0eb12
parent6e70d156c71ba94e50e857f6459e34943a094bed
Use -mfloat128 for _Float64x tests for powerpc64le.

Supporting _Float64x on powerpc64le means that tests of that type need
to use -mfloat128 just like tests of _Float128.  This patch adds the
necessary uses of that option.

Tested (compilation only) for powerpc64le with build-many-glibcs.py,
in conjunction with _Float64x support patches.

* sysdeps/powerpc/powerpc64le/Makefile ($(foreach
suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
-mfloat128 to CFLAGS.
($(foreach
suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
Likewise.
(CFLAGS-libm-test-support-float64x.c): New variable.
($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
$(f128-loader-link) to gnulib-tests.
ChangeLog
sysdeps/powerpc/powerpc64le/Makefile