gpu_neon: integration for arm64
[pcsx_rearmed.git] / plugins / gpu_neon / Makefile
index 08bf0ee..955feab 100644 (file)
@@ -5,9 +5,14 @@ include ../../config.mak
 SRC += psx_gpu_if.c
 
 CFLAGS += -DTEXTURE_CACHE_4BPP -DTEXTURE_CACHE_8BPP
-ifeq "$(HAVE_NEON)" "1"
-SRC += psx_gpu/psx_gpu_arm_neon.S
 CFLAGS += -DNEON_BUILD
+ifeq "$(HAVE_NEON)" "1"
+ ifeq "$(HAVE_NEON_ASM)" "1"
+ SRC += psx_gpu/psx_gpu_arm_neon.S
+ else
+ OBJS += psx_gpu/psx_gpu_simd.c
+ CFLAGS += -DSIMD_BUILD
+ endif
 else
 CFLAGS += -fno-strict-aliasing
 endif