diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-03-02 12:01:54 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-03-08 22:11:43 +0000 |
commit | 86a478032ba93f30adbc0ce96eecd3420fdf7ed1 (patch) | |
tree | a0edea6a203f9995a8b37445c76646708ee2adeb /COPYING | |
parent | c268499c305317d2e9a67cc590c9147e11438fc7 (diff) |
xcb_popcount: Use __builtin_popcount if compiler supports it
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.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions