From 381c4ca4b2367aa492a0c8ec2992a54e24f99d3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Fri, 7 Jul 2017 11:12:08 +0200 Subject: [PATCH] X64: Fix bug in a case in the MOVQ emitter : rex byte should be after the 0x66 prefix --- Common/x64Emitter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Common/x64Emitter.cpp b/Common/x64Emitter.cpp index 30ad2a6b90..539fc7eeae 100644 --- a/Common/x64Emitter.cpp +++ b/Common/x64Emitter.cpp @@ -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);