[PATCH] Mantaining turnstile aligned to 128 bytes in i386 CPUs

Ivan Voras ivoras at fer.hr
Tue Jan 16 23:05:46 UTC 2007


Kip Macy wrote:
> On 1/16/07, Ivan Voras <ivoras at fer.hr> wrote:
>> But it does seem to hurt the performance a bit - maybe it's time to add
>> another CPU option like I586_CPU and I686_CPU?
> 
> Unless there is a compelling reason not to do so, I think that that
> would be a good idea.

Maybe even someone finds a way to get optimized versions of memcpy in
the kernel :)

I was thinking: AFAIK the only major stopper is context saving of the
various "auxiliary" registers - FPU, MMX, SSE, right? But is it an
all-or-nothing situation? I.e. does it make sense (can it be done?) to
just elect to save the MMX context? (AFAIK they are different registers
than SSE, but overlay FPU registers?) The idea is to save something
smaller than the full set.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20070116/82b88d17/signature.pgp


More information about the freebsd-current mailing list