Core: Rearrange MoveSxHalfX86regPointerToX86reg parameters

This commit is contained in:
zilmar 2022-11-07 13:41:49 +10:30
parent fe7b8afa92
commit 1584d25cd9
3 changed files with 3 additions and 3 deletions

View File

@ -9858,7 +9858,7 @@ void CX86RecompilerOps::CompileLoadMemoryValue(CX86Ops::x86Reg AddressReg, CX86O
if (SignExtend)
{
m_Assembler.MoveSxHalfX86regPointerToX86reg(AddressReg, TempReg, ValueReg);
m_Assembler.MoveSxHalfX86regPointerToX86reg(ValueReg, AddressReg, TempReg);
}
else
{

View File

@ -967,7 +967,7 @@ void CX86Ops::MoveSxByteX86regPointerToX86reg(x86Reg Reg, x86Reg AddrReg1, x86Re
AddCode8(Param);
}
void CX86Ops::MoveSxHalfX86regPointerToX86reg(x86Reg AddrReg1, x86Reg AddrReg2, x86Reg Reg)
void CX86Ops::MoveSxHalfX86regPointerToX86reg(x86Reg Reg, x86Reg AddrReg1, x86Reg AddrReg2)
{
uint8_t Param = 0;

View File

@ -137,7 +137,7 @@ public:
void MoveConstToX86reg(x86Reg Reg, uint32_t Const);
void MoveConstToX86regPointer(x86Reg AddrReg1, x86Reg AddrReg2, uint32_t Const);
void MoveSxByteX86regPointerToX86reg(x86Reg Reg, x86Reg AddrReg1, x86Reg AddrReg2);
void MoveSxHalfX86regPointerToX86reg(x86Reg AddrReg1, x86Reg AddrReg2, x86Reg Reg);
void MoveSxHalfX86regPointerToX86reg(x86Reg Reg, x86Reg AddrReg1, x86Reg AddrReg2);
void MoveSxVariableToX86regByte(void * Variable, const char * VariableName, x86Reg Reg);
void MoveSxVariableToX86regHalf(void * Variable, const char * VariableName, x86Reg Reg);
void MoveVariableDispToX86Reg(void * Variable, const char * VariableName, x86Reg Reg, x86Reg AddrReg, int32_t Multiplier);