Gcc builtin review: memchr, memrchr, rawmemchr

Ondřej Bílka neleai@seznam.cz
Wed May 27 06:36:00 GMT 2015


On Mon, May 25, 2015 at 12:55:40PM +0200, Ondřej Bílka wrote:
> Gcc doesn't do any optimizations with these but misses several.
> 
Also next optimization is that memchr(s, 0, n) could be converted to
calling strnlen (s, n) and converting result.



More information about the Libc-alpha mailing list