This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/56219] avr-gcc-4.7.2 missing __uint24 loop optimisation
- From: "gjl at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 12 Apr 2013 20:05:11 +0000
- Subject: [Bug target/56219] avr-gcc-4.7.2 missing __uint24 loop optimisation
- Auto-submitted: auto-generated
- References: <bug-56219-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56219
Georg-Johann Lay <gjl at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |WONTFIX
--- Comment #3 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2013-04-12 20:05:11 UTC ---
Closed as WON'T FIX
It might be very well the case that code using __[u]int24 (PSImode) variables
is not compiled as efficient as could be.
Maybe some generic optimizations work also for PSImode so that you'll see
better code for PSI operations as a byproduct of some generic optimizations in
the future. But sorry, no PSI-specific optimization hacks in the avr backend
for now.
Remember that R0 is special and does not survive an insn, i.e. it's used like a
scratch register.