Thread (9 messages) 9 messages, 5 authors, 2008-03-05

Re: [PATCH] add strncmp to PowerPC

From: Segher Boessenkool <hidden>
Date: 2008-03-05 05:26:31
Also in: lkml

quoted
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.
But really, does it matter for strncmp() in the kernel?

Anyway, this asm code has bugs, as do both the current C version in the
kernel, and the code I posted.  We need to do better :-)


Segher
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help