On Tue, Sep 9, 2014 at 3:29 PM, Segher Boessenkool <seg...@kernel.crashing.org> wrote: > These patterns use subfic now. subfic clobbers the carry. Other code > already preferably uses xor. Let's do the same here. > > Bootstrapped and tested as usual, no regressions. Is this okay to apply? > > > Segher > > > 2014-09-09 Segher Boessenkool <seg...@kernel.crashing.org> > > * config/rs6000/htm.md (tabort, tabortdc, tabortdci, tabortwc, > tabortwci, tbegin, tcheck, tend, trechkpt, treclaim, tsr): Use xor > instead of minus. > * config/rs6000/vector.md (cr6_test_for_zero_reverse, > cr6_test_for_lt_reverse): Ditto.
This is okay with me, but let me give Peter a chance to comment if there was a specific reason to use subfic instead of xori. This may have been a carry-over from Z, which does not have the same CA clobber issue. Thanks, David