aboutsummaryrefslogtreecommitdiff
path: root/Makefile.libretro
diff options
context:
space:
mode:
authorVanfanel2020-11-07 16:05:28 +0100
committerVanfanel2020-11-07 16:05:28 +0100
commit15893d7df3c4294ace78c5b4cdfc4ac13dc52b66 (patch)
tree7c8790835d77ea7b9abf9c0e4f5dbfbc274f1c9a /Makefile.libretro
parent574e2fafbf6dbee9a5cacacd97c6a18c98fbc10e (diff)
downloadpcsx_rearmed-15893d7df3c4294ace78c5b4cdfc4ac13dc52b66.tar.gz
pcsx_rearmed-15893d7df3c4294ace78c5b4cdfc4ac13dc52b66.tar.bz2
pcsx_rearmed-15893d7df3c4294ace78c5b4cdfc4ac13dc52b66.zip
Add Rpi4 platform in 64bit mode.
Diffstat (limited to 'Makefile.libretro')
-rw-r--r--Makefile.libretro11
1 files changed, 10 insertions, 1 deletions
diff --git a/Makefile.libretro b/Makefile.libretro
index 797ee07..87b35f7 100644
--- a/Makefile.libretro
+++ b/Makefile.libretro
@@ -288,7 +288,7 @@ else ifeq ($(platform), rpi3)
BUILTIN_GPU = neon
DYNAREC = ari64
-#Raspberry Pi 4
+#Raspberry Pi 4 with a 32bit GNU/Linux OS
else ifeq ($(platform), rpi4)
TARGET := $(TARGET_NAME)_libretro.so
fpic := -fPIC
@@ -299,6 +299,15 @@ else ifeq ($(platform), rpi4)
BUILTIN_GPU = neon
DYNAREC = ari64
+#Raspberry Pi 4 with a 64bit GNU/Linux OS
+else ifeq ($(platform), rpi4_64)
+ TARGET := $(TARGET_NAME)_libretro.so
+ ARCH := arm64
+ BUILTIN_GPU = unai
+ DYNAREC = lightrec
+ fpic := -fPIC
+ CFLAGS += -march=armv8-a+crc+simd -mtune=cortex-a72 -ftree-vectorize
+
# Classic Platforms ####################
# Platform affix = classic_<ISA>_<µARCH>
# Help at https://modmyclassic.com/comp