Skip to content
Snippets Groups Projects
Commit 1ca43a1a authored by rtoy's avatar rtoy
Browse files

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)).
parent c1b800f1
No related branches found
No related tags found
No related merge requests found
...@@ -49,9 +49,7 @@ NM = nm -gp ...@@ -49,9 +49,7 @@ NM = nm -gp
DEPEND = $(CC) -MM -E DEPEND = $(CC) -MM -E
DEPEND_FLAGS = DEPEND_FLAGS =
# This has aliasing problems, so turn off aliasing and also turn on # This no longer has aliasing problems, so no need to use
# float-store so x87 arithmetic behaves like double-precision # -ffloat-store and -fno-strict-aliasing anymore.
# arithmetic. And with SSE2 support, we don't want the C code to be
# compiled differently. Hence, we need -ffloat-store with SSE2.
e_rem_pio2.o : e_rem_pio2.c e_rem_pio2.o : e_rem_pio2.c
$(CC) -c -fno-strict-aliasing -ffloat-store $(CFLAGS) $(CPPFLAGS) $< $(CC) -c $(CFLAGS) $(CPPFLAGS) $<
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment