This patch updates code of avx512 support for xbzrle_encode_buffer function. We modified code of algorithm and check of avx512. Besides, we provide benchmark in xbzrle-bench.c for performance comparison.
Signed-off-by: ling xu <[email protected]> Co-authored-by: Zhou Zhao <[email protected]> Co-authored-by: Jun Jin <[email protected]> ling xu (2): Update AVX512 support for xbzrle_encode_buffer Unit test code and benchmark code meson.build | 16 ++ meson_options.txt | 2 + migration/ram.c | 34 ++- migration/xbzrle.c | 124 ++++++++++ migration/xbzrle.h | 4 + tests/bench/meson.build | 4 + tests/bench/xbzrle-bench.c | 465 +++++++++++++++++++++++++++++++++++++ tests/unit/test-xbzrle.c | 39 +++- 8 files changed, 680 insertions(+), 8 deletions(-) create mode 100644 tests/bench/xbzrle-bench.c -- 2.25.1
