Hi Gerhard, On Thu, Mar 13, 2014 at 7:11 PM, Gerhard Sittig <gsi@xxxxxxx> wrote: > http://graphics.stanford.edu/~seander/bithacks.html#BitReverseObvious > and the following sections suggest that code might get less > expensive when you accept to no longer see at first glance what's > happening. Given a good identifier and an appropriate comment, > http://graphics.stanford.edu/~seander/bithacks.html#ReverseParallel > might be acceptable for mainline. I had faint memories of seeing this algorithm in the Linux kernel sources, but I can't seem to find it anymore. We do have a different implementation in lib/bitrev.c. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html