[Bug target/59174] [avr] Suboptimal multiplication when indexing an array
gjl at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Nov 22 13:24:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59174
Georg-Johann Lay <gjl at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
Target Milestone|--- |6.0
--- Comment #2 from Georg-Johann Lay <gjl at gcc dot gnu.org> ---
Appears this has been fixed with v6; since then the generated code reads
test:
ldi r18,lo8(12)
mul r24,r18
movw r24,r0
clr __zero_reg__
subi r24,lo8(-(foo))
sbci r25,hi8(-(foo))
ret
Closed thusly.
More information about the Gcc-bugs
mailing list