From patchwork Thu Oct 14 08:35:01 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H.J. Lu" X-Patchwork-Id: 67790 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 9B337B70D6 for ; Thu, 14 Oct 2010 19:35:10 +1100 (EST) Received: (qmail 7677 invoked by alias); 14 Oct 2010 08:35:08 -0000 Received: (qmail 7542 invoked by uid 22791); 14 Oct 2010 08:35:07 -0000 X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL, BAYES_00, NO_DNS_FOR_FROM, TW_IV, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mga02.intel.com (HELO mga02.intel.com) (134.134.136.20) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 14 Oct 2010 08:35:03 +0000 Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 14 Oct 2010 01:35:02 -0700 X-ExtLoop1: 1 Received: from gnu-6.sc.intel.com ([10.3.194.135]) by orsmga001.jf.intel.com with ESMTP; 14 Oct 2010 01:35:02 -0700 Received: by gnu-6.sc.intel.com (Postfix, from userid 500) id E30E0204FA; Thu, 14 Oct 2010 01:35:01 -0700 (PDT) Date: Thu, 14 Oct 2010 01:35:01 -0700 From: "H.J. Lu" To: gcc-patches@gcc.gnu.org Subject: Re: PATCH: Add more 256bit AVX testcases Message-ID: <20101014083501.GA9974@intel.com> Reply-To: "H.J. Lu" References: <20101014024400.GA13709@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20101014024400.GA13709@intel.com> User-Agent: Mutt/1.5.21 (2010-09-15) Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org On Wed, Oct 13, 2010 at 07:44:00PM -0700, H.J. Lu wrote: > Hi, > > I checked in this patch to add more 256bit AVX testcases. > > H.J. > --- > 2010-10-13 H.J. Lu > > * gcc.target/i386/recip-vec-sqrtf-avx.c: New. > * gcc.target/i386/recip-vec-divf-avx.c: Likewise. > * gcc.target/i386/vectorize4-avx.c: Likewise. > Hi, Trunk failed to vectorize gcc.target/i386/vectorize4-avx.c with 256bit vector instruction. I checked in this patch to check and xfail it. H.J. Index: gcc.target/i386/vectorize4-avx.c =================================================================== --- gcc.target/i386/vectorize4-avx.c (revision 165455) +++ gcc.target/i386/vectorize4-avx.c (working copy) @@ -11,4 +11,4 @@ calc_freq (int *dest) dest[i] = sqrt (tmp_out[i]); } -/* { dg-final { scan-assembler "vsqrtpd" } } */ +/* { dg-final { scan-assembler "vsqrtpd\[ \\t\]+\[^\n\]*%ymm" { xfail *-*-* } } } */ Index: ChangeLog =================================================================== --- ChangeLog (revision 165456) +++ ChangeLog (working copy) @@ -1,5 +1,11 @@ 2010-10-14 H.J. Lu + PR middle-end/46011 + * gcc.target/i386/vectorize4-avx.c: Scan 256bit AVX register + and xfail. + +2010-10-14 H.J. Lu + * gcc.target/i386/recip-vec-sqrtf-avx.c: Scan 256bit AVX register. * gcc.target/i386/recip-vec-divf-avx.c: Likewise.