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>
---
util/bufferiszero.c | 36 ++----------------------------------
1 file changed, 2 insertions(+), 34 deletions(-)