From: Julian Seward Date: Thu, 7 Jul 2005 14:15:35 +0000 (+0000) Subject: My life is one endless stream of small things which don't quite work. X-Git-Tag: svn/VALGRIND_3_0_1^2~67 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d0b682ed23b8caa885c1de5c9fb4c86bdbc3d58;p=thirdparty%2Fvalgrind.git My life is one endless stream of small things which don't quite work. 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 --- diff --git a/VEX/priv/guest-amd64/toIR.c b/VEX/priv/guest-amd64/toIR.c index 8d38f1917c..c0218d97b9 100644 --- a/VEX/priv/guest-amd64/toIR.c +++ b/VEX/priv/guest-amd64/toIR.c @@ -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));