From 88835762ba584e4c2b2bcee40ff806692466285c Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Thu, 14 Dec 2017 15:21:34 +0000 Subject: [PATCH] 65c816: use register ops here and there We need this to get better performance out of cc65. We may be able to justify -Oi but the code grows a lot so it may become a size problem if we did. --- Kernel/cpu-65c816/rules.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kernel/cpu-65c816/rules.mk b/Kernel/cpu-65c816/rules.mk index 784b1f68..da27a489 100644 --- a/Kernel/cpu-65c816/rules.mk +++ b/Kernel/cpu-65c816/rules.mk @@ -1,7 +1,7 @@ export CROSS_AS=ca65 export CROSS_LD=cl65 export CROSS_CC=cl65 -export CROSS_CCOPTS=--cpu 65c02 -c -O -t none -I$(ROOT_DIR)/cpu-65c816 -I$(ROOT_DIR)/cpu-6502 -I$(ROOT_DIR)/platform-$(TARGET) -I$(ROOT_DIR)/include +export CROSS_CCOPTS=--cpu 65c02 -c -O -Os -Or -t none -I$(ROOT_DIR)/cpu-65c816 -I$(ROOT_DIR)/cpu-6502 -I$(ROOT_DIR)/platform-$(TARGET) -I$(ROOT_DIR)/include # # It really doesn't matter how we map the segments as it's one binary # with no banking or tricks. The only exception is the discard area -- 2.34.1