vita: yet another try to fix crashes
authornotaz <notasas@gmail.com>
Tue, 17 Dec 2024 19:34:32 +0000 (21:34 +0200)
committernotaz <notasas@gmail.com>
Tue, 17 Dec 2024 23:33:54 +0000 (01:33 +0200)
libretro/pcsx_rearmed#856

Makefile.libretro
libpcsxcore/new_dynarec/new_dynarec.c

index c8f99f9..7ef285d 100644 (file)
@@ -332,7 +332,7 @@ else ifeq ($(platform), vita)
        CFLAGS += -fsingle-precision-constant -mword-relocations -fno-unwind-tables
        CFLAGS += -fno-asynchronous-unwind-tables -ftree-vectorize
        #CFLAGS += -funroll-loops # ~280K bloat
-       #CFLAGS += -fno-optimize-sibling-calls # debug?
+       CFLAGS += -fno-optimize-sibling-calls # broken arm->thumb tailcalls?
        CFLAGS += -I$(VITASDK)/include -Ifrontend/vita
        CFLAGS += -DNO_DYLIB
        CFLAGS_LAST += -O3
index f1f5e60..10315b5 100644 (file)
@@ -9010,7 +9010,7 @@ static struct block_info *new_block_info(u_int start, u_int len,
   return block;
 }
 
-static int new_recompile_block(u_int addr)
+static int noinline new_recompile_block(u_int addr)
 {
   u_int pagelimit = 0;
   u_int state_rflags = 0;