Core: rearrange MoveX86regHalfToX86regPointer parameters

This commit is contained in:
zilmar 2022-11-07 14:29:33 +10:30
parent efac334136
commit ebca0854d7
3 changed files with 3 additions and 3 deletions

View File

@ -10080,7 +10080,7 @@ void CX86RecompilerOps::CompileStoreMemoryValue(CX86Ops::x86Reg AddressReg, CX86
}
else
{
m_Assembler.MoveX86regHalfToX86regPointer(ValueReg, AddressReg, TempReg);
m_Assembler.MoveX86regHalfToX86regPointer(AddressReg, TempReg, ValueReg);
}
}
else if (ValueSize == 32)

View File

@ -1204,7 +1204,7 @@ void CX86Ops::MoveX86regHalfToVariable(void * Variable, const char * VariableNam
AddCode32((uint32_t)Variable);
}
void CX86Ops::MoveX86regHalfToX86regPointer(x86Reg Reg, x86Reg AddrReg1, x86Reg AddrReg2)
void CX86Ops::MoveX86regHalfToX86regPointer(x86Reg AddrReg1, x86Reg AddrReg2, x86Reg Reg)
{
uint8_t Param = 0;

View File

@ -147,7 +147,7 @@ public:
void MoveX86regByteToVariable(void * Variable, const char * VariableName, x86Reg Reg);
void MoveX86regByteToX86regPointer(x86Reg AddrReg1, x86Reg AddrReg2, x86Reg Reg);
void MoveX86regHalfToVariable(void * Variable, const char * VariableName, x86Reg Reg);
void MoveX86regHalfToX86regPointer(x86Reg Reg, x86Reg AddrReg1, x86Reg AddrReg2);
void MoveX86regHalfToX86regPointer(x86Reg AddrReg1, x86Reg AddrReg2, x86Reg Reg);
void MoveX86regPointerToX86reg(x86Reg AddrReg1, x86Reg AddrReg2, x86Reg Reg);
void MoveX86regPointerToX86regDisp8(x86Reg AddrReg1, x86Reg AddrReg2, x86Reg Reg, uint8_t offset);
void MoveX86regToMemory(x86Reg Reg, x86Reg AddrReg, uint32_t Disp);