x86emul: some REX related polishing
authorJan Beulich <jbeulich@suse.com>
Wed, 21 Dec 2016 15:57:34 +0000 (16:57 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 21 Dec 2016 15:57:34 +0000 (16:57 +0100)
commit3c52e84b26dad16380a7a08160aa119327ff2ffb
tree99d9b111ca8ccb8313696c04df28b0723ec3f58f
parent7844ec6b5475005ebef5c1767546482838993b7c
x86emul: some REX related polishing

While there are a few cases where it seems better to open-code REX_*
values, there's one where this clearly is a bad idea. And the SYSEXIT
emulation has no need to look at REX at all, it can simply use op_bytes
instead.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/x86_emulate/x86_emulate.c