]> git.ipfire.org Git - thirdparty/gcc.git/commit
* config/h8300/h8300.c (WORD_REG_USED): Use
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 28 Jan 2004 22:00:26 +0000 (22:00 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 28 Jan 2004 22:00:26 +0000 (22:00 +0000)
commitf4ac50fb43620c3cfee38a75276bdeb5ebf31e8e
tree309cd2856bd6e42ad5ca2b6bab7846f65052369d
parent7e4136296e58fb774befc63808fa1e53dc80cec6
* config/h8300/h8300.c (WORD_REG_USED): Use
HARD_FRAME_POINTER_REGNUM instead of FRAME_POINTER_REGNUM.
(compute_saved_regs): Likewise.
(h8300_expand_prologue): Likewise.  Allocate locals after
saving registers.
(h8300_expand_epilogue): Use HARD_FRAME_POINTER_REGNUM instead
of FRAME_POINTER_REGNUM.  Deallocate locals before saving
registers.
(h8300_initial_elimination_offset): Adjust for the new frame
layout, which swaps flips the order of locals and saved
registers.
* config/h8300/h8300.h (FIRST_PSEUDO_REGISTER): Change to 12.
(HARD_FRAME_POINTER_REGNUM): New.
(ELIMINABLE_REGS): Add an elimination rule from
FRAME_POINTER_REGNUM to HARD_FRAME_POINTER_REGNUM.
(REGISTER_NAMES): Add fp.
* config/h8300/h8300.md (FP_REG): Change to 11.
(HFP_REG): New.

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