mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
sh2 drc, MIPS cache maintenance optimisation
This commit is contained in:
parent
6131340280
commit
6e8916bc9a
3 changed files with 33 additions and 6 deletions
7
Makefile
7
Makefile
|
@ -46,7 +46,6 @@ CFLAGS += -finline-limit=42 -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 -fno-regmove
|
||||
endif
|
||||
#OBJS += align.o
|
||||
|
||||
# default settings
|
||||
ifeq "$(ARCH)" "arm"
|
||||
|
@ -83,8 +82,14 @@ $(TARGET).opk: $(TARGET)
|
|||
$(STRIP) .opk_data/PicoDrive
|
||||
mksquashfs .opk_data $@ -all-root -noappend -no-exports -no-xattrs
|
||||
|
||||
all: opk
|
||||
|
||||
OBJS += platform/opendingux/inputmap.o
|
||||
|
||||
ifneq (,$(filter %__GCW0__ %__RG350__, $(CFLAGS)))
|
||||
CFLAGS += -DMIPS_USE_SYNCI # clear_cache uses SYNCI instead of a syscall
|
||||
endif
|
||||
|
||||
# OpenDingux is a generic platform, really.
|
||||
PLATFORM := generic
|
||||
endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue