mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
[ARM] 1 instruction optimization for psq_l
This commit is contained in:
@ -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);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user