diff options
author | Avi Kivity <avi@redhat.com> | 2011-09-13 10:45:49 +0300 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-09-25 19:52:56 +0300 |
commit | c191a7a0f4d3b17cc6cee1d3f721dfe23fc7d6c6 (patch) | |
tree | 7d71811d87b84250b3f205a12ab68fd59f00b803 /lib/mpi/mpi-inline.c | |
parent | 41ddf9784cb91c9e4d3a218eef3551bebe9c7362 (diff) |
KVM: x86 emulator: streamline decode of segment registers
The opcodes
push %seg
pop %seg
l%seg, %mem, %reg (e.g. lds/les/lss/lfs/lgs)
all have an segment register encoded in the instruction. To allow reuse,
decode the segment number into src2 during the decode stage instead of the
execution stage.
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'lib/mpi/mpi-inline.c')
0 files changed, 0 insertions, 0 deletions