Re: [PATCH] Implement __builtin_thread_pointer for x86 TLS

2020-09-09 Thread Hongtao Liu via Gcc-patches
On Wed, Sep 9, 2020 at 2:35 PM Jakub Jelinek wrote: > > On Wed, Sep 09, 2020 at 10:30:46AM +0800, Hongtao Liu wrote: > > From 400418fadce46e7db7bd37be45ef5ff5beb08d19 Mon Sep 17 00:00:00 2001 > > From: liuhongt > > Date: Tue, 8 Sep 2020 15:44:58 +0800 > > Subject: [PATCH] Implement __builtin_thre

Re: [PATCH] Implement __builtin_thread_pointer for x86 TLS

2020-09-08 Thread Jakub Jelinek via Gcc-patches
On Wed, Sep 09, 2020 at 10:30:46AM +0800, Hongtao Liu wrote: > From 400418fadce46e7db7bd37be45ef5ff5beb08d19 Mon Sep 17 00:00:00 2001 > From: liuhongt > Date: Tue, 8 Sep 2020 15:44:58 +0800 > Subject: [PATCH] Implement __builtin_thread_pointer for x86 TLS. > > gcc/ChangeLog: > PR target/969

Re: [PATCH] Implement __builtin_thread_pointer for x86 TLS

2020-09-08 Thread Hongtao Liu via Gcc-patches
On Tue, Sep 8, 2020 at 4:52 PM Jakub Jelinek wrote: > > On Tue, Sep 08, 2020 at 04:14:52PM +0800, Hongtao Liu wrote: > > Hi: > > We have "*load_tp_" in i386.md for load of thread pointer in > > i386.md, so this patch merely adds the expander for > > __builtin_thread_pointer. > > > > Bootstrap

Re: [PATCH] Implement __builtin_thread_pointer for x86 TLS

2020-09-08 Thread Jakub Jelinek via Gcc-patches
On Tue, Sep 08, 2020 at 04:14:52PM +0800, Hongtao Liu wrote: > Hi: > We have "*load_tp_" in i386.md for load of thread pointer in > i386.md, so this patch merely adds the expander for > __builtin_thread_pointer. > > Bootstrap is ok, regression test is ok for i386/x86-64 backend. > Ok for tru