On Sun, Jan 06, 2013 at 10:46:34PM -0300, Cristian Rodríguez wrote: > > with a recent compiler it goes something like this.. Actually, that's less ugly than I feared... if we wanted to pretty it up a little, we could simply omit the __get_cpuid() bit, since that's x86 specific, and just use the __builtin_cpu_supports() if it is available on gcc 4.8 and newer. If it is not available, we could just always use the software version of popcnt, since it's really not that bad. What about the people who prefer to use clang instad of gcc; does clang have support for any of this magic? Cheers, - Ted -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html