notaz.gp2x.de
/
pcsx_rearmed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
cef87e9
)
enable gpu_neon on win64 too
author
notaz
<notasas@gmail.com>
Thu, 15 Sep 2022 20:38:40 +0000
(23:38 +0300)
committer
notaz
<notasas@gmail.com>
Thu, 15 Sep 2022 20:39:12 +0000
(23:39 +0300)
hope it works there
Makefile.libretro
patch
|
blob
|
blame
|
history
diff --git
a/Makefile.libretro
b/Makefile.libretro
index
ab62f22
..
a3bb43a
100644
(file)
--- a/
Makefile.libretro
+++ b/
Makefile.libretro
@@
-46,6
+46,20
@@
LIBM := -lm
MMAP_WIN32 = 0
EXTRA_LDFLAGS =
MMAP_WIN32 = 0
EXTRA_LDFLAGS =
+# select some defaults
+ifneq (,$(findstring $(ARCH_DETECTED),arm aarch64))
+ DYNAREC = ari64
+ifneq ($(findstring __thumb__,$(shell $(CC) -E -dD $(CFLAGS) include/arm_features.h)),)
+ # must disable thumb as ari64 can't handle it
+ CFLAGS += -marm
+endif
+endif
+ifneq (,$(findstring $(ARCH_DETECTED),x86_64 aarch64))
+ BUILTIN_GPU = neon
+endif
+
+# platform specific options
+
# Unix
ifeq ($(platform), unix)
TARGET := $(TARGET_NAME)_libretro.so
# Unix
ifeq ($(platform), unix)
TARGET := $(TARGET_NAME)_libretro.so
@@
-57,17
+71,6
@@
endif
ifneq ($(findstring SunOS,$(shell uname -s)),)
CC = gcc
endif
ifneq ($(findstring SunOS,$(shell uname -s)),)
CC = gcc
endif
-ifneq (,$(findstring $(ARCH_DETECTED),arm aarch64))
- DYNAREC = ari64
-
-ifneq ($(findstring __thumb__,$(shell $(CC) -E -dD $(CFLAGS) include/arm_features.h)),)
- # must disable thumb as ari64 can't handle it
- CFLAGS += -marm
-endif
-endif
-ifneq (,$(findstring $(ARCH_DETECTED),x86_64 aarch64))
- BUILTIN_GPU = neon
-endif
# ODROIDN2
else ifneq (,$(findstring CortexA73_G12B,$(platform)))
# ODROIDN2
else ifneq (,$(findstring CortexA73_G12B,$(platform)))
@@
-498,7
+501,6
@@
else ifeq ($(platform), emscripten)
# Windows
else
TARGET := $(TARGET_NAME)_libretro.dll
# Windows
else
TARGET := $(TARGET_NAME)_libretro.dll
- BUILTIN_GPU = peops
PLATFORM = libretro
MAIN_LDFLAGS += -static-libgcc -static-libstdc++ -s
CFLAGS += -D__WIN32__ -DNO_DYLIB
PLATFORM = libretro
MAIN_LDFLAGS += -static-libgcc -static-libstdc++ -s
CFLAGS += -D__WIN32__ -DNO_DYLIB