Files
xserver/dix
Alan Coopersmith 45c485bfdf dix: Use __builtin_popcountl if available to replace Ones()
If the compiler knows of a better algorithm 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.

Based on xorg/lib/libxext@490a25e6f8a4d2482af4364c700b68ad11a4d10b

v2: make old version static inline, stop exporting after !1695

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1674>
2024-10-26 10:04:13 -07:00
..
2020-07-05 13:07:33 -07:00
2003-11-14 16:49:22 +00:00
2003-11-14 15:54:54 +00:00
2024-04-15 23:10:31 +00:00
2024-10-26 16:35:57 +00:00
2024-04-15 16:19:30 -07:00
2024-03-05 16:57:52 +01:00
2013-07-23 23:56:58 +01:00