amd64/73111: Optimized libc string functions missing for amd64
will at iki.fi
Mon Oct 25 05:00:57 PDT 2004
>Synopsis: Optimized libc string functions missing for amd64
>Arrival-Date: Mon Oct 25 12:00:56 GMT 2004
>Originator: Ville-Pertti Keinonen
Using optimized assembly language versions of string functions on amd64 (this is already done on other architectures) would probably be a good idea.
Functions adapted from NetBSD (which can be extracted into /usr/src for inclusion in a buildworld) are available at the following URL:
I mentioned the issue on -current, but this didn't result in any discussion.
The NetBSD functions may or may not all be desirable in their current form; some of the functions have extensive unrolling and may produce a performance penalty for short strings (but a huge advantage for longer ones).
More information about the freebsd-amd64