From d1fe64aef0298514150e543b1b13fbf03f33c3e1 Mon Sep 17 00:00:00 2001 From: Nebuleon Fumika Date: Sun, 23 Dec 2012 16:13:54 -0500 Subject: 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. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') 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 -- cgit v1.2.3