[Bug target/50465] [avr] Use insn attribute to depict if and how instruction lengths have to be adjusted
gjl at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Sep 26 12:13:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50465
--- Comment #3 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2011-09-26 11:53:55 UTC ---
Author: gjl
Date: Mon Sep 26 11:53:40 2011
New Revision: 179191
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179191
Log:
PR target/50465
* config/avr/avr-protos.h (output_reload_insisf): Don't pass insn.
* config/avr/avr.md (*reload_insi, *reload_insf): Change call to
output_reload_insisf.
(adjust_len): Set default to "no".
Remove alternative "yes". Add alternatives: "mov8", "mov16",
"mov32", "ashlqi", "ashrqi", "lshrqi", "ashlhi", "ashrhi",
"lshrhi", "ashlsi, "ashrsi", "lshrsi".
(*movqi, *movhi, *movsi, *ashlqi3, ashlhi3, ashlsi3,
*ashlhi3_const, *ashlsi3_const, ashrqi3, ashrhi3, ashrsi3,
*ashrhi3_const, *ashrsi3_const, *lshrqi3, lshrhi3, *lshrhi3_const,
*lshrsi3_const): Set attribute "adjust_len".
* config/avr/avr.c (output_reload_insisf): Remove parameter "insn".
(output_movsisf): Don't pass insn to output_reload_insisf.
(adjust_insn_length): Handle new alternatives to adjust_len.
Remove handling of ADJUST_LEN_YES. Clean-up code.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/avr/avr-protos.h
trunk/gcc/config/avr/avr.c
trunk/gcc/config/avr/avr.md
More information about the Gcc-bugs
mailing list