diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2024-06-09 21:02:19 +0200 |
---|---|---|
committer | Alexander Gordeev <agordeev@linux.ibm.com> | 2024-06-24 11:12:39 +0200 |
commit | 7c67928648188d193c9f73679f7e6aa67d088237 (patch) | |
tree | 6fad25c850bde3014c0db794ce7f050f456ab360 /arch/s390/mm/init.c | |
parent | 447360d75cf473d4b1048a7204443262f3f60758 (diff) |
s390: Provide optimized __arch_hweight*() implementations
Make use of the popcnt instruction to provide optimized __arch_hweight*()
implementations. The generated code is shorter and avoids rather expensive
functions calls.
Acked-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Diffstat (limited to 'arch/s390/mm/init.c')
0 files changed, 0 insertions, 0 deletions