On Sun, Apr 02, 2017 at 09:26:24AM +0200, Andreas Schwab wrote:
> > diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-mule-misc.c 
> > b/gcc/testsuite/gcc.target/powerpc/fold-vec-mule-misc.c
> > new file mode 100644
> > index 0000000..4bb6185
> > --- /dev/null
> > +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-mule-misc.c
> > @@ -0,0 +1,61 @@
> > +/* PR target/79941 */
> > +
> > +/* { dg-do run } */
> > +/* { dg-require-effective-target powerpc_vsx_ok } */
> > +/* { dg-options "-mvsx -O2 -save-temps" } */
> 
> FAIL: gcc.target/powerpc/fold-vec-mule-misc.c execution test
> 
> $ ./fold-vec-mule-misc.exe
> Illegal instruction

It should test vsx_hw, not just vsx_ok.  I'll handle it (and the other
problem you found).  Thanks, and sorry for not spotting the problems!


Segher

Reply via email to