aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNebuleon Fumika2013-01-12 03:48:20 -0500
committerNebuleon Fumika2013-01-12 03:48:20 -0500
commit7eb79c076d3ee35cd7e010c80dd85aace97a285b (patch)
treeedabb675c4a45e1f8d81cf5fcc5c7858e6829227
parent75690d5e91e2585fd096a8f7e5eeeb1bd510023e (diff)
downloadsnes9x2005-7eb79c076d3ee35cd7e010c80dd85aace97a285b.tar.gz
snes9x2005-7eb79c076d3ee35cd7e010c80dd85aace97a285b.tar.bz2
snes9x2005-7eb79c076d3ee35cd7e010c80dd85aace97a285b.zip
Peel loops, aka only unroll loops if their number of iterations is a compile-time constant.
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 489b290..128d6ff 100644
--- a/Makefile
+++ b/Makefile
@@ -64,7 +64,7 @@ CFLAGS := -mips32 -mno-abicalls -fno-pic -fno-builtin \
-fno-exceptions -ffunction-sections -mno-long-calls \
-msoft-float -G 4 \
-O3 -fomit-frame-pointer -fgcse-sm -fgcse-las -fgcse-after-reload \
- -fweb
+ -fweb -fpeel-loops
DEFS := -DSPC700_C -DEXECUTE_SUPERFX_PER_LINE -DSDD1_DECOMP \
-DVAR_CYCLES -DCPU_SHUTDOWN -DSPC700_SHUTDOWN \