Re: Ping #1: [Patch,AVR]: Clean-up some SP insns

2011-10-05 Thread Denis Chertykov
2011/10/5 Georg-Johann Lay : > > Ping #1: http://gcc.gnu.org/ml/gcc-patches/2011-09/msg01690.html > > Georg-Johann Lay wrote: > >> This is just a code clean-up. >> >> The bulky code from *addhi3_sp_R_pc2 and *addhi3_sp_R_pc3 is done by a small >> C >> function that does the same (except that it pr

Re: Ping #1: [Patch,AVR]: Clean-up some SP insns

2011-10-05 Thread Georg-Johann Lay
Ping #1: http://gcc.gnu.org/ml/gcc-patches/2011-09/msg01690.html Georg-Johann Lay wrote: > This is just a code clean-up. > > The bulky code from *addhi3_sp_R_pc2 and *addhi3_sp_R_pc3 is done by a small C > function that does the same (except that it prints some comment depending on > -dp or -fv

Re: [Patch,AVR]: Clean-up some SP insns

2011-09-27 Thread Georg-Johann Lay
Richard Henderson schrieb: On 09/27/2011 12:56 AM, Georg-Johann Lay wrote: * config/avr/avr-protos.h (avr_out_addto_sp): New prototype. * config/avr/avr.c (avr_out_addto_sp): New function. (adjust_insn_length): Handle ADJUST_LEN_ADDTO_SP. * config/avr/avr.md (adj

Re: [Patch,AVR]: Clean-up some SP insns

2011-09-27 Thread Richard Henderson
On 09/27/2011 12:56 AM, Georg-Johann Lay wrote: > * config/avr/avr-protos.h (avr_out_addto_sp): New prototype. > * config/avr/avr.c (avr_out_addto_sp): New function. > (adjust_insn_length): Handle ADJUST_LEN_ADDTO_SP. > * config/avr/avr.md (adjust_len): Add "addto_sp". >

[Patch,AVR]: Clean-up some SP insns

2011-09-27 Thread Georg-Johann Lay
This is just a code clean-up. The bulky code from *addhi3_sp_R_pc2 and *addhi3_sp_R_pc3 is done by a small C function that does the same (except that it prints some comment depending on -dp or -fverbose-asm). *movhi_sp is an insn that should not be there and go away because it is a move insn and