On Mon, Apr 26, 2021 at 03:21:30PM -0500, acsaw...@linux.ibm.com wrote: > This patch modifies the function in genfusion.pl for generating > the logical-logical patterns so that it can also generate the > add-logical and logical-add patterns which are very similar.
> + $outer_32 = "%2,%3"; > + $outer_42 = "%2,%4"; I think you had trouble thinking of good names here :-) > +mpower10-fusion-logical-add > +Target Undocumented Mask(P10_FUSION_LOGADD) Var(rs6000_isa_flags) > +Fuse certain integer operations together for better performance on power10. > + > +mpower10-fusion-add-logical > +Target Undocumented Mask(P10_FUSION_ADDLOG) Var(rs6000_isa_flags) > +Fuse certain integer operations together for better performance on power10. Do you not want to say something a little more precise here? > --- /dev/null > +++ b/gcc/testsuite/gcc.target/powerpc/fusion-p10-logadd.c > @@ -0,0 +1,98 @@ > +/* { dg-do compile { target { powerpc*-*-* } } } */ > +/* { dg-skip-if "" { powerpc*-*-darwin* } } */ Same issues here as in the previous patch. Other than those things, okay for trunk and backport to 11. Thanks! Segher