This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: faster memset
- From: "Aaron J. Grier" <aaron at frye dot com>
- To: newlib at sources dot redhat dot com
- Date: Thu, 22 May 2008 13:32:42 -0700
- Subject: Re: faster memset
- References: <loom.20080522T163258-884@post.gmane.org>
On Thu, May 22, 2008 at 04:56:54PM +0000, Eric Blake wrote:
> My patched assembly is no longer sensitive to alignment, and always
> gets the speed of 8-byte alignment. This clinches it - for memset,
> x86 assembly is noticeably faster than C.
have you done comparisons with the builtin memset() in recent versions
of gcc?
--
Aaron J. Grier | Frye Electronics, Tigard, OR | aaron@frye.com