]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Bug 278744 cvtps2pd with redundant RexW
authorMark Wielaard <mark@klomp.org>
Mon, 12 Oct 2015 14:30:58 +0000 (14:30 +0000)
committerMark Wielaard <mark@klomp.org>
Mon, 12 Oct 2015 14:30:58 +0000 (14:30 +0000)
git-svn-id: svn://svn.valgrind.org/vex/trunk@3198

VEX/priv/guest_amd64_toIR.c

index 98596d2a53c3869f73e7b8d9b41bd7f59a7f2505..06552e8f8335bd174480849b1713259758edaa21 100644 (file)
@@ -13396,7 +13396,8 @@ Long dis_ESC_0F__SSE2 ( Bool* decode_OK,
    case 0x5A:
       /* 0F 5A = CVTPS2PD -- convert 2 x F32 in low half mem/xmm to 2 x
          F64 in xmm(G). */
-      if (haveNo66noF2noF3(pfx) && sz == 4) {
+      if (haveNo66noF2noF3(pfx)
+          && sz == 4 || /* ignore redundant REX.W */ sz == 8) {
          delta = dis_CVTPS2PD_128( vbi, pfx, delta, False/*!isAvx*/ );
          goto decode_success;
       }