8080/8085: optimizations that are useful go to -O4
authorAlan Cox <alan@linux.intel.com>
Sun, 31 Mar 2019 21:15:14 +0000 (22:15 +0100)
committerAlan Cox <alan@linux.intel.com>
Sun, 31 Mar 2019 21:15:14 +0000 (22:15 +0100)
Applications/rules.8080
Kernel/cpu-8080/rules.mk
Kernel/cpu-8085/rules.mk

index c7cb420..c0ea8ba 100755 (executable)
@@ -5,7 +5,7 @@ AR = aal
 LINKER = ack -mfuzix
 LIBPATH=$(FUZIX_ROOT)/Library/libs
 LIBC=$(LIBPATH)/libc8080.a -lem.a
-CFLAGS = -O2 -I$(FUZIX_ROOT)/Library/include -I$(FUZIX_ROOT)/Library/include/8080
+CFLAGS = -O4 -I$(FUZIX_ROOT)/Library/include -I$(FUZIX_ROOT)/Library/include/8080
 ASM_OPT = -c -o
 CRT0 = $(LIBPATH)/crt0_8080.o
 CRT0NS = $(LIBPATH)/crt0nostdio_8080.o
index 1ed5489..d591276 100644 (file)
@@ -3,7 +3,7 @@ export ACK_ROOT=$(shell tools/findack)
 export CROSS_AS=ack -mfuzix
 export CROSS_LD=$(ACK_ROOT)/lib/ack/em_led
 export CROSS_CC=ack
-export CROSS_CCOPTS= -mfuzix -c -O2 -I$(ROOT_DIR)/cpu-$(CPU) -I$(ROOT_DIR)/platform-$(TARGET) -I$(ROOT_DIR)/include
+export CROSS_CCOPTS= -mfuzix -c -O4 -I$(ROOT_DIR)/cpu-$(CPU) -I$(ROOT_DIR)/platform-$(TARGET) -I$(ROOT_DIR)/include
 export CROSS_CC_SEG2=
 export CROSS_CC_SEG3=
 export CROSS_CC_SEG4=
index 1ed5489..bb47077 100644 (file)
@@ -3,7 +3,7 @@ export ACK_ROOT=$(shell tools/findack)
 export CROSS_AS=ack -mfuzix
 export CROSS_LD=$(ACK_ROOT)/lib/ack/em_led
 export CROSS_CC=ack
-export CROSS_CCOPTS= -mfuzix -c -O2 -I$(ROOT_DIR)/cpu-$(CPU) -I$(ROOT_DIR)/platform-$(TARGET) -I$(ROOT_DIR)/include
+export CROSS_CCOPTS= -mfuzix -c -O4 -S -I$(ROOT_DIR)/cpu-$(CPU) -I$(ROOT_DIR)/platform-$(TARGET) -I$(ROOT_DIR)/include
 export CROSS_CC_SEG2=
 export CROSS_CC_SEG3=
 export CROSS_CC_SEG4=