• Heiko Carstens's avatar
    s390/bitops: make bitops only work on longs · 6000b5f4
    Heiko Carstens authored
    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>
    6000b5f4
bitops.h 9.97 KB