]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf3e1063a95828ad84f04b172d4a3288866539196
tree28f25a18011c75a61ee4058739dcbdedc6aaf823
parentc9591ebc706049bac0706cb6a2c8e479baa7278e
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