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 4/6] Thread pointer built-in functions, s390


On 12/7/18 8:05 PM, Andreas Krebbel wrote:
> On 07/12/2012 08:52 AM, Chung-Lin Tang wrote:
>>         * config/s390/s390.c (s390_builtin,code_for_builtin_64,
>>         code_for_builtin_31,s390_init_builtins,s390_expand_builtin):
>>         Remove.
>>         (s390_expand_builtin_thread_pointer): Add hook function for
>>         TARGET_EXPAND_BUILTIN_THREAD_POINTER.
>>         (s390_expand_builtin_set_thread_pointer): Add hook function for
>>         TARGET_EXPAND_BUILTIN_SET_THREAD_POINTER.
> 
> I've tested your patches on s390x. No regressions.
> 
> The patch is ok.
> 
> Bye,
> 
> -Andreas-
> 

S390 parts updated to use MD pattern. Sorry Andreas, would you mind
testing the updated patches again?

Thanks,
Chung-Lin

        * config/s390/s390.c (s390_builtin,code_for_builtin_64,
        code_for_builtin_31,s390_init_builtins,s390_expand_builtin): Remove.
        * config/s390/s390.md (get_tp_64,get_tp_31,set_tp_64,set_tp_31):
Remove.
        (get_thread_pointer<mode>,set_thread_pointer<mode>): New,
adapted from
        removed patterns.

Attachment: s390.patch
Description: Text document


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