]> git.baikalelectronics.ru Git - kernel.git/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)
commit782c0694d62c999ddee18bc5370b278450965496
tree88c2407857215e60d0f47b8fd8c2cbe48a9779b1
parentbc4937f608cd47ea487e76b54e93572a4273a23f
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