This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch,AVR]: Tweak decrement-and-branch peepholes


2012/2/29 Georg-Johann Lay <avr@gjlay.de>:
> The condition/branch in decrement-and-branch peepholes is ne/brcc.
>
> This can be generalized to cover eq/brcs.
>
> Tested without regressions.
>
> Because of PR52417, I had to run the tests with -fno-dse. There is one
> UNSUPPORTED because of that (missing dse dump).
>
> Ok for the trunk?
>
> Johann
>
> Â Â Â Â* config/avr/avr.md (eqne): New code iterator.
> Â Â Â Â(*dec-and-branchsi): Use it in text peephole's condition.
> Â Â Â Â(*dec-and-branchhi): Ditto.
> Â Â Â Â(*dec-and-branchqi): Ditto.

Approved.

Denis.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]