mirror of
https://github.com/torvalds/linux.git
synced 2024-11-27 14:41:39 +00:00
d76232ff8b
The direction test inside the loop was not always completely optimized, resulting in a larger than necessary function. This change adds a direction variable that is set out of the loop. Now the function is down to 48 bytes on x86, 32 on ARM and 68 on mips. It's worth noting that other approaches were attempted (including relying on the up and down functions) but they were only slightly beneficial on x86 and cost more on others. Signed-off-by: Willy Tarreau <w@1wt.eu> Signed-off-by: Paul E. McKenney <paulmck@kernel.org> |
||
---|---|---|
.. | ||
arch-aarch64.h | ||
arch-arm.h | ||
arch-i386.h | ||
arch-mips.h | ||
arch-riscv.h | ||
arch-x86_64.h | ||
arch.h | ||
ctype.h | ||
nolibc.h | ||
std.h | ||
stdio.h | ||
stdlib.h | ||
string.h | ||
sys.h | ||
types.h |