mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
Convert registersInUse to BitSet.
This commit is contained in:
parent
b6a7438053
commit
eb7f4dac50
18 changed files with 119 additions and 136 deletions
|
@ -141,7 +141,7 @@ void VertexLoader::CompileVertexTranslator()
|
|||
|
||||
m_compiledCode = GetCodePtr();
|
||||
// We only use RAX (caller saved) and RBX (callee saved).
|
||||
ABI_PushRegistersAndAdjustStack(1 << RBX, 8);
|
||||
ABI_PushRegistersAndAdjustStack({RBX}, 8);
|
||||
|
||||
// save count
|
||||
MOV(64, R(RBX), R(ABI_PARAM1));
|
||||
|
@ -402,7 +402,7 @@ void VertexLoader::CompileVertexTranslator()
|
|||
SUB(64, R(RBX), Imm8(1));
|
||||
|
||||
J_CC(CC_NZ, loop_start);
|
||||
ABI_PopRegistersAndAdjustStack(1 << RBX, 8);
|
||||
ABI_PopRegistersAndAdjustStack({RBX}, 8);
|
||||
RET();
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue