aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNebuleon Fumika2012-12-23 16:13:54 -0500
committerNebuleon Fumika2012-12-23 16:13:54 -0500
commitd1fe64aef0298514150e543b1b13fbf03f33c3e1 (patch)
treec72a28ecbfb93c65ce39ca28d9853251453c1b16 /Makefile
parente7f7d0282a7126f9e1095481b39c43e3e24909bf (diff)
downloadsnes9x2005-d1fe64aef0298514150e543b1b13fbf03f33c3e1.tar.gz
snes9x2005-d1fe64aef0298514150e543b1b13fbf03f33c3e1.tar.bz2
snes9x2005-d1fe64aef0298514150e543b1b13fbf03f33c3e1.zip
Various optimisations in the CPU emulation.
Run the opcode as a tail call from the address calculation. This cuts on the needed return instructions. Pass the opcode address as a parameter; this keeps it in a register most of the time and avoids memory stores.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 605d727..7243173 100644
--- a/Makefile
+++ b/Makefile
@@ -64,7 +64,7 @@ OBJECTS = $(C_OBJECTS) $(CPP_OBJECTS)
CFLAGS := -mips32 -Os -mno-abicalls -fno-pic -fno-builtin \
-fno-exceptions -ffunction-sections -mno-long-calls \
-fomit-frame-pointer -msoft-float -G 4 \
- -fno-inline -fno-early-inlining \
+ -fno-early-inlining \
-fgcse-sm -fgcse-las -fgcse-after-reload \
-fsched-spec-load -fsched-stalled-insns=0 -fweb