Re: [PATCH] x86: Disallow -mtls-dialect=gnu with no_caller_saved_registers

2025-07-25 Thread H.J. Lu
On Fri, Jul 25, 2025 at 1:05 AM Uros Bizjak wrote: > > On Thu, Jul 24, 2025 at 9:30 PM H.J. Lu wrote: > > > > On x86-64, __tls_get_addr is a normal function which doesn't preserve > > vector registers. On i386, ___tls_get_addr preserve vector registers > > only with the commit: > > Can you pleas

Re: [PATCH] x86: Disallow -mtls-dialect=gnu with no_caller_saved_registers

2025-07-25 Thread Uros Bizjak
On Thu, Jul 24, 2025 at 9:30 PM H.J. Lu wrote: > > On x86-64, __tls_get_addr is a normal function which doesn't preserve > vector registers. On i386, ___tls_get_addr preserve vector registers > only with the commit: Can you please rephrase the above part? What does it mean to be a normal functio

[PATCH] x86: Disallow -mtls-dialect=gnu with no_caller_saved_registers

2025-07-24 Thread H.J. Lu
On x86-64, __tls_get_addr is a normal function which doesn't preserve vector registers. On i386, ___tls_get_addr preserve vector registers only with the commit: 848f0e46f0 i386: Update ___tls_get_addr to preserve vector registers which fixed: https://sourceware.org/bugzilla/show_bug.cgi?id=3299