r209808 - in /trunk/gcc: ChangeLog config/arm/a...

yufeng@gcc.gnu.org yufeng@gcc.gnu.org
Fri Apr 25 17:00:00 GMT 2014


Author: yufeng
Date: Fri Apr 25 17:00:33 2014
New Revision: 209808

URL: http://gcc.gnu.org/viewcvs?rev=209808&root=gcc&view=rev
Log:
[ARM] Enable tail call optimization for long call

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/arm/arm.c (arm_function_ok_for_sibcall): Remove long_call
	restriction.

gcc/testsuite

	* gcc.target/arm/tail-long-call.c: New test.

Added:
    trunk/gcc/testsuite/gcc.target/arm/tail-long-call.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/arm/arm.c
    trunk/gcc/config/arm/arm.md
    trunk/gcc/config/arm/predicates.md
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list