]> git.ipfire.org Git - thirdparty/gcc.git/commit
pdp11-protos.h (pdp11_initial_elimination_offset, [...]): New functions.
authorPaul Koning <ni1d@arrl.net>
Sat, 20 Nov 2010 19:11:32 +0000 (14:11 -0500)
committerPaul Koning <pkoning@gcc.gnu.org>
Sat, 20 Nov 2010 19:11:32 +0000 (14:11 -0500)
commit58dd8e861c8f05fac2263fa722fd846f7aacb423
tree5438898281b6802861fe1345022684ff79a3694d
parenta9aa2c3ae2aa0ccb98a04cab88c52ac76107d74c
pdp11-protos.h (pdp11_initial_elimination_offset, [...]): New functions.

* config/pdp11/pdp11-protos.h (pdp11_initial_elimination_offset,
pdp11_regno_reg_class): New functions.
* config/pdp11/pdp11.md (define_constants): Add register numbers.
* config/pdp11/pdp11.c (pdp11_regno_reg_class,
pdp11_sp_frame_offset, pdp11_initial_elimination_offset): New
functions.
* config/pdp11/pdp11.h (FIXED_REGISTERS, CALL_USED_REGISTERS): Add
frame pointer and argument pointer pseudo-registers.
(ARG_POINTER_REGNUM): Define.
(REG_CLASS_CONTENTS, REGNO_REG_CLASS): Add frame pointer and
argument pointer.
(FIRST_PARM_OFFSET): Update for argument pointer.
(INITIAL_FRAME_POINTER_OFFSET): Delete.
(ELIMINABLE_REGS, INITIAL_ELIMINATION_OFFSET): New macros.
(REGNO_OK_FOR_BASE_P, REGNO_OK_FOR_INDEX_P, REGISTER_NAMES): Add
frame pointer and argument pointer.

From-SVN: r166978
gcc/ChangeLog
gcc/config/pdp11/pdp11-protos.h
gcc/config/pdp11/pdp11.c
gcc/config/pdp11/pdp11.h
gcc/config/pdp11/pdp11.md