]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Bug 278744 cvtps2pd with redundant RexW followup.
authorMark Wielaard <mark@klomp.org>
Mon, 12 Oct 2015 20:14:48 +0000 (20:14 +0000)
committerMark Wielaard <mark@klomp.org>
Mon, 12 Oct 2015 20:14:48 +0000 (20:14 +0000)
Add correct parentheses as pointed out by GCC 4.9.2 -Wparentheses.

git-svn-id: svn://svn.valgrind.org/vex/trunk@3199

VEX/priv/guest_amd64_toIR.c

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