KVM: x86 emulator: add bsf/bsr instruction emulation
authorWei Yongjun <yjwei@cn.fujitsu.com>
Tue, 10 Aug 2010 05:48:22 +0000 (13:48 +0800)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:51:04 +0000 (10:51 +0200)
commitd9574a25afc3cd7ccd6a0bc05252bb84189e4021
treedbfc28503e56516ed19bafda9e581359ef49d1e4
parent8c5eee30a942cb3154f14f12407755ed7da74bbc
KVM: x86 emulator: add bsf/bsr instruction emulation

Add bsf/bsr instruction emulation (opcode 0x0f 0xbc~0xbd)

Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/emulate.c