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
......@@ -49,9 +49,7 @@ NM = nm -gp
# 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) $<
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment