Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[ARM] Enable VMOV to move from double VFP reg to two ARM registers.
  • Loading branch information
Sonicadvance1 committed Sep 18, 2013
1 parent af951f4 commit 6fc2117
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Source/Core/Common/Src/ArmEmitter.cpp
Expand Up @@ -1150,7 +1150,10 @@ void ARMXEmitter::VMOV(ARMReg Dest, ARMReg Src)
else
{
// Move 64bit To Arm reg
_dbg_assert_msg_(DYNA_REC, false, "This VMOV doesn't support moving 64bit ARM From NEON");
ARMReg Dest2 = (ARMReg)(Dest + 1);
Src = SubBase(Src);
Write32(condition | (0xC5 << 20) | (Dest2 << 16) | (Dest << 12) \
| (0xB << 8) | ((Dest & 0x10) << 1) | (1 << 4) | (Src & 0xF));
return;
}
}
Expand Down

0 comments on commit 6fc2117

Please sign in to comment.