[PATCH, rs6000] Update altivec-7 testcase(s).

Will Schmidt will_schmidt@vnet.ibm.com
Fri Feb 23 16:35:00 GMT 2018


On Thu, 2018-02-22 at 12:06 -0600, Segher Boessenkool wrote:
> Hi Will,
> 
> On Wed, Feb 21, 2018 at 11:33:14AM -0600, Will Schmidt wrote:
> >   This patch moves the vsx related content from the altivec-7-be test into
> > a new vsx-7-be test.
> > This fixes up some test failures as seen on older power systems.
> 
> > --- /dev/null
> > +++ b/gcc/testsuite/gcc.target/powerpc/vsx-7-be.c
> > @@ -0,0 +1,42 @@
> > +/* { dg-do compile { target powerpc64-*-* } } */
> 
> powerpc*-*-* please, and if you need 64-bit use lp64.

Thats an existing thing to help indicate 'be' versus 'le'.

altivec-7-be.c:/* { dg-do compile { target powerpc64-*-* } } */
altivec-7-le.c:/* { dg-do compile { target powerpc64le-*-* } } */

but yeah, we are potentially missing coverage for -m32. 

Should I instead try to combine the le,be tests, and set target markers
on any le/be unique scan-assembler stanzas?


> Otherwise fine.  Okay for trunk with that fixed.  Thanks!
> 
> (Is it useful to copy the altivec stuff here though?  The altivec-7-be
> test will be run as well).
> 
> 
> Segher
> 




More information about the Gcc-patches mailing list