diff mbox series

[PULL,04/14] disas/i386: Fix disassembly of two-byte vex prefixes

Message ID 20170906144940.30880-5-richard.henderson@linaro.org
State Accepted
Commit 980edf4b694ed7a4f0b66cbfdbdc61be1b5c8738
Headers show
Series TCG misc queued patches | expand

Commit Message

Richard Henderson Sept. 6, 2017, 2:49 p.m. UTC
From: Richard Henderson <rth@twiddle.net>


Signed-off-by: Richard Henderson <rth@twiddle.net>

---
 disas/i386.c | 1 +
 1 file changed, 1 insertion(+)

-- 
2.13.5
diff mbox series

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;
     }