summaryrefslogtreecommitdiff
path: root/virt
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2023-10-06 16:42:41 +0300
committerVasily Gorbik <gor@linux.ibm.com>2023-10-16 14:04:09 +0300
commit76292d7243f809486ec26dd6cd3436dbcb9e5319 (patch)
treeed94521d81a64c9e2e17d68da82a0b800516d1cb /virt
parent88b2c332fcecbcf71a5d69a214a8805cf916fbf8 (diff)
downloadlinux-76292d7243f809486ec26dd6cd3436dbcb9e5319.tar.xz
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 'virt')
0 files changed, 0 insertions, 0 deletions