2002-02-05 Eric Christopher <echristo@redhat.com>
commit3b5e81e2f8acf8d99216bffe2dd2a7074e92be81
authorechristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 6 Feb 2002 02:50:09 +0000 (6 02:50 +0000)
committerechristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 6 Feb 2002 02:50:09 +0000 (6 02:50 +0000)
tree9337895f122027be87b47a40122704463955bf79
parent95b4e938ced914e3ab00d12774dcb691126a02f5
2002-02-05  Eric Christopher  <echristo@redhat.com>

* config/mips/crti.asm: Add changes for mips16. mips16 uses
register 7 as RA instead of $31.
* config/mips/crtn.asm: Ditto.
* config/mips/mips.c (mips_move_2words): Add case for
TARGET_MIPS16 when HOST_BITS_PER_WIDE_INT >= 64.
(compute_frame_size): Fix typo.
(save_restore_insns): Ditto.  Make documentation about using
register $7 as return register more precise.
(mips_expand_epilogue): Fix comment. Add code to work around not
being able to add to the stack pointer directly.
* config/mips/mips.h (EH_RETURN_DATA_REGNO): Change register number
to 2 for TARGET_MIPS16 as we need 6 and 7 as clobbers in the
epilogue.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49535 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/config/mips/crti.asm
gcc/config/mips/crtn.asm
gcc/config/mips/mips.c
gcc/config/mips/mips.h