KVM: x86 emulator: Make group storage bits separate from operand bits
authorAvi Kivity <avi@redhat.com>
Mon, 26 Jul 2010 11:37:46 +0000 (14:37 +0300)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:49:55 +0000 (10:49 +0200)
commit2ce495365f6cdd5792c4db0ddb8ac8544950b671
tree93052b57aa9cbe1ab10c6644a1e57f339447badf
parent880a1883785d37287e13e4faf3fe92b294404de0
KVM: x86 emulator: Make group storage bits separate from operand bits

Currently group bits are stored in bits 0:7, where operand bits are stored.

Make group bits be 0:3, and move the existing bits 0:3 to 16:19, so we can
mix group and operand bits.

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