KVM: x86 emulator: simplify ALU opcode block decode further
authorAvi Kivity <avi@redhat.com>
Thu, 26 Aug 2010 15:34:55 +0000 (18:34 +0300)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:51:43 +0000 (10:51 +0200)
commit6230f7fc0453c5bc5daa8e053773021e1c4a2f16
tree28f25a18011c75a61ee4058739dcbdedc6aaf823
parent217fc9cfca21a0bc2f4246183ebd8ee9863b019d
KVM: x86 emulator: simplify ALU opcode block decode further

The ALU opcode block is very regular; introduce D6ALU() to define decode
flags for 6 instructions at a time.

Suggested by Paolo Bonzini.

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