]> Pileus Git - ~andy/linux/commit
KVM: x86 emulator: covert SETCC to fastop
authorAvi Kivity <avi.kivity@gmail.com>
Sat, 19 Jan 2013 17:51:52 +0000 (19:51 +0200)
committerMarcelo Tosatti <mtosatti@redhat.com>
Thu, 24 Jan 2013 00:15:36 +0000 (22:15 -0200)
commit9ae9febae9500a0a6f5ce29ee4b8d942b5332529
tree88c2407857215e60d0f47b8fd8c2cbe48a9779b1
parent007a3b547512d69f67ceb9641796d64552bd337e
KVM: x86 emulator: covert SETCC to fastop

This is a bit of a special case since we don't have the usual
byte/word/long/quad switch; instead we switch on the condition code embedded
in the instruction.

Reviewed-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi.kivity@gmail.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/emulate.c