Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote: > > I didn't suggest it was free, but it might be cheaper. Besides x86/x86_64 > > has BSF/BSR instructions - though having played with Dave's algorithm > > some, I don't think they're usable for this. > > David, I don't think you've followed this saga very well. No, I didn't phrase the paragraph above very well, so let me rephrase: I think Dave's patch is _good_[*] and that BSF/BSR would _not_ be usable for it. I was thinking that reordering the bytes on LE might help, but no, it doesn't as Dave's algorithm works equally well, no matter on the order the bytes are in. David [*] Barring an extraneous semicolon already pointed out -- To unsubscribe from this list: send the line "unsubscribe linux-arch" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html