diff mbox

[for-2.11,2/6] disas/i386: Fix disassembly of two-byte vex prefixes

Message ID 20170804062314.12594-3-rth@twiddle.net (mailing list archive)
State New, archived
Headers show

Commit Message

Richard Henderson Aug. 4, 2017, 6:23 a.m. UTC
Signed-off-by: Richard Henderson <rth@twiddle.net>
---
 disas/i386.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/disas/i386.c b/disas/i386.c
index f1e376ca4a..7a238b203b 100644
--- a/disas/i386.c
+++ b/disas/i386.c
@@ -3559,6 +3559,7 @@  ckvexprefix (void)
     } else {
         /* Two byte VEX prefix.  */
         newrex |= (vex2 & 0x80 ? 0 : REX_R);
+        newpfx |= PREFIX_VEX_0F;
         codep += 2;
     }