Commit 27249023 authored by simonmar's avatar simonmar
Browse files

[project @ 2005-11-08 12:31:36 by simonmar]

unless I'm mistaken, only x86 needs -ffloat-store.  x86_64 certainly
doesn't need it, because it uses SSE2 with the correct-sized floating
point registers and doesn't store temporary results with more
precision than results in memory.
parent fd8ddfb9
......@@ -872,7 +872,9 @@ runPhase cc_phase stop dflags basename suff input_fn get_output_fn maybe_loc
++ [ "-D__GLASGOW_HASKELL__="++cProjectVersionInt ]
++ cc_opts
++ split_opt
#if x86_TARGET_ARCH
++ (if excessPrecision then [] else [ "-ffloat-store" ])
#endif
++ include_paths
++ pkg_extra_cc_opts
))
......
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