]> git.ipfire.org Git - thirdparty/gcc.git/commit
mips.h (STATIC_CHAIN_REGNUM): Remap to $15.
authorRichard Sandiford <rdsandiford@googlemail.com>
Sat, 9 Aug 2008 18:11:19 +0000 (18:11 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Sat, 9 Aug 2008 18:11:19 +0000 (18:11 +0000)
commite538e028ec41ada02fa243b25a88b47b1a6d030b
tree38db689918460ec7f1bb4f5cf2cee25d2b6952b4
parentb2b6160771d3f0fb783b7f18a3a015126e55ead3
mips.h (STATIC_CHAIN_REGNUM): Remap to $15.

gcc/
* config/mips/mips.h (STATIC_CHAIN_REGNUM): Remap to $15.
(FUNCTION_PROFILER): Save the static chain pointer into $2
beforehand and restore it aftewards.
(TRAMPOLINE_TEMPLATE): Adjust accordingly.  Load the target
address directly into $25 and call the function through $25;
do not clobber $3.  Pad the DImode version to cover the space
left by the deleted $25 <- $3 move.
(TRAMPOLINE_SIZE): Adjust the size of the SImode version after
the removal of the $25 <- $3 move.
(INITIALIZE_TRAMPOLINE): Update offsets accordingly.
* config/mips/sdemtk.h (FUNCTION_PROFILER): As for mips.h.

From-SVN: r138909
gcc/ChangeLog
gcc/config/mips/mips.h
gcc/config/mips/sdemtk.h