]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
KVM: x86 emulator: add support for group decoding
authorAvi Kivity <avi@qumranet.com>
Fri, 18 Jan 2008 10:38:59 +0000 (12:38 +0200)
committerAvi Kivity <avi@qumranet.com>
Sun, 27 Apr 2008 08:53:14 +0000 (11:53 +0300)
commite09d082c03e137015bc0a17ca77e4b9dca08a5d7
treebde45c9b0015445a777f1a20a88048721d9387e3
parent1ae0a13def678876b9acfb5ac1e2cf7d5d45a60d
KVM: x86 emulator: add support for group decoding

Certain x86 instructions use bits 3:5 of the byte following the opcode as an
opcode extension, with the decode sometimes depending on bits 6:7 as well.
Add support for this in the main decoding table rather than an ad-hock
adaptation per opcode.

Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/x86/kvm/x86_emulate.c