summary refs log tree commit diff stats
path: root/plugins/api.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2024-02-10 00:02:17 +0000
committerRichard Henderson <richard.henderson@linaro.org>2024-05-03 08:03:35 -0700
commit22437b4de94c37e6104d90d46b31d80cf14358d4 (patch)
treeb849d2df917884f0bb140e9d0f5308ae0ca10d86 /plugins/api.c
parentbf67aa3dd2d8b28d7618d8ec62cd9f6055366751 (diff)
downloadfocaccia-qemu-22437b4de94c37e6104d90d46b31d80cf14358d4.tar.gz
focaccia-qemu-22437b4de94c37e6104d90d46b31d80cf14358d4.zip
util/bufferiszero: Add simd acceleration for aarch64
Because non-embedded aarch64 is expected to have AdvSIMD enabled, merely
double-check with the compiler flags for __ARM_NEON and don't bother with
a runtime check.  Otherwise, model the loop after the x86 SSE2 function.

Use UMAXV for the vector reduction.  This is 3 cycles on cortex-a76 and
2 cycles on neoverse-n1.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'plugins/api.c')
0 files changed, 0 insertions, 0 deletions