[project @ 2005-07-25 14:04:02 by simonmar]
authorsimonmar <unknown>
Mon, 25 Jul 2005 14:04:02 +0000 (14:04 +0000)
committersimonmar <unknown>
Mon, 25 Jul 2005 14:04:02 +0000 (14:04 +0000)
Compile GC.c with -O3 (unrolls some important loops)

ghc/rts/Makefile

index 802ce61..ac689a9 100644 (file)
@@ -326,6 +326,8 @@ ifeq "$(Windows)" "YES"
 PrimOps_HC_OPTS += -\#include '<windows.h>' -\#include win32/AsyncIO.h
 endif
 
+GC_HC_OPTS += -optc-O3
+
 # Cmm must be compiled via-C for now, because the NCG can't handle loops
 SRC_HC_OPTS += -fvia-C