Re: [PATCH, ARM] Enable tail call optimization for long call

2014-04-15 Thread Ramana Radhakrishnan
On Wed, Apr 2, 2014 at 12:04 PM, Jiong Wang wrote: > > On 25/03/14 15:44, Richard Earnshaw wrote: >> >> On 24/03/14 11:26, Jiong Wang wrote: >>> >>> This patch enables tail call optimization for long call on arm. >>> >>> Previously we have too strict check on arm_function_ok_for_sibcall and >>> be

Re: [PATCH, ARM] Enable tail call optimization for long call

2014-04-02 Thread Jiong Wang
On 25/03/14 15:44, Richard Earnshaw wrote: On 24/03/14 11:26, Jiong Wang wrote: This patch enables tail call optimization for long call on arm. Previously we have too strict check on arm_function_ok_for_sibcall and be lack of the support on sibcall/sibcall_value expand that long call tail opp

Re: [PATCH, ARM] Enable tail call optimization for long call

2014-03-25 Thread Marcus Shawcroft
On 24 March 2014 11:26, Jiong Wang wrote: > 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 > re

Re: [PATCH, ARM] Enable tail call optimization for long call

2014-03-25 Thread Richard Earnshaw
On 24/03/14 11:26, Jiong Wang wrote: > This patch enables tail call optimization for long call on arm. > > Previously we have too strict check on arm_function_ok_for_sibcall and > be lack of the support on sibcall/sibcall_value expand that long call tail > oppportunities are lost. > > OK for nex

Re: [PATCH, ARM] Enable tail call optimization for long call

2014-03-25 Thread Ramana Radhakrishnan
> > > 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

[PATCH, ARM] Enable tail call optimization for long call

2014-03-24 Thread Jiong Wang
This patch enables tail call optimization for long call on arm. Previously we have too strict check on arm_function_ok_for_sibcall and be lack of the support on sibcall/sibcall_value expand that long call tail oppportunities are lost. OK for next next stage 1? thanks. -- Jiong gcc/ * conf