On Fri, Sep 15, 2017 at 10:06:40AM -0500, Will Schmidt wrote:
>   This is a test created during investigation of the feedback on
> the rs6000 gimple vector folding code, regarding the handling of
> arg1_type.  Inspired by feedback from Richard and Bill.
> 
> This was useful to illustrate the issue to me.  Whether this is a
> valid test for the testsuite I'll defer to the judgement of the
> maintainers.. :-)
Looks fine to me, except one thing:

> +/* { dg-do compile { target lp64 } } */
> +/* { dg-require-effective-target powerpc_vsx_ok } */
> +/* { dg-options "-mvsx -O2 -mpower8-vector -fdump-tree-gimple" } */

If you use -mpower8-vector (do you need it?), you should use

/* { dg-require-effective-target powerpc_p8vector_ok } */

(instead of the vsx_ok, which is then implied).

Okay for trunk with that fixed.  Thanks,


Segher

Reply via email to