From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50821) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b87Xl-0007Yj-1O for qemu-devel@nongnu.org; Wed, 01 Jun 2016 10:54:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b87Xe-0007XM-Sr for qemu-devel@nongnu.org; Wed, 01 Jun 2016 10:54:48 -0400 Received: from mx1.redhat.com ([209.132.183.28]:36969) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b87Xe-0007XI-Mx for qemu-devel@nongnu.org; Wed, 01 Jun 2016 10:54:42 -0400 From: "Dr. David Alan Gilbert (git)" Date: Wed, 1 Jun 2016 15:54:37 +0100 Message-Id: <1464792879-30954-1-git-send-email-dgilbert@redhat.com> Subject: [Qemu-devel] [PATCH v2 0/2] AVX2 configure fixes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, liang.z.li@intel.com, pbonzini@redhat.com, peter.maydell@linaro.org Cc: amit.shah@redhat.com From: "Dr. David Alan Gilbert" Hi, This pair of patches fixes a couple of issues that we found during test. The first is that the configure test is pessimistic when compiled with -O2, the second is that the explicit 4.9 gcc test is a bit coarse; I've removed that test but beefed up the ./configure test to actually use the avx2 intrinsics and that fails in the same way as the main code, so it works in the same way as the explicit check but allows older gcc's to work when -save-temps isn't used. Dave v2 Remove the explicit version check Split the patches Dr. David Alan Gilbert (2): Make avx2 configure test work with -O2 avx2 configure: Use primitives in test configure | 15 +++++++++++---- util/cutils.c | 8 +------- 2 files changed, 12 insertions(+), 11 deletions(-) -- 2.7.4