aboutsummaryrefslogtreecommitdiff
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
parentb32dc3370a666e237b2099c22166b15e58cb6df8 (diff)
downloadqemu-980edf4b694ed7a4f0b66cbfdbdc61be1b5c8738.zip
qemu-980edf4b694ed7a4f0b66cbfdbdc61be1b5c8738.tar.gz
qemu-980edf4b694ed7a4f0b66cbfdbdc61be1b5c8738.tar.bz2
disas/i386: Fix disassembly of two-byte vex prefixes
Signed-off-by: Richard Henderson <rth@twiddle.net>
-rw-r--r--disas/i386.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/disas/i386.c b/disas/i386.c
index f1e376c..7a238b2 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;
}