On Fri, 2023-12-01 at 18:13 +0800, mengqinggang wrote:
> This is mainly for the convenience of testing
Actually when I build my system on x86_64 I always set -mtls-
dialect=gnu2 in my CFLAGS. And I think maybe generally (i.e. on
different architectures) we should make TLS descriptor the default i
This is mainly for the convenience of testing, and we will consider the
issues you mentioned.
在 2023/12/1 下午6:01, Xi Ruoyao 写道:
On Fri, 2023-12-01 at 17:55 +0800, mengqinggang wrote:
Generate la.tls.desc macro instruction for TLS descriptors model.
la.tls.desc expand to
pcalau12i $a0, %de
On Fri, 2023-12-01 at 18:01 +0800, Xi Ruoyao wrote:
> On Fri, 2023-12-01 at 17:55 +0800, mengqinggang wrote:
> > Generate la.tls.desc macro instruction for TLS descriptors model.
> >
> > la.tls.desc expand to
> > pcalau12i $a0, %desc_pc_hi20(a)
> > ld.d $a1, $a0, %desc_ld_pc_lo12(a)
> >
On Fri, 2023-12-01 at 17:55 +0800, mengqinggang wrote:
> Generate la.tls.desc macro instruction for TLS descriptors model.
>
> la.tls.desc expand to
> pcalau12i $a0, %desc_pc_hi20(a)
> ld.d $a1, $a0, %desc_ld_pc_lo12(a)
> addi.d $a0, $a0, %desc_add_pc_lo12(a)
> jirl $ra, $a1,
Generate la.tls.desc macro instruction for TLS descriptors model.
la.tls.desc expand to
pcalau12i $a0, %desc_pc_hi20(a)
ld.d $a1, $a0, %desc_ld_pc_lo12(a)
addi.d$a0, $a0, %desc_add_pc_lo12(a)
jirl $ra, $a1, %desc_call(a)
The default is TLS descriptors, but can be configure w