commit | b1cb7e2b6c3e8758e7406422b66c54c066737977 | [log] [tgz] |
---|---|---|
author | Heiko Carstens <heiko.carstens@de.ibm.com> | Thu Sep 19 11:05:32 2013 +0200 |
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | Thu Oct 24 17:16:55 2013 +0200 |
tree | c1ded2c6d6a2709718e25b22f36fe1442e5495a5 | |
parent | 746479cdcbb131a0645e8cb4a35d6b26126e3e4c [diff] |
s390/bitops: use flogr instruction to implement __ffs, ffs, __fls, fls and fls64 Since z9 109 we have the flogr instruction which can be used to implement optimized versions of __ffs, ffs, __fls, fls and fls64. So implement and use them, instead of the generic variants. This reduces the size of the kernel image (defconfig, -march=z9-109) by 19,648 bytes. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>