On Wed, May 23, 2012 at 10:11:50PM -0400, David Miller wrote: > Ok, now confirmed, the following patch generates the best code I've > been able to get out of GCC thus far, and it's tested too. > > Therefore, I'll push this out to my sparc tree. > > Next, I'll try to add the abstractions et al. necessary to put this > under the top-level lib/ so others can use it too. Sounds good, thanks for doing this. On PowerPC we have the "count leading zeroes" instructions we could use to find the position of the leftmost zero byte, so if you can conveniently make the find_zero() function overridable, that would be good. Paul. -- 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