From 60650fa82e03dc8eb2a6118ce4cf2e4b0aa872e5 Mon Sep 17 00:00:00 2001 From: RSDuck Date: Fri, 6 Dec 2019 22:16:23 +0100 Subject: disable literal optimations in DTCM --- src/ARMJIT_x64/ARMJIT_LoadStore.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/ARMJIT_x64/ARMJIT_LoadStore.cpp b/src/ARMJIT_x64/ARMJIT_LoadStore.cpp index 82f80a7..b66f304 100644 --- a/src/ARMJIT_x64/ARMJIT_LoadStore.cpp +++ b/src/ARMJIT_x64/ARMJIT_LoadStore.cpp @@ -347,8 +347,10 @@ void Compiler::Comp_MemAccess(int rd, int rn, const ComplexOperand& op2, int siz // stupid dtcm... if (addr >= cpu5->DTCMBase && addr < (cpu5->DTCMBase + cpu5->DTCMSize)) { - region.Mem = cpu5->DTCM; - region.Mask = 0x3FFF; + // disable this for now as DTCM is located in heap + // which might excced the RIP-addressable range + //region.Mem = cpu5->DTCM; + //region.Mask = 0x3FFF; } else { -- cgit v1.2.3