Core: rearrange MoveZxHalfX86regPointerToX86reg variables

This commit is contained in:
zilmar 2022-11-07 15:40:01 +10:30
parent 8a2197707b
commit 4570d9eab5
3 changed files with 3 additions and 3 deletions

View File

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

View File

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

View File

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