2012/2/23 Georg-Johann Lay <a...@gjlay.de>: > This mini-patch extends some combine patterns that used IOR to also match > for XOR in a similar way. > > Bottom line is always that when performing IOR or XOR, only portions > in non-zero bytes matter and zero-bytes that come from zero-extends > or shifts need not to be XORed/IORed. > > The patch just replaces ior with the new xior code iterator. > > Passes avr test suite without regressions. > > Ok for trunk? > > Johann > > * config/avr/avr.md (code_stdname): Add ior, xor. > (xior): New code iterator. > (*<code_stdname><mode>qi.byte0): Use xior instead of ior. > (*<code_stdname><mode>qi.byte1-3): Ditto.
Please, commit. Denis.