Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit fb2c2641 authored by Avi Kivity's avatar Avi Kivity
Browse files

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: default avatarAvi Kivity <avi@redhat.com>
parent b3b3d25a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment