Hi!
On Mon, Jul 24, 2017 at 01:51:20PM -0700, Carl Love wrote:
> On Fri, 2017-07-14 at 15:58 -0500, Segher Boessenkool wrote:
> > On Fri, Jul 14, 2017 at 01:20:32PM -0700, Carl Love wrote:
> > > --- /dev/null
> > > +++ b/gcc/testsuite/gcc.target/powerpc/builtins-4-p9-runnable.c
> > > @@ -0,0 +1,95 @@
> > > +/* { dg-do run { target { powerpc64*-*-* && { lp64 && p9vector_hw } } }
> > > } */
> >
> > powerpc*-*-* instead.
> >
> > > +/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } {
> > > "-mcpu=power9" } } */
> > > +/* { dg-options "-mcpu=power9 -O2 -mupper-regs-di" } */
> >
> > Does this need to be restricted to 64-bit? Please test.
I mean: do you need the "lp64". So, does
/* { dg-do run { target { powerpc*-*-* && { p9vector_hw } } } } */
work?
> The test passed for -m64 and failed on -m32
> === gcc Summary for unix/-m32 ===
>
> # of unsupported tests 1
That's not a fail. But why is it unsupported? Did you leave in
powerpc64*-*-*? Or maybe it is the -mupper-regs-di? That option is
has been deleted now btw.
Segher