[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Support for SSE/MMX instructions.




On 20 Apr 2006, at 16:37, Petersson, Mats wrote:

1. Is anyone else working on anything like this (expanding the valid
instructions that can access memory-mapped IO to include either SSE or
MMX instructions?)

I don't think so. Best would be to move all HVM I/O emulation to the common Xen emulator (x86_emulate.c) and add the needed emulation there. Either way I expect that we will only need to emulate a very few SSE instructions (I expect this case is the result of an optimised memset()?).

2. Does anyone have a hint on how we best get the MMX and SSE registers
so that they can be accessed in hvm/platform.c?

Call unlazy_fpu(current) and then read/write the appropriate fields in
current->arch.guest_context.fpu_ctxt.

 -- Keir


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.