From 2126f405e09aaeef537492b95d618fada85442d0 Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Sun, 8 Sep 2013 07:25:59 +0000 Subject: [PATCH] [ARM] 1 instruction optimization for psq_l --- Source/Core/Core/Src/PowerPC/JitArm32/JitAsm.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/Core/Src/PowerPC/JitArm32/JitAsm.cpp b/Source/Core/Core/Src/PowerPC/JitArm32/JitAsm.cpp index ca9073887f..973b7659de 100644 --- a/Source/Core/Core/Src/PowerPC/JitArm32/JitAsm.cpp +++ b/Source/Core/Core/Src/PowerPC/JitArm32/JitAsm.cpp @@ -152,8 +152,8 @@ void JitArmAsmRoutineManager::GenerateCommon() PUSH(2, R12, _LR); // R12, R14 is scratch // R10 is the address - MOVI2R(R14, Memory::MEMVIEW32_MASK); - AND(R10, R10, R14); + Operand2 mask(3, 1); // ~(Memory::MEMVIEW32_MASK) + BIC(R10, R10, mask); MOVI2R(R14, (u32)Memory::base); ADD(R10, R10, R14);