On Fri, Feb 23, 2018 at 10:35:43AM -0600, Will Schmidt wrote:
> On Thu, 2018-02-22 at 12:06 -0600, Segher Boessenkool wrote:
> > 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'.

But it does not really work.

> 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?

We really want "we're compiling for BE / LE" targets selectors.  I'll
look into it, I guess.


Segher

Reply via email to