alpha: Use -mieee-with-inexact with math/test-misc

This commit is contained in:
Richard Henderson 2012-06-01 10:46:08 -07:00
parent 4b32777daa
commit f93d7902de
2 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,7 @@
2012-06-01 Richard Henderson <rth@twiddle.net> 2012-06-01 Richard Henderson <rth@twiddle.net>
* sysdeps/alpha/Makefile (CFLAGS-test-misc.c): Set -mieee-with-inexact.
* sysdeps/alpha/fpu/libm-test-ulps: Regenerate. * sysdeps/alpha/fpu/libm-test-ulps: Regenerate.
2012-05-30 Richard Henderson <rth@twiddle.net> 2012-05-30 Richard Henderson <rth@twiddle.net>

View File

@ -41,6 +41,8 @@ ifeq ($(subdir),math)
# The fma routines rely on inexact being raised for correct results. # The fma routines rely on inexact being raised for correct results.
CFLAGS-s_fma.c = -mieee-with-inexact CFLAGS-s_fma.c = -mieee-with-inexact
CFLAGS-s_fmaf.c = -mieee-with-inexact CFLAGS-s_fmaf.c = -mieee-with-inexact
# This test tries to check for inexact being raised by arithmetic.
CFLAGS-test-misc.c += -mieee-with-inexact
endif endif
# Build everything with full IEEE math support, and with dynamic rounding; # Build everything with full IEEE math support, and with dynamic rounding;