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

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

KVM: x86 emulator: centralize decoding of one-byte register access insns



Instructions like 'inc reg' that have the register operand encoded
in the opcode are currently specially decoded.  Extend
decode_register_operand() to handle that case, indicated by having
DstReg or SrcReg without ModRM.

Signed-off-by: default avatarAvi Kivity <avi@qumranet.com>
parent 3c118e24
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