Re: [patch,avr] PR 55181 work around do_store_flag producing shifts for bit extractions

2016-08-03 Thread Denis Chertykov
2016-08-03 18:41 GMT+03:00 Georg-Johann Lay : > 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

[patch,avr] PR 55181 work around do_store_flag producing shifts for bit extractions

2016-08-03 Thread Georg-Johann Lay
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