X64: Fix bug in a case in the MOVQ emitter : rex byte should be after the 0x66 prefix

This commit is contained in:
Henrik Rydgård 2017-07-07 11:12:08 +02:00
parent cf7939d3e4
commit 381c4ca4b2

View File

@ -1497,8 +1497,8 @@ void XEmitter::MOVQ_xmm(OpArg arg, X64Reg src)
else
{
arg.operandReg = src;
arg.WriteRex(this, 0, 0);
Write8(0x66);
arg.WriteRex(this, 0, 0);
Write8(0x0f);
Write8(0xD6);
arg.WriteRest(this, 0);