]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
My life is one endless stream of small things which don't quite work.
authorJulian Seward <jseward@acm.org>
Thu, 7 Jul 2005 14:15:35 +0000 (14:15 +0000)
committerJulian Seward <jseward@acm.org>
Thu, 7 Jul 2005 14:15:35 +0000 (14:15 +0000)
This time it's gcc giving us an instruction with REX.W redundantly set
to 1.

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

VEX/priv/guest-amd64/toIR.c

index 8d38f1917cb02925db5d250dca0c2bc6a44a7ebf..c0218d97b93f6d86dd6a53823429230601d7900c 100644 (file)
@@ -3538,7 +3538,7 @@ ULong dis_Grp5 ( Prefix pfx, Int sz, Long delta, DisResult* dres )
             break;
          case 4: /* jmp Ev */
             /* Ignore any sz value and operate as if sz==8. */
-            vassert(sz == 4);
+            vassert(sz == 4 || sz == 8);
             sz = 8;
             t3 = newTemp(Ity_I64);
             assign(t3, getIRegE(sz,pfx,modrm));