aboutsummaryrefslogtreecommitdiff
path: root/migration/xbzrle.h
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-05-17 20:00:30 -0700
committerRichard Henderson <richard.henderson@linaro.org>2023-05-23 16:51:18 -0700
commit7ba7db9fa101f59cd42cc8ead8a83b121a852943 (patch)
tree6ca3b59ea82b7d2629346e1fb88823c38bbccb30 /migration/xbzrle.h
parent1b48d0abdf3b723f2d0f91172dcc9f89d50a92ce (diff)
downloadqemu-7ba7db9fa101f59cd42cc8ead8a83b121a852943.zip
qemu-7ba7db9fa101f59cd42cc8ead8a83b121a852943.tar.gz
qemu-7ba7db9fa101f59cd42cc8ead8a83b121a852943.tar.bz2
migration/xbzrle: Use i386 host/cpuinfo.h
Perform the function selection once, and only if CONFIG_AVX512_OPT is enabled. Centralize the selection to xbzrle.c, instead of spreading the init across 3 files. Remove xbzrle-bench.c. The benefit of being able to benchmark the different implementations is less important than not peeking into the internals of the implementation. Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'migration/xbzrle.h')
-rw-r--r--migration/xbzrle.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/migration/xbzrle.h b/migration/xbzrle.h
index 6feb491..39e651b 100644
--- a/migration/xbzrle.h
+++ b/migration/xbzrle.h
@@ -18,8 +18,5 @@ int xbzrle_encode_buffer(uint8_t *old_buf, uint8_t *new_buf, int slen,
uint8_t *dst, int dlen);
int xbzrle_decode_buffer(uint8_t *src, int slen, uint8_t *dst, int dlen);
-#if defined(CONFIG_AVX512BW_OPT)
-int xbzrle_encode_buffer_avx512(uint8_t *old_buf, uint8_t *new_buf, int slen,
- uint8_t *dst, int dlen);
-#endif
+
#endif