KVM: x86 emulator: fix Src2CL decode
commit275b769670549775e9c1ffe86d0210df17953355
authorAvi Kivity <avi@redhat.com>
Tue, 13 Sep 2011 07:45:38 +0000 (13 10:45 +0300)
committerMarcelo Tosatti <mtosatti@redhat.com>
Wed, 14 Sep 2011 11:10:33 +0000 (14 08:10 -0300)
tree52c9ff3d0c3683e1d6af9da9473ded03ca4db956
parent52164db3d717607d90ec7656520e3c69db74ef74
KVM: x86 emulator: fix Src2CL decode

Src2CL decode (used for double width shifts) erronously decodes only bit 3
of %rcx, instead of bits 7:0.

Fix by decoding %cl in its entirety.

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