aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/coverage/compare_gcov_json.py
diff options
context:
space:
mode:
authorAlexander Monakov <amonakov@ispras.ru>2024-02-06 23:48:05 +0300
committerRichard Henderson <richard.henderson@linaro.org>2024-05-03 08:03:05 -0700
commitcbe3d5264631aa193fd2705820cbde6c5a602abb (patch)
tree8d7c64e91e3b1e7d595c0987a4453419e922ff70 /scripts/coverage/compare_gcov_json.py
parentutil/bufferiszero: Remove AVX512 variant (diff)
downloadqemu-cbe3d5264631aa193fd2705820cbde6c5a602abb.tar.xz
qemu-cbe3d5264631aa193fd2705820cbde6c5a602abb.zip
util/bufferiszero: Reorganize for early test for acceleration
Test for length >= 256 inline, where is is often a constant. Before calling into the accelerated routine, sample three bytes from the buffer, which handles most non-zero buffers. Signed-off-by: Alexander Monakov <amonakov@ispras.ru> Signed-off-by: Mikhail Romanov <mmromanov@ispras.ru> Message-Id: <20240206204809.9859-3-amonakov@ispras.ru> [rth: Use __builtin_constant_p; move the indirect call out of line.] Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions