Core: rearrange MoveZxByteX86regPointerToX86reg parameters

This commit is contained in:
zilmar 2022-11-07 15:38:36 +10:30
parent 59892a266b
commit 8a2197707b
3 changed files with 3 additions and 3 deletions

View File

@ -9844,7 +9844,7 @@ void CX86RecompilerOps::CompileLoadMemoryValue(CX86Ops::x86Reg AddressReg, CX86O
}
else
{
m_Assembler.MoveZxByteX86regPointerToX86reg(AddressReg, TempReg, ValueReg);
m_Assembler.MoveZxByteX86regPointerToX86reg(ValueReg, AddressReg, TempReg);
}
}
else if (ValueSize == 16)

View File

@ -1595,7 +1595,7 @@ void CX86Ops::MoveX86regToX86regPointer(x86Reg AddrReg1, x86Reg AddrReg2, x86Reg
AddCode8(Param);
}
void CX86Ops::MoveZxByteX86regPointerToX86reg(x86Reg AddrReg1, x86Reg AddrReg2, x86Reg Reg)
void CX86Ops::MoveZxByteX86regPointerToX86reg(x86Reg Reg, x86Reg AddrReg1, x86Reg AddrReg2)
{
uint8_t Param = 0;

View File

@ -155,7 +155,7 @@ public:
void MoveX86RegToX86Reg(x86Reg Destination, x86Reg Source);
void MoveX86regToX86Pointer(x86Reg X86Pointer, x86Reg Reg);
void MoveX86regToX86regPointer(x86Reg AddrReg1, x86Reg AddrReg2, x86Reg Reg);
void MoveZxByteX86regPointerToX86reg(x86Reg AddrReg1, x86Reg AddrReg2, x86Reg Reg);
void MoveZxByteX86regPointerToX86reg(x86Reg Reg, x86Reg AddrReg1, x86Reg AddrReg2);
void MoveZxHalfX86regPointerToX86reg(x86Reg AddrReg1, x86Reg AddrReg2, x86Reg Reg);
void MoveZxVariableToX86regByte(void * Variable, const char * VariableName, x86Reg Reg);
void MoveZxVariableToX86regHalf(void * Variable, const char * VariableName, x86Reg Reg);