diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2013-09-19 11:05:32 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2013-10-24 17:16:55 +0200 |
commit | b1cb7e2b6c3e8758e7406422b66c54c066737977 (patch) | |
tree | c1ded2c6d6a2709718e25b22f36fe1442e5495a5 /arch/s390/lib/find.c | |
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>
Diffstat (limited to 'arch/s390/lib/find.c')
0 files changed, 0 insertions, 0 deletions