This patch adds runtime check of AVX512 on running machine and update
avx512 support for xbzrle_encode_buffer function to accelerate xbzrle
encoding speed.
The runtime check is added in meson.build and meson_options.txt.
The updated AVX512 algorithm is provided in ram.c, xbzrle.h and
xbzrle.c.
The test code is provided in test-xbzrle.c.
Previous discussion is refered below:
https://lore.kernel.org/all/YtlshIteVijWePbd@redhat.com/
ling xu (2):
Update AVX512 support for xbzrle_encode_buffer function
Test code for AVX512 support for xbzrle_encode_buffer function
meson.build | 211 +++++++++++++++++++++++++++
meson_options.txt | 28 ++++
migration/ram.c | 41 ++++++
migration/xbzrle.c | 181 +++++++++++++++++++++++
migration/xbzrle.h | 4 +
tests/unit/test-xbzrle.c | 307 ++++++++++++++++++++++++++++++++++++---
6 files changed, 755 insertions(+), 17 deletions(-)
--
2.25.1