* config/avr/avr.md (UNSPECV_WRITE_SP_IRQ_ON): New constants.
authoraesok <aesok@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 31 May 2008 15:01:16 +0000 (15:01 +0000)
committeraesok <aesok@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 31 May 2008 15:01:16 +0000 (15:01 +0000)
commite858c92304a22e56e8b23d26a68521ef9a077ce2
tree73ff27f3d67fad9fc3708299409936b8bb768ea0
parentb3b7419f70aca999e8d2c78336822351fed43cc1
* config/avr/avr.md (UNSPECV_WRITE_SP_IRQ_ON): New constants.
(UNSPECV_WRITE_SP_IRQ_OFF): (Ditto.).
(movhi_sp_r_irq_off, movhi_sp_r_irq_on): New insn.
* config/avr/avr.c (expand_prologue, expand_epilogue): Use
movhi_sp_r_irq_off and movhi_sp_r_irq_on insns for writing to the
stack pointer register.
(output_movhi): Remove code for interrupt specific writing to the
stack pointer register.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136238 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/avr/avr.c
gcc/config/avr/avr.md