Home
last modified time | relevance | path

Searched hist:"27 f08ea1c7abf04125f6f9f23b8ba2f8c20e95b6" (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/include/qemu/
H A Dcpuid.hdiff 27f08ea1c7abf04125f6f9f23b8ba2f8c20e95b6 Sat Feb 29 06:34:35 CST 2020 Robert Hoo <robert.hu@linux.intel.com> util: add util function buffer_zero_avx512()

And intialize buffer_is_zero() with it, when Intel AVX512F is
available on host.

This function utilizes Intel AVX512 fundamental instructions which
is faster than its implementation with AVX2 (in my unit test, with
4K buffer, on CascadeLake SP, ~36% faster, buffer_zero_avx512() V.S.
buffer_zero_avx2()).

Signed-off-by: Robert Hoo <robert.hu@linux.intel.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
/openbmc/qemu/util/
H A Dbufferiszero.cdiff 27f08ea1c7abf04125f6f9f23b8ba2f8c20e95b6 Sat Feb 29 06:34:35 CST 2020 Robert Hoo <robert.hu@linux.intel.com> util: add util function buffer_zero_avx512()

And intialize buffer_is_zero() with it, when Intel AVX512F is
available on host.

This function utilizes Intel AVX512 fundamental instructions which
is faster than its implementation with AVX2 (in my unit test, with
4K buffer, on CascadeLake SP, ~36% faster, buffer_zero_avx512() V.S.
buffer_zero_avx2()).

Signed-off-by: Robert Hoo <robert.hu@linux.intel.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>