aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNebuleon Fumika2012-12-18 22:53:49 -0500
committerNebuleon Fumika2012-12-18 22:53:49 -0500
commite708c127fa51beab567a9ce0e3ab53b58c997773 (patch)
tree647a8d7aa072ed1cb46ecfe800d4db85a155780d /Makefile
parent286bfd58050a13e2e0e30bb35a7a1d189ec7edd1 (diff)
downloadsnesemu-e708c127fa51beab567a9ce0e3ab53b58c997773.tar.gz
snesemu-e708c127fa51beab567a9ce0e3ab53b58c997773.tar.bz2
snesemu-e708c127fa51beab567a9ce0e3ab53b58c997773.zip
Un-inline a bunch of stuff.
With the MIPS instruction cache, this means that two consecutive SNES CPU instructions using e.g. the same addressing style or the same opcode have a chance that the second one will use the first one's code and that it will be cached.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a972f16..6bcaba6 100644
--- a/Makefile
+++ b/Makefile
@@ -63,7 +63,8 @@ OBJECTS = $(C_OBJECTS) $(CPP_OBJECTS)
# - - - Compilation flags - - -
CFLAGS := -mips32 -Os -mno-abicalls -fno-pic -fno-builtin \
-fno-exceptions -fno-function-sections -mlong-calls \
- -fomit-frame-pointer -msoft-float -G 4
+ -fomit-frame-pointer -msoft-float -G 4 \
+ -fno-inline -fno-early-inlining
DEFS := -DSPC700_C -DEXECUTE_SUPERFX_PER_LINE -DSDD1_DECOMP \
-DVAR_CYCLES -DCPU_SHUTDOWN -DSPC700_SHUTDOWN \