From 20a10d3ed94e12bfc0f415e186f0da5bc4efac49 Mon Sep 17 00:00:00 2001 From: notaz Date: Tue, 8 Aug 2017 02:25:37 +0300 Subject: [PATCH] android: solve "text segment is not shareable" Some asm is disabled and some performance is lost by this. --- cpu/cyclone | 2 +- jni/Android.mk | 12 ++++++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/cpu/cyclone b/cpu/cyclone index 355815eb..66dda842 160000 --- a/cpu/cyclone +++ b/cpu/cyclone @@ -1 +1 @@ -Subproject commit 355815ebb5b1c60916f66d043a43f3af7839589f +Subproject commit 66dda842eae01f47f5389b931ec9567fb0bbb6a1 diff --git a/jni/Android.mk b/jni/Android.mk index 91b31fd7..042c1f74 100644 --- a/jni/Android.mk +++ b/jni/Android.mk @@ -34,15 +34,19 @@ ifeq ($(TARGET_ARCH),arm) endif use_cyclone = 1 - use_drz80 = 1 + + # texrels, -perf ~~8% + use_drz80 = 0 + use_cz80 = 1 + use_sh2drc = 1 use_svpdrc = 1 - asm_memory = 1 +# asm_memory = 1 # texrels, -perf negligible asm_render = 1 - asm_ym2612 = 1 +# asm_ym2612 = 1 # texrels, -perf ~~4% asm_misc = 1 - asm_cdmemory = 1 +# asm_cdmemory = 1 # texrels asm_mix = 1 else use_fame = 1 -- 2.39.5