summaryrefslogtreecommitdiff
path: root/disas/i386.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2017-07-19 19:51:38 -1000
committerRichard Henderson <richard.henderson@linaro.org>2017-09-06 07:18:23 -0700
commit980edf4b694ed7a4f0b66cbfdbdc61be1b5c8738 (patch)
treee7ebbdbca36849911fa81ac055d40db27e62e47a /disas/i386.c
parentb32dc3370a666e237b2099c22166b15e58cb6df8 (diff)
downloadqemu-980edf4b694ed7a4f0b66cbfdbdc61be1b5c8738.zip
disas/i386: Fix disassembly of two-byte vex prefixes
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'disas/i386.c')
-rw-r--r--disas/i386.c1
1 files changed, 1 insertions, 0 deletions
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;
}