OSDN Git Service

* config/avr/avr.md (SREG_ADDR): Remove constant definition.
authorgjl <gjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 8 Feb 2012 16:59:17 +0000 (16:59 +0000)
committergjl <gjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 8 Feb 2012 16:59:17 +0000 (16:59 +0000)
commit72851b689c79d92cf20066ff706cfc5e06392e67
tree784f83660c11c20b5d56ebc421c3f38966d38b5d
parent8b0287e29e6ba2f51498ab6a0bbfb4d30371aafe
* config/avr/avr.md (SREG_ADDR): Remove constant definition.
(SP_ADDR): Ditto.
(RAMPZ_ADDR): Ditto.
* config/avr/avr.c (avr_addr_t): New typedef.
(avr_addr): New struct to hold RAM address of SPL, SPH, RAMPZ, SREG.
(avr_init_expanders): Initialize it.
(expand_prologue): Use avr_addr instead of RAMPZ_ADDR, SP_ADDR,
SREG_ADDR.
(expand_epilogue): Ditto.
(avr_print_operand): Ditto.
(avr_file_start): Ditto.
(avr_emit_movmemhi): Ditto.

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