[ARM] 1 instruction optimization for psq_l
This commit is contained in:
parent
53fb0622f0
commit
2126f405e0
|
@ -152,8 +152,8 @@ void JitArmAsmRoutineManager::GenerateCommon()
|
||||||
PUSH(2, R12, _LR);
|
PUSH(2, R12, _LR);
|
||||||
// R12, R14 is scratch
|
// R12, R14 is scratch
|
||||||
// R10 is the address
|
// R10 is the address
|
||||||
MOVI2R(R14, Memory::MEMVIEW32_MASK);
|
Operand2 mask(3, 1); // ~(Memory::MEMVIEW32_MASK)
|
||||||
AND(R10, R10, R14);
|
BIC(R10, R10, mask);
|
||||||
MOVI2R(R14, (u32)Memory::base);
|
MOVI2R(R14, (u32)Memory::base);
|
||||||
ADD(R10, R10, R14);
|
ADD(R10, R10, R14);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue