This patch adds avx512 support for xbzrle_encode_buffer function to accelerate xbzrle encoding speed. The specific avx512 implementation is provided in qemu/migration/xbzrle.c. We provide AVX512 intrinsic support in qemu/configure file to enable avx512 in complier. And added unit test called "test_encode_decode_random" is provided in qemu/tests/u nits/test-xbzrle.c.
ling xu (1): Add AVX512 support for xbzrle_encode_buffer function configure | 434 ++++++++++++++++++++++++++++++++++++++- migration/ram.c | 6 + migration/xbzrle.c | 177 ++++++++++++++++ migration/xbzrle.h | 4 + tests/unit/test-xbzrle.c | 307 +++++++++++++++++++++++++-- 5 files changed, 908 insertions(+), 20 deletions(-) -- 2.25.1