mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
sh2 drc: optimize T bit handling for A64
This commit is contained in:
parent
a5e51c16e6
commit
0e12269073
4 changed files with 58 additions and 38 deletions
5
Makefile
5
Makefile
|
@ -36,10 +36,11 @@ endif
|
|||
|
||||
ifeq ("$(PLATFORM)",$(filter "$(PLATFORM)","gp2x" "opendingux" "rpi1"))
|
||||
# very small caches, avoid optimization options making the binary much bigger
|
||||
CFLAGS += -finline-limit=42 -fno-unroll-loops -fno-ipa-cp
|
||||
CFLAGS += -finline-limit=43 -fno-unroll-loops -fno-ipa-cp -ffast-math
|
||||
# this gets you about 20% better execution speed on 32bit arm/mips
|
||||
CFLAGS += -fno-common -fno-stack-protector -fno-guess-branch-probability -fno-caller-saves -fno-tree-loop-if-convert -ffast-math
|
||||
CFLAGS += -fno-common -fno-stack-protector -fno-guess-branch-probability -fno-caller-saves -fno-tree-loop-if-convert -fno-regmove
|
||||
endif
|
||||
#OBJS += align.o
|
||||
|
||||
# default settings
|
||||
ifeq "$(ARCH)" "arm"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue