lkml.org 
[lkml]   [2014]   [Mar]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 0/2] KVM: x86 emulator: emulate MOVAPS and MOVAPD SSE instructions
On 03/17/2014 10:01 AM, Paolo Bonzini wrote:
> the emulator).
>
> If CS and possibly SS are valid real mode selectors, it should be
> possible to run big real mode at almost-full speed, taking exits only
> for memory accesses via other segment registers. It is on my todo list,
> but not very high. Depending on the exit overhead, it may be a better
> idea to revert the emulate_invalid_guest_state default to N and let
> people who care about big real mode specify Y.
>

I'm not sure what you mean with "valid real mode selectors"; the normal
case in big real mode is that either CS = SS = 0 or CS = SS = <some
program base address>.

As Big Real Mode is part of the spec for certain things (option ROMs, as
we discussed) it probably matters, but especially with the CPUs not
supporting unrestricted mode fading into history I suspect it is fine
for BRM to be slow on those older processors.

The PM transitions that you mentioned are usually only a handful of
instructions and thus can be slow.

-hpa




\
 
 \ /
  Last update: 2014-03-17 19:21    [W:0.057 / U:0.744 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site