diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2025-09-16 15:48:02 +0200 |
---|---|---|
committer | Alexander Gordeev <agordeev@linux.ibm.com> | 2025-09-18 14:06:40 +0200 |
commit | 79161603952c842eb22313f2060051b359b0a592 (patch) | |
tree | 0fa4197ad426e1eac6b44b3acf6103c5278e85d1 /scripts/extract-fwblobs | |
parent | f72e2cff13aefe305fc8fc6afe4f43626e4ad88c (diff) |
s390/bitops: Use __assume() for __flogr() inline assembly return value
Use __assume() to tell compilers that the output operand of the __flogr()
inline assembly contains a value in the range of 0..64. This allows to
optimize the logical AND operation away.
This reduces the kernel image size by 2804 bytes (defconfig, gcc 15.2.0).
Suggested-by: Juergen Christ <jchrist@linux.ibm.com>
Reviewed-by: Juergen Christ <jchrist@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Diffstat (limited to 'scripts/extract-fwblobs')
0 files changed, 0 insertions, 0 deletions