This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


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

 -- Keir

Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>