diff options
author | David Guillen Fandos | 2021-06-21 19:17:19 +0200 |
---|---|---|
committer | David Guillen Fandos | 2021-06-21 19:17:19 +0200 |
commit | f8d4276e12165a2610c87e998a343c02c2904855 (patch) | |
tree | c073fbe7869c96dfcaff7dc7a1f9c93c896c8740 /Makefile | |
parent | e0a31952dbffd15cd2878ed20142ec41cbd937bb (diff) | |
download | picogpsp-f8d4276e12165a2610c87e998a343c02c2904855.tar.gz picogpsp-f8d4276e12165a2610c87e998a343c02c2904855.tar.bz2 picogpsp-f8d4276e12165a2610c87e998a343c02c2904855.zip |
Add support for mips64n32
This only needs some support to save/load state with 64 bit registers.
Since pointers remain 32 bit, no extra changes are needed in the
dynarec. Verified with qemu (qemu-mipsn32el) and miniretro.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -379,6 +379,16 @@ else ifeq ($(platform), mips32) HAVE_DYNAREC := 1 CPU_ARCH := mips +# MIPS64 +else ifeq ($(platform), mips64n32) + TARGET := $(TARGET_NAME)_libretro.so + SHARED := -shared -nostdlib -Wl,--version-script=link.T + fpic := -fPIC -DPIC + CFLAGS += -fomit-frame-pointer -ffast-math -march=mips64 -mabi=n32 -mhard-float + CFLAGS += -fno-caller-saves + HAVE_DYNAREC := 1 + CPU_ARCH := mips + # emscripten else ifeq ($(platform), emscripten) TARGET := $(TARGET_NAME)_libretro_$(platform).bc |