From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29275 invoked by alias); 18 Aug 2017 21:17:39 -0000 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 Received: (qmail 29261 invoked by uid 89); 18 Aug 2017 21:17:39 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-11.1 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,GIT_PATCH_3,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy= X-HELO: gate.crashing.org Received: from gate.crashing.org (HELO gate.crashing.org) (63.228.1.57) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 18 Aug 2017 21:17:38 +0000 Received: from gate.crashing.org (localhost.localdomain [127.0.0.1]) by gate.crashing.org (8.14.1/8.13.8) with ESMTP id v7ILHXHn026751; Fri, 18 Aug 2017 16:17:33 -0500 Received: (from segher@localhost) by gate.crashing.org (8.14.1/8.14.1/Submit) id v7ILHWnF026750; Fri, 18 Aug 2017 16:17:32 -0500 Date: Fri, 18 Aug 2017 22:04:00 -0000 From: Segher Boessenkool To: Will Schmidt Cc: GCC Patches , "Carl E. Love" , Bill Schmidt , David Edelsohn Subject: Re: [PATCH, rs6000] testcase coverage for vec_perm built-ins Message-ID: <20170818211731.GM13471@gate.crashing.org> References: <1502979557.14827.9.camel@brimstone.rchland.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1502979557.14827.9.camel@brimstone.rchland.ibm.com> User-Agent: Mutt/1.4.2.3i X-IsSubscribed: yes X-SW-Source: 2017-08/txt/msg01156.txt.bz2 On Thu, Aug 17, 2017 at 09:19:17AM -0500, Will Schmidt wrote: > Add testcase coverage for the vec_ld intrinsic builtins. > > Tested across power platforms (p6 and newer). OK for trunk? > * gcc.target/powerpc/fold-vec-ld-char.c: New. > * gcc.target/powerpc/fold-vec-ld-double.c: New. > * gcc.target/powerpc/fold-vec-ld-float.c: New. > * gcc.target/powerpc/fold-vec-ld-int.c: New. > * gcc.target/powerpc/fold-vec-ld-longlong.c: New. > * gcc.target/powerpc/fold-vec-ld-short.c: New. > --- /dev/null > +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-ld-float.c > @@ -0,0 +1,23 @@ > +/* Verify that overloaded built-ins for vec_ld with float > + inputs produce the right results. */ > + > +/* { dg-do compile } */ > +/* { dg-require-effective-target powerpc_vsx_ok } */ > +/* { dg-options "-maltivec -O2" } */ This is vsx_ok but you're only using -maltivec? Should it use altivec_ok instead? > @@ -0,0 +1,28 @@ > +/* Verify that overloaded built-ins for vec_ld* with long long > + inputs produce the right results. */ > + > +/* { dg-do compile { target lp64 } } */ > +/* { dg-require-effective-target powerpc_p8vector_ok } */ > +/* { dg-options "-mvsx -mpower8-vector -O2" } */ -mvsx is redundant with -mpower8-vector; remove -mvsx? Okay for trunk with those two things taken care of. Thanks, Segher