This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, ARM] Enable sibling calls for Thumb-2


On Mon, 2010-04-26 at 14:08 +0100, Julian Brown wrote:

> I've re-tested this on current trunk (with options to generate
> Thumb-2 
> code, cross to ARM Linux), and it still shows a couple of
> progressions. 
> OK to apply?
> 

OK

R.

> Thanks,
> 
> Julian
> 
> ChangeLog
> 
>     Julian Brown  <julian@codesourcery.com> 
>     Mark Mitchell  <mark@codesourcery.com>
> 
>     gcc/ 
>     * config/arm/arm.c (arm_function_ok_for_sibcall): Only forbid 
>     sibling calls for Thumb-1. 
>     * config/arm/arm.h (USE_RETURN_INSN): Enable for Thumb-2. 
>     * config/arm/arm.md (*call_symbol, *call_value_symbol): Use for 
>     Thumb-2. 
>     (*call_insn, *call_value_insn): Don't use for Thumb-2. 
>     (sibcall, sibcall_value, *sibcall_insn, *sibcall_value_insn): Use 
>     for Thumb-2. 
>     (return): New expander. 
>     (*arm_return): New name for ARM return insn. 
>     * config/arm/thumb2.md (*thumb2_return): New insn pattern.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]