2016-08-03 18:41 GMT+03:00 Georg-Johann Lay <a...@gjlay.de>: > do_store_flag has hard-coded right shift for testing a bit, I found no way > to let the backend direct expr.c into generating an extzv. As rectifying > the middle-end is beyond by time frame, here is yet another kludge to catch > the situation by means of a pattern. > > > Also hints are welcome if I overlooked something, i.e. if there is a better > approach to fix this in the avr BE. FYI, avr has no barrel shifter and > hence shifts are very costly. > > Ok for trunk if nobody comes up with a better solution? > > Johann > > > > gcc/ > PR 55181 > * config/avr/avr.md: New pattern to work around do_store_flag > generating shift instructions for bit extractions. > >
I have no objections.