Assembly string functions in i386 libc

John Baldwin jhb at freebsd.org
Fri Jul 13 12:22:25 UTC 2007


On Friday 13 July 2007 05:29:09 am Dag-Erling Smørgrav wrote:
> "Sean C. Farley" <scf at FreeBSD.org> writes:
> > I never claimed to succeed; I only tried.  The two types of tests I can
> > think would be useful were execution of strlen() by itself and within a
> > common program.  I had thought I had tested the first type of test.
> 
> You did, but it's worthless.
> 
> If you wrote a test program that did nothing but add two numbers
> together, then profiled that program, would you then conclude that
> addition needs optimizing?

Um, des, he's asking to _remove_ the assembly optimization on i386 and just 
use the C version that other archs use.  Unless there is a compelling reason 
to keep the asm versions I agree that the C version should just be used 
instead.

-- 
John Baldwin


More information about the freebsd-arch mailing list