Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[ARM] Fix the VMOV encoding to encode the destination VFP register co…
…rrectly.
  • Loading branch information
Sonicadvance1 committed Aug 30, 2013
1 parent 2c1337e commit 710ac04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Core/Common/Src/ArmEmitter.cpp
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 710ac04

Please sign in to comment.