From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7593 invoked by alias); 13 Jun 2011 07:37:39 -0000 Received: (qmail 7347 invoked by uid 22791); 13 Jun 2011 07:37:37 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-pz0-f47.google.com (HELO mail-pz0-f47.google.com) (209.85.210.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 13 Jun 2011 07:37:22 +0000 Received: by pzk36 with SMTP id 36so2123656pzk.20 for ; Mon, 13 Jun 2011 00:37:20 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.125.18 with SMTP id x18mr764507wfc.207.1307950640565; Mon, 13 Jun 2011 00:37:20 -0700 (PDT) Received: by 10.143.93.4 with HTTP; Mon, 13 Jun 2011 00:37:20 -0700 (PDT) In-Reply-To: References: Date: Mon, 13 Jun 2011 09:22:00 -0000 Message-ID: Subject: Re: [patch, testsuite] Fix vectorizer testsuite failures on ARM From: Ira Rosen To: gcc-patches@gcc.gnu.org Cc: Patch Tracking Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2011-06/txt/msg00963.txt.bz2 On 9 June 2011 13:00, Ira Rosen wrote: > Hi, > > This patch fixes several vectorizer testsuite failures on ARM: > - vect-16.c checks that the vectorization fails without -ffast-math, > but -ffast-math is a default flag for vector tests on ARM. I renamed > the test to no-fast-math-vect-16.c to avoid the use of the flag for > it. > - vect-peel-3.c and vect-peel-4.c test vectorizer's peeling heuristics > ignoring double-word vectors. This patch changes the misalignment > values of the data-refs. > - bb-slp-10.c contains a misaligned store supported not only on > vect_hw_misalign targets, but also on vect_element_align targets. The > patch fixes that. > > Tested on arm-linux-gnueabi, powerpc64-suse-linux and x86_64-suse-linux. > OK for mainline? > I'll commit this patch tomorrow if nobody objects. Thanks, Ira > Thanks, > Ira > > testsuite/ChangeLog: > > =A0 =A0 =A0 * gcc.dg/vect/vect-16.c: Rename to ... > =A0 =A0 =A0 * gcc.dg/vect/no-fast-math-vect16.c: ... this. > =A0 =A0 =A0 * gcc.dg/vect/vect-peel-3.c: Adjust misalignment values > =A0 =A0 =A0 for double-word vectors. > =A0 =A0 =A0 * gcc.dg/vect/vect-peel-4.c: Likewise. > =A0 =A0 =A0 * gcc.dg/vect/bb-slp-10.c: Replace vect_hw_misalign with > =A0 =A0 =A0 vect_element_align. > =A0 =A0 =A0 * gcc.dg/vect/vect.exp: Run no-fast-math-* tests with > =A0 =A0 =A0 -fno-fast-math. >