KVM: x86 emulator: fix negative bit offset BitOp instruction emulation
authorWei Yongjun <yjwei@cn.fujitsu.com>
Mon, 9 Aug 2010 03:34:56 +0000 (11:34 +0800)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:51:01 +0000 (10:51 +0200)
If bit offset operands is a negative number, BitOp instruction
will return wrong value. This patch fix it.

Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>

No differences found