[Bug target/33049] [avr] bit extraction non optimal, inversing logic solves problem

gjl at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue May 17 19:11:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33049

--- Comment #10 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2011-05-17 18:57:39 UTC ---
Created attachment 24264
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24264
Proposed patch.

Proposed Patch (also compatible with older versions of GCC).

The insn needs at most 3 instructions and does not put pressure on d-regs.

* config/avr/avr.md ("*extzv"): New insn.



More information about the Gcc-bugs mailing list