This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, ARM] Enable tail call optimization for long call
- From: Ramana Radhakrishnan <ramana dot gcc at googlemail dot com>
- To: Jiong Wang <jiong dot wang at arm dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 25 Mar 2014 10:09:14 +0000
- Subject: Re: [PATCH, ARM] Enable tail call optimization for long call
- Authentication-results: sourceware.org; auth=none
- References: <53301680 dot 9040602 at arm dot com>
- Reply-to: ramrad01 at arm dot com
>
>
> gcc/
> * config/arm/predicates.md (call_insn_operand): Add long_call check.
> * config/arm/arm.md (sibcall, sibcall_value): Force the address to reg for
> long_call.
> * config/aarch64/aarch64.c (arm_function_ok_for_sibcall): Remove long_call
> restriction.
config/arm/arm.c :)
The ARM parts are ok for stage1 if no regressions.
regards
Ramana
>
> gcc/testsuite
> gcc.target/arm/tail-long-call.c: New test.