Skip to content

xcb_popcount: Use __builtin_popcount if compiler supports it

Alan Coopersmith requested to merge alanc/libxcb:popcount into master

If the compiler knows of a better implementation for counting the number of bits set in a word for the target CPU, let it use that, instead of the classic algorithm optimized for PDP-6.

Merge request reports

Loading