updating pcsx_rearmed

updating core and building the aarch64 version with the NEON gpu plugin
This commit is contained in:
CometHunter92 2022-08-16 15:43:34 +02:00
parent 49e2ffa637
commit 261ccacd4e
No known key found for this signature in database
GPG key ID: 3E4094710CE6D19F
5 changed files with 41 additions and 39 deletions

View file

@ -3,8 +3,8 @@
# Copyright (C) 2022-present Fewtarius
PKG_NAME="pcsx_rearmed"
PKG_VERSION="0739265dc0123d200d43ebf99bb79a37d48d6bac"
PKG_SHA256="06910a9c8cbcc5c95ff99ce8dc281738f0dc4f0822dee45d6026f99740e4c3b4"
PKG_VERSION="d38927c1a43f654a6e9e7fc60c837bd35c3497f7"
PKG_SHA256="c825a355bd2f36f5bc71054eeb1c0df8182056cee0b761cd0ad8bd66d719af63"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPLv2"

View file

@ -11,7 +11,8 @@ diff -rupN pcsx_rearmed.orig/Makefile.libretro pcsx_rearmed/Makefile.libretro
+ SHARED := -shared -Wl,-version-script=link.T
+ ARCH = arm64
+ DYNAREC = ari64
+ BUILTIN_GPU = peops
+ BUILTIN_GPU = neon
HAVE_NEON = 1
+ CFLAGS += -fomit-frame-pointer -ffast-math -Ofast -DARM
+ CPUFLAGS += -march=armv8-a+crc -mcpu=cortex-a35 -mtune=cortex-a35
+

View file

@ -11,7 +11,8 @@ diff -rupN pcsx_rearmed.orig/Makefile.libretro pcsx_rearmed/Makefile.libretro
+ SHARED := -shared -Wl,-version-script=link.T
+ ARCH = arm64
+ DYNAREC = ari64
+ BUILTIN_GPU = peops
+ BUILTIN_GPU = neon
HAVE_NEON = 1
+ CFLAGS += -fomit-frame-pointer -ffast-math -Ofast -DARM
+ CPUFLAGS += -march=armv8-a+crc+simd -mtune=cortex-a55
+

View file

@ -1,20 +1,19 @@
diff -rupN pcsx_rearmed.orig/Makefile.libretro pcsx_rearmed/Makefile.libretro
--- pcsx_rearmed.orig/Makefile.libretro 2022-04-20 07:57:13.327886544 -0400
+++ pcsx_rearmed/Makefile.libretro 2022-04-20 07:59:40.302828388 -0400
@@ -70,6 +70,16 @@ else ifneq (,$(findstring CortexA73_G12B
CFLAGS += -fomit-frame-pointer -ffast-math -DARM
CPUFLAGS += -march=armv8-a+crc -mfpu=neon-fp-armv8 -mcpu=cortex-a73 -mtune=cortex-a73.cortex-a53
--- pcsx_rearmed.orig/Makefile.libretro 2022-08-16 15:19:42.928678600 +0200
+++ pcsx_rearmed/Makefile.libretro 2022-08-14 02:10:44.166885600 +0200
@@ -385,6 +385,15 @@ else ifeq ($(platform), rpi4_64)
fpic := -fPIC
CFLAGS += -march=armv8-a+crc+simd -mtune=cortex-a72 -ftree-vectorize
+else ifeq ($(platform), RG552)
+ TARGET := $(TARGET_NAME)_libretro.so
+ fpic := -fPIC
+ SHARED := -shared -Wl,-version-script=link.T
+ ARCH = arm64
+ DYNAREC = ari64
+ BUILTIN_GPU = peops
+ CFLAGS += -fomit-frame-pointer -ffast-math -Ofast -DARM
+ CPUFLAGS += -march=armv8-a+crc -mcpu=cortex-a72 -mtune=cortex-a72.cortex-a53
+ TARGET := $(TARGET_NAME)_libretro.so
+ ARCH := arm64
+ BUILTIN_GPU = neon
+ HAVE_NEON = 1
+ DYNAREC = ari64
+ fpic := -fPIC
+ CFLAGS += -march=armv8-a+crc+simd -mtune=cortex-a72.cortex-a53 -ftree-vectorize
+
# ALLWINNER H5
else ifneq (,$(findstring h5,$(platform)))
TARGET := $(TARGET_NAME)_libretro.so
# Classic Platforms ####################
# Platform affix = classic_<ISA>_<µARCH>
# Help at https://modmyclassic.com/comp

View file

@ -1,21 +1,22 @@
diff -rupN pcsx_rearmed.orig/Makefile.libretro pcsx_rearmed/Makefile.libretro
--- pcsx_rearmed.orig/Makefile.libretro 2022-04-20 07:57:13.327886544 -0400
+++ pcsx_rearmed/Makefile.libretro 2022-04-20 07:59:40.302828388 -0400
@@ -70,6 +70,17 @@ else ifneq (,$(findstring CortexA73_G12B
CFLAGS += -fomit-frame-pointer -ffast-math -DARM
CPUFLAGS += -march=armv8-a+crc -mfpu=neon-fp-armv8 -mcpu=cortex-a73 -mtune=cortex-a73.cortex-a53
--- pcsx_rearmed.orig/Makefile.libretro 2022-08-16 15:19:42.928678600 +0200
+++ pcsx_rearmed/Makefile.libretro 2022-08-14 02:18:14.566882800 +0200
@@ -385,6 +385,18 @@ else ifeq ($(platform), rpi4_64)
fpic := -fPIC
CFLAGS += -march=armv8-a+crc+simd -mtune=cortex-a72 -ftree-vectorize
+else ifeq ($(platform), RG552)
+ TARGET := $(TARGET_NAME)_libretro.so
+ fpic := -fPIC
+ SHARED := -shared -Wl,-version-script=link.T
+ ARCH = arm
+ DYNAREC = ari64
+ BUILTIN_GPU = neon
+ CFLAGS += -marm -mtune=cortex-a72 -mfpu=neon-fp-armv8 -mfloat-abi=hard
+ ASFLAGS += -mtune=cortex-a72 -mfpu=neon-fp-armv8 -mfloat-abi=hard
+ CPUFLAGS += -march=armv8-a+crc -mfpu=neon-fp-armv8 -mcpu=cortex-a72 -mtune=cortex-a72.cortex-a53
+TARGET := $(TARGET_NAME)_libretro.so
+ fpic := -fPIC
+ CFLAGS += -marm -mtune=cortex-a72.cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard
+ ASFLAGS += -mtune=cortex-a72.cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard
+ HAVE_NEON = 1
+ HAVE_NEON_ASM = 1
+ ARCH = arm
+ BUILTIN_GPU = neon
+ DYNAREC = ari64
+
# ALLWINNER H5
else ifneq (,$(findstring h5,$(platform)))
TARGET := $(TARGET_NAME)_libretro.so
+
# Classic Platforms ####################
# Platform affix = classic_<ISA>_<µARCH>
# Help at https://modmyclassic.com/comp