Skip to content
Commit 6000b5f4 authored by Heiko Carstens's avatar Heiko Carstens
Browse files

s390/bitops: make bitops only work on longs



The bitops code was optimized to generate test under mask instructions
with the __bitops_byte() helper. However that was many years ago and
in the meantime a lot of new instructions were introduced.

Changing the code so that it always operates on longs nowadays even
generates shorter code (~ -20kb, defconfig, gcc 10, march=zE12).

Signed-off-by: default avatarHeiko Carstens <hca@linux.ibm.com>
parent 17a363dc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment