diff options
author | Ryan Prichard <rprichard@google.com> | 2019-12-23 16:45:47 -0800 |
---|---|---|
committer | Ryan Prichard <rprichard@google.com> | 2020-01-13 13:29:25 -0800 |
commit | 129f7a1d8e63ec1e33ef8b870364cb561da4fe1e (patch) | |
tree | ce8f558b316ea990e4c1dcdd6a02e1f60e1678f4 /libc/malloc_debug/malloc_debug.cpp | |
parent | 339ecef22d17748ae7c289d974a59b97484f6896 (diff) |
Neon-optimized version of the GNU symbol calculation
On 64-bit walleye, improves the linker relocation benchmark from 71.9ms to
70.7ms (1.7% of the run-time).
On a 32-bit device, it improves the linker relocation benchmark from
205.5ms to 201.2ms (2.1% of the run-time).
$ adb shell taskset 10 /data/benchmarktest64/linker-benchmarks/linker-benchmarks --benchmark_repetitions=100 --benchmark_display_aggregates_only
--------------------------------------------------------------------
Benchmark Time CPU Iterations
--------------------------------------------------------------------
BM_gnu_hash_simple_mean 15232 ns 15212 ns 100
BM_gnu_hash_simple_median 15176 ns 15159 ns 100
BM_gnu_hash_simple_stddev 111 ns 110 ns 100
BM_gnu_hash_neon_mean 10265 ns 10252 ns 100
BM_gnu_hash_neon_median 10261 ns 10249 ns 100
BM_gnu_hash_neon_stddev 28.1 ns 23.9 ns 100
Bug: none
Test: linker-unit-tests
Test: linker-benchmarks
Change-Id: I3983bca1dddc9241bb70290ad3651d895f046660
Diffstat (limited to 'libc/malloc_debug/malloc_debug.cpp')
0 files changed, 0 insertions, 0 deletions