[PATCH] add strncmp to PowerPC

Paul Mackerras paulus at samba.org
Wed Mar 5 15:03:46 EST 2008


Benjamin Herrenschmidt writes:

> Do we have any indication that it performs better than the C one ?

I would expect it to, given that the assembler one has two branches in
the per-byte loop compared to 3 in the C version.

Paul.



More information about the Linuxppc-dev mailing list