This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch ARM] PR target/19599 Enable sibcalls through function pointers.
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: Ramana Radhakrishnan <ramana dot r at gmail dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 04 Jun 2009 16:16:38 +0100
- Subject: Re: [Patch ARM] PR target/19599 Enable sibcalls through function pointers.
- References: <67ea2eb0906040444u7585116ev7f82dade39e7e32f@mail.gmail.com>
On Thu, 2009-06-04 at 12:44 +0100, Ramana Radhakrishnan wrote:
> 2009-06-02 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
>
> PR target/19599
> * config/arm/predicates.md (call_insn_operand): New predicate.
> * config/arm/constraints.md ("Cs"): New register constraint.
> ("Ss"): New constraint for symbol references.
> * config/arm/arm.md (sibcall): Allow only memory indirects through
> symbol refs or register operands for operands[0].
> (sibcall_value): Likewise for operands[1].
> (*sibcall_insn): Allow register indirect sibcalls.
> (*sibcall_value): Allow register indirect sibcalls.
> * config/arm/arm.h (enum reg_class): New reg class ARM_CALLER_SAVE_REGS.
> (REG_CLASS_NAMES): Likewise.
> (REG_CLASS_CONTENTS): Likewise.
> * config/arm/arm.c (arm_function_ok_for_sibcall): Remove check for
> functions without decls. Handle fallout of NULL decls.
The comment on the Ss constraint is not ARM-state specific.
Otherwise OK.
R.