On Wed, Feb 14, 2018 at 05:02:19PM -0600, Peter Bergner wrote:
> On 2/14/18 4:47 PM, Will Schmidt wrote:
> > -/* { dg-options "-maltivec -mvsx -mpower8-vector" } */
> > +/* { dg-options "-mpower8-vector -mcpu=power8 -O2" } */
> 
> [snip]
> 
> > -/* { dg-options "-maltivec -mvsx -mcpu=power9 -O2" } */
> > +/* { dg-options "-mpower9-vector -mcpu=power9 -O2" } */
> 
> As we discussed offline, I don't know why we need -mpower[89]-vector
> in dg-options if we're already specifying -mcpu=power[89].
> Those are both implied by the -mcpu=power[89] options.

Yes, or the other way around.  -mcpu= has the advantage that it fixes
more variables (scheduling model, potentially some instruction selection,
etc.; -mpower9-vector has the advantage that you do not need the skip-if-
some-other-cpu-is-already-set dance.  Will, your choice.

If you want to change it, please first do so on trunk.


Segher

Reply via email to