From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40945) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjqIl-0003LC-H5 for qemu-devel@nongnu.org; Tue, 13 Sep 2016 12:11:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bjqIg-0001vj-6L for qemu-devel@nongnu.org; Tue, 13 Sep 2016 12:11:14 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:36022) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjqIf-0001vH-W5 for qemu-devel@nongnu.org; Tue, 13 Sep 2016 12:11:10 -0400 Received: by mail-wm0-f65.google.com with SMTP id b184so3071091wma.3 for ; Tue, 13 Sep 2016 09:11:09 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Date: Tue, 13 Sep 2016 18:09:55 +0200 Message-Id: <1473783005-113609-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH v4 00/10] Improve buffer_is_zero List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: rth@twiddle.net Some reorganization of Richard's patches that helped me find the problem with the AVX version. The new patch is an adaptation of the SSE4 version using ptest, before the final rewrite that includes unaligned buffer support. Paolo Paolo Bonzini (1): cutils: Add SSE4 version Richard Henderson (9): cutils: Move buffer_is_zero and subroutines to a new file cutils: Remove SPLAT macro cutils: Export only buffer_is_zero cutils: Rearrange buffer_is_zero acceleration cutils: Remove aarch64 buffer zero checking cutils: Remove ppc buffer zero checking cutils: Add test for buffer_is_zero cutils: Add generic prefetch cutils: Rewrite x86 buffer zero checking configure | 21 +--- include/qemu/cutils.h | 3 +- migration/ram.c | 2 +- migration/rdma.c | 5 +- tests/Makefile.include | 3 + tests/test-bufferiszero.c | 78 +++++++++++++ util/Makefile.objs | 1 + util/bufferiszero.c | 274 ++++++++++++++++++++++++++++++++++++++++++++++ util/cutils.c | 244 ----------------------------------------- 9 files changed, 365 insertions(+), 266 deletions(-) create mode 100644 tests/test-bufferiszero.c create mode 100644 util/bufferiszero.c -- 1.8.3.1