diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2023-10-06 15:42:41 +0200 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2023-10-16 13:04:09 +0200 |
commit | 76292d7243f809486ec26dd6cd3436dbcb9e5319 (patch) | |
tree | ed94521d81a64c9e2e17d68da82a0b800516d1cb /arch/s390/kvm | |
parent | 88b2c332fcecbcf71a5d69a214a8805cf916fbf8 (diff) |
s390: provide word-at-a-time implementation
Provide an s390 specific word-at-a-time implementation. Compared to the
generic variant the generated code for has_zero() is slightly
better. However find_zero() is much simpler since it reuses the result
of __fls() aka flogr() and now comes without any conditional branches,
while the generic variant has three of them.
Reviewed-by: Sven Schnelle <svens@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'arch/s390/kvm')
0 files changed, 0 insertions, 0 deletions