commit | fb2c264105c64511dbd1a7488b482960895aace4 | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@redhat.com> | Mon Aug 16 17:50:56 2010 +0300 |
committer | Avi Kivity <avi@redhat.com> | Sun Oct 24 10:51:11 2010 +0200 |
tree | a91a85707f1273e3f6eda11d616d8da55556a4f9 | |
parent | b3b3d25a12986fb08666823db3e9a74649a71925 [diff] |
KVM: x86 emulator: Use a register for ____emulate_2op() destination Most x86 two operand instructions allow the destination to be a memory operand, but IMUL (for example) requires that the destination be a register. Change ____emulate_2op() to take a register for both source and destination so we can invoke IMUL. Signed-off-by: Avi Kivity <avi@redhat.com>