Hi Matthias:
Sure, backported to gcc 10 branch, let's wait 10.3 :)
On Mon, Mar 1, 2021 at 4:17 PM Matthias Klose wrote:
>
> On 7/8/20 9:59 PM, Jim Wilson wrote:
> > On Tue, Jul 7, 2020 at 2:52 AM Kito Cheng wrote:
> >> gcc/ChangeLog:
> >> * gcc/config/riscv/riscv.md (): New.
> >>
On 7/8/20 9:59 PM, Jim Wilson wrote:
> On Tue, Jul 7, 2020 at 2:52 AM Kito Cheng wrote:
>> gcc/ChangeLog:
>> * gcc/config/riscv/riscv.md (): New.
>> (TP_REGNUM): Ditto.
>> * doc/extend.texi (Target Builtins): Add RISC-V built-in section.
>> Document __builtin_thread
Committed with typo fix (on the title) and ChangeLog fix.
On Thu, Jul 9, 2020 at 2:48 PM Kito Cheng wrote:
>
> On Thu, Jul 9, 2020 at 4:03 AM Jim Wilson wrote:
> >
> > On Tue, Jul 7, 2020 at 2:52 AM Kito Cheng wrote:
> > > gcc/ChangeLog:
> > > * gcc/config/riscv/riscv.md (): New.
> > >
On Thu, Jul 9, 2020 at 4:03 AM Jim Wilson wrote:
>
> On Tue, Jul 7, 2020 at 2:52 AM Kito Cheng wrote:
> > gcc/ChangeLog:
> > * gcc/config/riscv/riscv.md (): New.
> > (TP_REGNUM): Ditto.
> > * doc/extend.texi (Target Builtins): Add RISC-V built-in section.
> > Docum
On Tue, Jul 7, 2020 at 2:52 AM Kito Cheng wrote:
> gcc/ChangeLog:
> * gcc/config/riscv/riscv.md (): New.
> (TP_REGNUM): Ditto.
> * doc/extend.texi (Target Builtins): Add RISC-V built-in section.
> Document __builtin_thread_pointer.
> gcc/testsuite/ChangeLog:
>
RISC-V has a dedicate register for thread pointer which is specified in psABI
doc, so we could support __builtin_thread_pointer in straightforward way.
Note: clang/llvm was supported __builtin_thread_pointer for RISC-V port
recently.
- https://reviews.llvm.org/rGaabc24acf0d5f8677bd22fe9c108581e07c