summaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2025-08-04 17:08:54 +0200
committerAlexander Gordeev <agordeev@linux.ibm.com>2025-08-20 16:38:23 +0200
commitde88e74889a30bd9ff4047726021cde857348b4b (patch)
tree1dd8ecc103aa0870d9b6ff09dddd8f419c20881d /rust/helpers/helpers.c
parentf9de6cdf4cf8c932ee94f6e25cd7434a97c78bf3 (diff)
s390/bitops: Slightly optimize ffs() and fls64()
Use a simpler algorithm to calculate the result of ffs() and fls64(). This generates slightly better code and increases readability. Kernel image size is reduced by ~3kb (gcc 15.1.0 + defconfig). Suggested-by: Nina Schoetterl-Glausch <nsg@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions