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] Cost of inlining when the function has call to a target-specific builtin


> 2007-09-16  Pranav Bhandarkar  <pranav.bhandarkar@celunite.com>
>             Ramana Radhakrishnan  <ramana.radhakrishnan@celunite.com>
>
> 	* target.h (inline_builtin_call): New hook.
> 	* expr.h (default_inline_builtin_call): New.
> 	* builtins.c (params.h): Include.
> 	(default_inline_builtin_call): New. Define.
> 	* target-def.h (TARGET_INLINE_BUILTIN_CALL): New
> 	(TARGET_INITIALIZER): Add TARGET_INLINE_BUILTIN_CALL.
> 	* tree-inline.c (estimate_num_insns_1): For CALL_EXPR check for
> 	target-specific builtin. If so get the cost for inlining from the backend.

Please use "cost" somewhere in the name.

-- 
Eric Botcazou


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