diff options
author | Radovan Obradovic <robradovic@mips.com> | 2014-06-18 15:50:59 +0000 |
---|---|---|
committer | Tom de Vries <vries@gcc.gnu.org> | 2014-06-18 15:50:59 +0000 |
commit | 7a32d6c491b450dfe86263ef28a9947cd57d09b6 (patch) | |
tree | c149e1e97b535742e7eb05f673e0816661351dc5 /gcc/lra-constraints.c | |
parent | 4b9fcb37ba51b6806d9a38b27ebd7e057e8d46e9 (diff) | |
download | gcc-7a32d6c491b450dfe86263ef28a9947cd57d09b6.zip gcc-7a32d6c491b450dfe86263ef28a9947cd57d09b6.tar.gz gcc-7a32d6c491b450dfe86263ef28a9947cd57d09b6.tar.bz2 |
-fuse-caller-save - Enable for ARM
2014-06-18 Radovan Obradovic <robradovic@mips.com>
Tom de Vries <tom@codesourcery.com>
* config/arm/arm-protos.h (arm_emit_call_insn): Add bool parameter.
* config/arm/arm.c (TARGET_CALL_FUSAGE_CONTAINS_NON_CALLEE_CLOBBERS):
Redefine to true.
(arm_emit_call_insn): Add and use sibcall parameter. Add IP and CC
clobbers to CALL_INSN_FUNCTION_USAGE.
(define_expand "sibcall_internal")
(define_expand "sibcall_value_internal"): New.
(define_expand "call", define_expand "call_value"): Add argument to
arm_emit_call_insn.
(define_expand "sibcall"): Use sibcall_internal and arm_emit_call_insn.
(define_expand "sibcall_value"): Use sibcall_value_internal and
arm_emit_call_insn.
* gcc.target/arm/fuse-caller-save.c: New test.
Co-Authored-By: Tom de Vries <tom@codesourcery.com>
From-SVN: r211798
Diffstat (limited to 'gcc/lra-constraints.c')
0 files changed, 0 insertions, 0 deletions