summaryrefslogtreecommitdiffstats
path: root/arch/x86/boot/memory.c
diff options
context:
space:
mode:
authorAvi Kivity <avi.kivity@gmail.com>2013-02-09 11:31:49 +0200
committerGleb Natapov <gleb@redhat.com>2013-05-21 15:43:21 +0300
commitb8c0b6ae498fe5c3f29966bd2a2d9882911b887b (patch)
treed3bc70c893d6623f4b1b70edf9cf1419accfea50 /arch/x86/boot/memory.c
parentb9fa409b00a1ed2a372758fd09f3f5df70f8d59a (diff)
KVM: x86 emulator: convert DIV/IDIV to fastop
Since DIV and IDIV can generate exceptions, we need an additional output parameter indicating whether an execption has occured. To avoid increasing register pressure on i386, we use %rsi, which is already allocated for the fastop code pointer. Gleb: added comment about fop usage as exception indication. Signed-off-by: Avi Kivity <avi.kivity@gmail.com> Signed-off-by: Gleb Natapov <gleb@redhat.com>
Diffstat (limited to 'arch/x86/boot/memory.c')
0 files changed, 0 insertions, 0 deletions