faster memset

Aaron J. Grier aaron@frye.com
Thu May 22 23:57:00 GMT 2008


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



More information about the Newlib mailing list