Core: reorder MoveConstToMemoryDisp parameters
This commit is contained in:
parent
8272d18aa6
commit
5c7390324a
|
@ -3696,7 +3696,7 @@ void CX86RecompilerOps::SW(bool bCheckLLbit)
|
|||
|
||||
if (IsConst(m_Opcode.rt))
|
||||
{
|
||||
m_Assembler.MoveConstToMemoryDisp(GetMipsRegLo(m_Opcode.rt), TempReg1, (uint32_t)((int16_t)m_Opcode.offset));
|
||||
m_Assembler.MoveConstToMemoryDisp(TempReg1, (uint32_t)((int16_t)m_Opcode.offset), GetMipsRegLo(m_Opcode.rt));
|
||||
}
|
||||
else if (IsMapped(m_Opcode.rt))
|
||||
{
|
||||
|
|
|
@ -795,7 +795,7 @@ void CX86Ops::MoveConstHalfToX86regPointer(x86Reg AddrReg1, x86Reg AddrReg2, uin
|
|||
AddCode16(Const);
|
||||
}
|
||||
|
||||
void CX86Ops::MoveConstToMemoryDisp(uint32_t Const, x86Reg AddrReg, uint32_t Disp)
|
||||
void CX86Ops::MoveConstToMemoryDisp(x86Reg AddrReg, uint32_t Disp, uint32_t Const)
|
||||
{
|
||||
CodeLog(" mov dword ptr [%s+%Xh], %Xh", x86_Name(AddrReg), Disp, Const);
|
||||
switch (AddrReg)
|
||||
|
|
|
@ -131,7 +131,7 @@ public:
|
|||
void MoveConstByteToX86regPointer(uint8_t Const, x86Reg AddrReg1, x86Reg AddrReg2);
|
||||
void MoveConstHalfToVariable(void * Variable, const char * VariableName, uint16_t Const);
|
||||
void MoveConstHalfToX86regPointer(x86Reg AddrReg1, x86Reg AddrReg2, uint16_t Const);
|
||||
void MoveConstToMemoryDisp(uint32_t Const, x86Reg AddrReg, uint32_t Disp);
|
||||
void MoveConstToMemoryDisp(x86Reg AddrReg, uint32_t Disp, uint32_t Const);
|
||||
void MoveConstToVariable(uint32_t Const, void * Variable, const char * VariableName);
|
||||
void MoveConstToX86Pointer(x86Reg X86Pointer, uint32_t Const);
|
||||
void MoveConstToX86reg(x86Reg Reg, uint32_t Const);
|
||||
|
|
Loading…
Reference in New Issue