x86emul: fix XOP decode
authorJan Beulich <jbeulich@suse.com>
Mon, 24 Oct 2016 15:33:30 +0000 (17:33 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 24 Oct 2016 15:33:30 +0000 (17:33 +0200)
commitbfea0c1fb92e5baaf3ea97412ab61eb32e666d44
tree71c71c256a27ca8876c13f4f3d4f7bb49004ea1a
parenta134aeaa17ad3618575fac86f27246a3b2466001
x86emul: fix XOP decode

Commit f09902c456 ("x86emul: add XOP decoding") ended up overwriting b
prior to the last use of its previously stored value. SLightly defer
fetching the main opcode byte.

Reported-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Release-acked-by: Wei Liu <wei.liu2@citrix.com>
xen/arch/x86/x86_emulate/x86_emulate.c