Skip to content

Commit

Permalink
[Retroarch] Optimize snes9x2002, gpsp, pcsx_rearmed using profile data (
Browse files Browse the repository at this point in the history
#91)

* [retroarch] add profile data for libretro-snes9x2002 core

* Optimize gpsp, pcsx_rearmed cores using predefined profile data
  • Loading branch information
tiopex authored Jan 25, 2024
1 parent b1e6fd6 commit 44c4d34
Show file tree
Hide file tree
Showing 139 changed files with 10 additions and 10 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
6 changes: 3 additions & 3 deletions package/libretro-gpsp/0001-optimize-flags.patch
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ index 5a3bab7..fda6869 100644
+ -flto=4 -fwhole-program -fuse-linker-plugin \
+ -fdata-sections -ffunction-sections -Wl,--gc-sections \
+ -fno-stack-protector -fno-ident -fomit-frame-pointer \
+ -falign-functions=1 -falign-jumps=1 -falign-loops=1 \
+ -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-unroll-loops \
+ -fmerge-all-constants -fno-math-errno \
+ -fprofile-use -fprofile-dir=$(BASE_DIR)/../board/miyoo/profile/libretro-gpsp/profile \
+ -fno-unroll-loops \
+ -fbranch-probabilities -Wno-error=coverage-mismatch \
+ -marm
+ ASFLAGS += $(CFLAGS)
+ ARCH = arm
Expand Down
10 changes: 5 additions & 5 deletions package/libretro-pcsx_rearmed/0001-use-unai-old-gpu.patch
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@ index 1169d892..144601b3 100644
+ fpic := -fno-PIC
+ CFLAGS += -mcpu=arm926ej-s -fsingle-precision-constant -Ofast -fdata-sections -ffunction-sections -fsingle-precision-constant
CFLAGS += -DGPU_UNAI_USE_INT_DIV_MULTINV -D_MIYOO
+ CFLAGS += -Ofast \
+ -flto=auto -fuse-linker-plugin \
+ CFLAGS += -flto=auto -fno-common -fno-ipa-cp -fno-caller-saves -fno-regmove -finline-limit=42 \
+ -fuse-linker-plugin \
+ -fno-stack-protector -fno-ident -fomit-frame-pointer \
+ -falign-functions=1 -falign-jumps=1 -falign-loops=1 \
+ -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-unroll-loops \
+ -fmerge-all-constants -fno-math-errno \
+ -fprofile-use -fprofile-dir=$(BASE_DIR)/../board/miyoo/profile/libretro-pcsx_rearmed/profile \
+ -fno-unroll-loops -ffast-math \
+ -fbranch-probabilities -Wno-error=coverage-mismatch \
+ -marm
+ CXXFLAGS += $(CFLAGS)
+ CPPFLAGS += $(CFLAGS)
Expand Down
4 changes: 2 additions & 2 deletions package/libretro-snes9x2002/0001-optimize-flags.patch
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@ index b6af83f..f9f146f 100644
+ -fno-caller-saves -fno-regmove -flto=4 -fwhole-program -fuse-linker-plugin \
+ -fdata-sections -ffunction-sections -Wl,--gc-sections \
+ -fno-stack-protector -fno-ident -fomit-frame-pointer \
+ -falign-functions=1 -falign-jumps=1 -falign-loops=1 \
+ -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-unroll-loops \
+ -fmerge-all-constants -fno-math-errno \
+ -marm -fno-gcse -fno-crossjumping
+ -marm -fno-gcse -fbranch-probabilities -Wno-error=coverage-mismatch \
+ -fprofile-use -fprofile-dir=$(BASE_DIR)/../board/miyoo/profile/libretro-snes9x2002/profile
+ CFLAGS += -DFAST_ALIGNED_LSB_WORD_ACCESS \
+ -DDINGUX \
+ -DLSB_FIRST \
Expand Down

0 comments on commit 44c4d34

Please sign in to comment.