[ARM] 1 instruction optimization for psq_l

This commit is contained in:
Ryan Houdek 2013-09-08 07:25:59 +00:00
parent 53fb0622f0
commit 2126f405e0

View File

@ -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);