On 2/7/24 06:48, Alexander Monakov wrote:
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<mmroma...@ispras.ru>
Signed-off-by: Alexander Monakov<amona...@ispras.ru>
---
util/bufferiszero.c | 36 ++----------------------------------
1 file changed, 2 insertions(+), 34 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
Although I think this patch should be ordered second.
r~