KVM: x86 emulator: fix Src2CL decode
authorAvi Kivity <avi@redhat.com>
Tue, 13 Sep 2011 07:45:38 +0000 (10:45 +0300)
committerAvi Kivity <avi@redhat.com>
Sun, 25 Sep 2011 16:14:58 +0000 (19:14 +0300)
commit9be3be1f153e90ea4e1e5b6ed1d72a73d44318d1
treed3abe3c1ccbbf46af58b8d737821cef6e80ebd84
parent41bc3186b3c92a4ca05e2aa14bb6272fb491e679
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