diff options
author | Charlie Jenkins <[email protected]> | 2024-01-08 15:57:02 -0800 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2024-01-17 17:52:29 -0800 |
commit | 1e7196fa5b0312a6a3e49e7c1300e145afcba96b (patch) | |
tree | 999227adddf6063d7dbdf1661cb2a734780f128d /tools/perf/scripts/python/export-to-sqlite.py | |
parent | b85ea95d086471afb4ad062012a4d73cd328fa86 (diff) |
asm-generic: Improve csum_fold
This csum_fold implementation introduced into arch/arc by Vineet Gupta
is better than the default implementation on at least arc, x86, and
riscv. Using GCC trunk and compiling non-inlined version, this
implementation has 41.6667%, 25% fewer instructions on riscv64, x86-64
respectively with -O3 optimization. Most implmentations override this
default in asm, but this should be more performant than all of those
other implementations except for arm which has barrel shifting and
sparc32 which has a carry flag.
Signed-off-by: Charlie Jenkins <[email protected]>
Reviewed-by: David Laight <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions