faster memchr

duane ellis
Mon May 26 23:32:00 GMT 2008

Eric Blake wrote:
> Yet another speedup.

> (SNIP)
> And the test program:

Q: Why not put these 'test programs' as #ifdef TEST_PROGRAM inside the C 
source code to that function?

Otherwise, they will be lost for ever in the email black hole.
The test program could for example #define  somefunction  -> 

And maybe even TEST_ASM_VERSION_somefunction...

I would hate to see this sort of stuff lost.

Also - the 'test driver' you put in for some target FOO... is just as 
good for some other target BAR..

This would also show the due diligence at some point in the future...


More information about the Newlib mailing list