On Tue, Apr 29, 2025 at 12:22 PM H.J. Lu wrote:
>
> On Tue, Apr 29, 2025 at 5:30 PM Uros Bizjak wrote:
> >
> > On Tue, Apr 29, 2025 at 9:56 AM H.J. Lu wrote:
> > >
> > > Don't expand UNSPEC_TLS_LD_BASE to a call so that the RTL local copy
> > > propagation pass can eliminate multiple __tls_get_a
On Tue, Apr 29, 2025 at 5:30 PM Uros Bizjak wrote:
>
> On Tue, Apr 29, 2025 at 9:56 AM H.J. Lu wrote:
> >
> > Don't expand UNSPEC_TLS_LD_BASE to a call so that the RTL local copy
> > propagation pass can eliminate multiple __tls_get_addr calls.
>
> __tls_get_addr needs to be called with 16-byte a
On Tue, Apr 29, 2025 at 9:56 AM H.J. Lu wrote:
>
> Don't expand UNSPEC_TLS_LD_BASE to a call so that the RTL local copy
> propagation pass can eliminate multiple __tls_get_addr calls.
__tls_get_addr needs to be called with 16-byte aligned stack, I don't
think the compiler will correctly handle re
to unspec.
(*tls_local_dynamic_base_64_): New.
gcc/testsuite/
PR target/81501
* gcc.target/i386/pr81501-1.c: New test.
OK for master?
Thanks.
--
H.J.
From d154b3bf2fb86c82a6291f1fae45fbbe0d74f4e4 Mon Sep 17 00:00:00 2001
From: "H.J. Lu"
Date: Fri, 19 Aug 2022 11:50:41 -0700
Subject: [PATCH]