From: notaz Date: Mon, 8 Aug 2022 23:44:32 +0000 (+0300) Subject: Android.mk: try enable neon gpu for arm64 Android too X-Git-Tag: r24l~429 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fcfe1f863ffcbf5485834e083804ea4a073d513e;p=pcsx_rearmed.git Android.mk: try enable neon gpu for arm64 Android too --- diff --git a/jni/Android.mk b/jni/Android.mk index d8a01093..682e407b 100644 --- a/jni/Android.mk +++ b/jni/Android.mk @@ -185,6 +185,11 @@ else ifeq ($(TARGET_ARCH_ABI),armeabi) SOURCES_ASM += $(UNAI_DIR)/gpu_arm.S \ $(FRONTEND_DIR)/cspace_arm.S SOURCES_C += $(UNAI_DIR)/gpulib_if.cpp +else ifeq ($(TARGET_ARCH_ABI),arm64-v8a) + COREFLAGS += -DNEON_BUILD -DTEXTURE_CACHE_4BPP -DTEXTURE_CACHE_8BPP + COREFLAGS += -DGPU_NEON -DSIMD_BUILD + SOURCES_C += $(NEON_DIR)/psx_gpu_if.c \ + $(NEON_DIR)/psx_gpu/psx_gpu_simd.c else COREFLAGS += -fno-strict-aliasing -DGPU_PEOPS SOURCES_C += $(PEOPS_DIR)/gpulib_if.c