Commit 5572003d authored by Ben Gamari's avatar Ben Gamari 🐢

shootout/n-body: Move -fexcess-precision to OPTIONS_GHC

parent a402b40e
......@@ -11,6 +11,7 @@
-- Don't enable -optc-mfpmath=sse -optc-msse2, this triggers a gcc bug on x86
--
{-# LANGUAGE BangPatterns #-}
{-# OPTIONS_GHC -fexcess-precision #-}
import Foreign (Ptr, Storable(..), plusPtr, mallocBytes)
import Foreign.Storable
......
......@@ -6,8 +6,7 @@ FAST_OPTS = 500000
NORM_OPTS = 5000000
SLOW_OPTS = 25000000
# Official shootout setting, takes about 13s in 2018
# SLOW_OPTS = 50000000
# SLOW_OPTS = 50000000
# The benchmark game also uses -fllvm, which we can't since it might
# not be available on the developer's machine.
HC_OPTS += -fexcess-precision
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