summaryrefslogtreecommitdiff
path: root/mm/bootmem.c
diff options
context:
space:
mode:
authorAvi Kivity <avi.kivity@gmail.com>2013-02-09 11:31:45 +0200
committerGleb Natapov <gleb@redhat.com>2013-05-21 15:43:16 +0300
commit820207c8fc508be8f104d4d6b19c8f695fe0d5f3 (patch)
treea9e4a3c869df5f87c43a63601e119a4f3af317fe /mm/bootmem.c
parentfb32b1eda29f2040148b0e172f9cbbd2f07697e4 (diff)
KVM: x86 emulator: decode extended accumulator explicity
Single-operand MUL and DIV access an extended accumulator: AX for byte instructions, and DX:AX, EDX:EAX, or RDX:RAX for larger-sized instructions. Add support for fetching the extended accumulator. In order not to change things too much, RDX is loaded into Src2, which is already loaded by fastop(). This avoids increasing register pressure on i386. Gleb: disable src writeback for ByteOp div/mul. Signed-off-by: Avi Kivity <avi.kivity@gmail.com> Signed-off-by: Gleb Natapov <gleb@redhat.com>
Diffstat (limited to 'mm/bootmem.c')
0 files changed, 0 insertions, 0 deletions