[ARM] Fix the VMOV encoding to encode the destination VFP register correctly.
This commit is contained in:
parent
2c1337eb5f
commit
710ac04084
|
@ -1155,9 +1155,9 @@ void ARMXEmitter::VMOV(ARMReg Dest, ARMReg Src)
|
|||
{
|
||||
// Move 64bit from Arm reg
|
||||
ARMReg Src2 = (ARMReg)(Src + 1);
|
||||
Dest = (ARMReg)(Dest - S0);
|
||||
Dest = SubBase(Dest);
|
||||
Write32(condition | (0xC4 << 20) | (Src2 << 16) | (Src << 12) \
|
||||
| (0xB << 8) | ((Dest & 0x10) << 1) | (1 << 4) | ((Dest & 0xF) >> 1));
|
||||
| (0xB << 8) | ((Dest & 0x10) << 1) | (1 << 4) | (Dest & 0xF));
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue