aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-optimize.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-01-28 22:00:26 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-01-28 22:00:26 +0000
commit1807b72620dcd77c6542552e83b26683a177199d (patch)
tree309cd2856bd6e42ad5ca2b6bab7846f65052369d /gcc/tree-optimize.c
parentff4cf05b3d1cbab6af68db369f277bafa58ce139 (diff)
downloadgcc-1807b72620dcd77c6542552e83b26683a177199d.zip
gcc-1807b72620dcd77c6542552e83b26683a177199d.tar.gz
gcc-1807b72620dcd77c6542552e83b26683a177199d.tar.bz2
h8300.c (WORD_REG_USED): Use HARD_FRAME_POINTER_REGNUM instead of FRAME_POINTER_REGNUM.
* 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. From-SVN: r76811
Diffstat (limited to 'gcc/tree-optimize.c')
0 files changed, 0 insertions, 0 deletions