KVM: x86 emulator: Remove byte-sized MOVSX/MOVZX hack
authorAvi Kivity <avi@redhat.com>
Mon, 16 Jan 2012 13:08:45 +0000 (15:08 +0200)
committerAvi Kivity <avi@redhat.com>
Mon, 5 Mar 2012 12:52:42 +0000 (14:52 +0200)
Currently we treat MOVSX/MOVZX with a byte source as a byte instruction,
and change the destination operand size with a hack.  Change it to be
a word instruction, so the destination receives its natural size, and
change the source to be SrcMem8.

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>

No differences found