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] PR target/19599 Enable sibcalls through function pointers.


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.


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