diff options
author | Radovan Obradovic <robradovic@mips.com> | 2014-05-29 08:59:08 +0000 |
---|---|---|
committer | Tom de Vries <vries@gcc.gnu.org> | 2014-05-29 08:59:08 +0000 |
commit | c2db3f3d39a5e955c0739367332cb4f3ee5ca890 (patch) | |
tree | 9f9a483656688d27a979e680fda462192b02869f /gcc/collect2.c | |
parent | 41455f89185c4cf265d15e6d4e2af546514e85db (diff) | |
download | gcc-c2db3f3d39a5e955c0739367332cb4f3ee5ca890.zip gcc-c2db3f3d39a5e955c0739367332cb4f3ee5ca890.tar.gz gcc-c2db3f3d39a5e955c0739367332cb4f3ee5ca890.tar.bz2 |
-fuse-caller-save - Enable for MIPS
2014-05-29 Radovan Obradovic <robradovic@mips.com>
Tom de Vries <tom@codesourcery.com>
* config/mips/mips.h (POST_CALL_TMP_REG): Define.
* config/mips/mips.c (mips_emit_call_insn): Add POST_CALL_TMP_REG
clobber.
(mips_split_call): Use POST_CALL_TMP_REG.
(TARGET_CALL_FUSAGE_CONTAINS_NON_CALLEE_CLOBBERS): Redefine to true.
* gcc.target/mips/mips.exp: Add use-caller-save to -ffoo/-fno-foo
options.
* gcc.target/mips/fuse-caller-save.h: New include file.
* gcc.target/mips/fuse-caller-save.c: New test.
* gcc.target/mips/fuse-caller-save-mips16.c: Same.
* gcc.target/mips/fuse-caller-save-micromips.c: Same.
Co-Authored-By: Tom de Vries <tom@codesourcery.com>
From-SVN: r211049
Diffstat (limited to 'gcc/collect2.c')
0 files changed, 0 insertions, 0 deletions