From: Julian Seward Date: Fri, 31 Oct 2008 21:27:38 +0000 (+0000) Subject: In 32-bit mode only, accept primary opcode 0x82 and treat it the same X-Git-Tag: svn/VALGRIND_3_4_1^2~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b56c0cd3951de418a81d17c81f02e0c4f3ddeb7;p=thirdparty%2Fvalgrind.git In 32-bit mode only, accept primary opcode 0x82 and treat it the same as 0x80. Fixes #172417. git-svn-id: svn://svn.valgrind.org/vex/trunk@1867 --- diff --git a/VEX/priv/guest-x86/toIR.c b/VEX/priv/guest-x86/toIR.c index 5c945353b0..7f327199ae 100644 --- a/VEX/priv/guest-x86/toIR.c +++ b/VEX/priv/guest-x86/toIR.c @@ -13643,6 +13643,9 @@ DisResult disInstr_X86_WRK ( /* ------------------------ (Grp1 extensions) ---------- */ + case 0x82: /* Grp1 Ib,Eb too. Apparently this is the same as + case 0x80, but only in 32-bit mode. */ + /* fallthru */ case 0x80: /* Grp1 Ib,Eb */ modrm = getIByte(delta); am_sz = lengthAMode(delta);