X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Makefile.libretro;h=ab62f2248c1451c5b8fabe82d75ca6ac9a10e594;hb=cef87e9262aa48428071d46570e6d9f04ccb228f;hp=41cb5050fffbb2fe488b6a4a959326748e9879ae;hpb=b5bb0aea098228745c26d660855d5fada85d836f;p=pcsx_rearmed.git diff --git a/Makefile.libretro b/Makefile.libretro index 41cb5050..ab62f224 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -65,6 +65,9 @@ ifneq ($(findstring __thumb__,$(shell $(CC) -E -dD $(CFLAGS) include/arm_feature CFLAGS += -marm endif endif +ifneq (,$(findstring $(ARCH_DETECTED),x86_64 aarch64)) + BUILTIN_GPU = neon +endif # ODROIDN2 else ifneq (,$(findstring CortexA73_G12B,$(platform))) @@ -145,8 +148,8 @@ ifeq ($(platform),ios-arm64) CC = cc -arch arm64 -isysroot $(IOSSDK) CXX = c++ -arch arm64 -isysroot $(IOSSDK) ARCH := arm64 - HAVE_NEON = 0 - BUILTIN_GPU = peops + BUILTIN_GPU = neon + HAVE_NEON = 1 DYNAREC = 0 else CC = cc -arch armv7 -isysroot $(IOSSDK) @@ -179,12 +182,12 @@ endif IOSSDK := $(shell xcodebuild -version -sdk appletvos Path) endif - CFLAGS += -DIOS -DTVOS -marm + CFLAGS += -DIOS -DTVOS CC = cc -arch arm64 -isysroot $(IOSSDK) CXX = c++ -arch arm64 -isysroot $(IOSSDK) ARCH := arm64 - HAVE_NEON = 0 - BUILTIN_GPU = peops + BUILTIN_GPU = neon + HAVE_NEON = 1 DYNAREC = 0 CC_AS = perl ./tools/gas-preprocessor.pl $(CC)