From 1ca43a1a9b5cea17d2747114a0ff37e06822fd82 Mon Sep 17 00:00:00 2001 From: rtoy <rtoy> Date: Wed, 25 Mar 2009 14:48:24 +0000 Subject: [PATCH] Carl fixed the aliasing issue in e_rem_pio2.c sometime ago so we don't need the -ffloat-store and -fno-strict-aliasing flags anymore. The Linux x87 build correctly returns -0.9258790228548379d0 for (cos (expt 2d0 120)). --- lisp/Config.x86_common | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/lisp/Config.x86_common b/lisp/Config.x86_common index fe1649292..0613fd85b 100644 --- a/lisp/Config.x86_common +++ b/lisp/Config.x86_common @@ -49,9 +49,7 @@ NM = nm -gp DEPEND = $(CC) -MM -E DEPEND_FLAGS = -# This has aliasing problems, so turn off aliasing and also turn on -# float-store so x87 arithmetic behaves like double-precision -# arithmetic. And with SSE2 support, we don't want the C code to be -# compiled differently. Hence, we need -ffloat-store with SSE2. +# This no longer has aliasing problems, so no need to use +# -ffloat-store and -fno-strict-aliasing anymore. e_rem_pio2.o : e_rem_pio2.c - $(CC) -c -fno-strict-aliasing -ffloat-store $(CFLAGS) $(CPPFLAGS) $< + $(CC) -c $(CFLAGS) $(CPPFLAGS) $< -- GitLab