Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Dec 2001 17:20:08 -0800
From:      Mike Smith <msmith@freebsd.org>
To:        Duraid Madina <duraid@fl.net.au>
Cc:        hackers@freebsd.org, msmith@mass.dis.org
Subject:   Re: SSE bcopy etc. 
Message-ID:  <200112290120.fBT1K8F16931@mass.dis.org>
In-Reply-To: Message from Duraid Madina <duraid@fl.net.au>  of "Sat, 29 Dec 2001 11:36:31 %2B1100." <3C2D100F.80303@fl.net.au> 

next in thread | previous in thread | raw e-mail | index | archive | help
>     Has anyone considered adding Pentium 2/3/4/Athlon/Athlon XP support 
> to the low level string/bytecopy routines? If we just supported SSE (1) 
> that'd get us (okay, me) a pretty nice performance boost on the P2, P3, 
> P4 and Athlon XP, all in one hit. These days, the "average" new computer 
> supports SSE, and since the GCC 3.x/binutils folk are on their way to 
> supporting this stuff in a Standard way (e.g. '-msse', '-march=athlon' 
> etc.) maybe it's time to code something up?

This is less of a win than it seems, since it means that you have to
save/restore FPU context if the current process is using the FPU.
These saves are expensive, and mean that the SSE-enhanced copy is only
faster for large-ish copies.  Page-sized copies and zeroes would be
improved substantially.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112290120.fBT1K8F16931>