KVM: x86 emulator: support byte/word opcode pairs
commit8d8f4e9f66ab36e4fcc75eca1e828af8466309f1
authorAvi Kivity <avi@redhat.com>
Thu, 26 Aug 2010 08:56:06 +0000 (26 11:56 +0300)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:51:35 +0000 (24 10:51 +0200)
treeeac8232b0446d4d7cd853da7d0ce5583680e8ebc
parent081bca0e6b87d0c7b9ade7ffee1f44aca336a8fa
KVM: x86 emulator: support byte/word opcode pairs

Many x86 instructions come in byte and word variants distinguished with bit
0 of the opcode.  Add macros to aid in defining them.

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/emulate.c