util/bufferiszero: Remove AVX512 variant
commitd018425c324704949c7f65230def9586e71f07f5
authorAlexander Monakov <amonakov@ispras.ru>
Wed, 14 Feb 2024 20:34:24 +0000 (14 10:34 -1000)
committerRichard Henderson <richard.henderson@linaro.org>
Fri, 3 May 2024 15:03:04 +0000 (3 08:03 -0700)
tree26e879da3080a76e0e2b15f55f5453856d191142
parent8a917b99d5394d34ffcd851c8b287ced6eb48133
util/bufferiszero: Remove AVX512 variant

Thanks to early checks in the inline buffer_is_zero wrapper, the SIMD
routines are invoked much more rarely in normal use when most buffers
are non-zero. This makes use of AVX512 unprofitable, as it incurs extra
frequency and voltage transition periods during which the CPU operates
at reduced performance, as described in
https://travisdowns.github.io/blog/2020/01/17/avxfreq1.html

Signed-off-by: Mikhail Romanov <mmromanov@ispras.ru>
Signed-off-by: Alexander Monakov <amonakov@ispras.ru>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20240206204809.9859-4-amonakov@ispras.ru>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
util/bufferiszero.c