[lkml]   [1998]   [Aug]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: 2.1.120pre2: Bug in strnicmp() noted in 2.1.119pre1 is still there!

On Mon, 31 Aug 1998, Hans Eric wrote:
> Cool, creative use of gotos keeps nested ifs to a minimum. Since this seems to
> be hand optimized code you might as well move s1++;s2++ after the if
> statements to save some cycles. That is if the compiler does'nt catch it.

Actually, it's done the way it's done exactly to _not_ let the compiler
catch on.

In most architectures there's a load-use penalty, so doing the load and
immediately testing for zero is bad - while doing the load and updating
the address can essentially be done in parallel.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:44    [W:0.127 / U:0.812 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site