PING^3 [PATCH] Hookize TARGET_FUNCTION_VALUE_REGNO_P

Steven Bosscher stevenb.gcc@gmail.com
Thu Apr 29 19:00:00 GMT 2010


2010/4/29 Anatoly Sokolov <aesok@post.ru>:
> Hi.
>
> ----- Original Message ----- From: "Anatoly Sokolov" <aesok@post.ru>
> To: <gcc-patches@gcc.gnu.org>
> Sent: Wednesday, November 25, 2009 1:27 AM
> Subject: PING [PATCH] Hookize TARGET_FUNCTION_VALUE_REGNO_P
>
>
>>> This patch turns TARGET_FUNCTION_VALUE_REGNO_P macro into a hook.
>>
>>>      * target.h (struct calls): Add function_value_regno_p field.
>>>      * target-def.h (TARGET_FUNCTION_VALUE_REGNO_P): Define.
>>>      (TARGET_INITIALIZER): Use TARGET_FUNCTION_VALUE_REGNO_P.
>>>      * targhooks.c (default_function_value_regno_p): New function.
>>>      * targhooks.h (default_function_value_regno_p): Declare function.
>>>      * rtlanal.c (keep_with_call_p): Use function_value_regno_p hook.
>>>      * builtins.c. (apply_result_size): (Ditto.).
>>>      * combine.c. (likely_spilled_retval_p): (Ditto.).
>>>      * mode-switching.c. Include 'target.h'.
>>>      (create_pre_exit): Use function_value_regno_p hook.
>>>      * Makefile.in (mode-switching.o): Add dependency on TARGET_H.
>>>      * doc/tm.texi (FUNCTION_VALUE_REGNO_P,
>>> TARGET_FUNCTION_VALUE_REGNO_P):
>>>      Revise documentation.
>>>
>>>      * config/i386/i386.h (TARGET_FUNCTION_VALUE_REGNO_P): Remove macro.
>>>      * config/i386/i386.c (TARGET_FUNCTION_VALUE_REGNO_P): Define macro.
>>>      (ix86_function_value_regno_p): Declare as static, change argument
>>>      type to const unsigned int.
>>>      * config/i386/i386-protos.h (ix86_function_value_regno_p): Remove
>>
>>
>> http://gcc.gnu.org/ml/gcc-patches/2009-11/msg00729.html
>
> Anatoly.
>
>

Can there be pre-approval for all these rather mechanical patches?
Anatoly has to wait and ping far too often, even though these cleanups
are so necessary...

Ciao!
Steven



More information about the Gcc-patches mailing list