* [2.39 Backport] x86_64: Exclude SSE, AVX and FMA4 variants in libm multiarch
@ 2024-04-13 20:26 H.J. Lu
2024-04-14 6:31 ` Florian Weimer
0 siblings, 1 reply; 2+ messages in thread
From: H.J. Lu @ 2024-04-13 20:26 UTC (permalink / raw)
To: Libc-stable Mailing List, Florian Weimer, Sunil K Pandey
Since
commit befe2d3c4dec8be2cdd01a47132e47bdb7020922
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Wed Feb 28 09:51:14 2024 -0800
x86-64: Don't use SSE resolvers for ISA level 3 or above
has been backported to 2.39 branch, I think we should also backport
commit 9f78a7c1d0963282608da836b840f0d5ae1c478e
Author: Sunil K Pandey <skpgkp2@gmail.com>
Date: Tue Feb 13 12:23:14 2024 -0800
x86_64: Exclude SSE, AVX and FMA4 variants in libm multiarch
When glibc is built with ISA level 3 or higher by default, the resulting
glibc binaries won't run on SSE or FMA4 processors. Exclude SSE, AVX and
FMA4 variants in libm multiarch when ISA level 3 or higher is enabled by
default.
When glibc is built with ISA level 2 enabled by default, only keep SSE4.1
variant.
Fixes BZ 31335.
--
H.J.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [2.39 Backport] x86_64: Exclude SSE, AVX and FMA4 variants in libm multiarch
2024-04-13 20:26 [2.39 Backport] x86_64: Exclude SSE, AVX and FMA4 variants in libm multiarch H.J. Lu
@ 2024-04-14 6:31 ` Florian Weimer
0 siblings, 0 replies; 2+ messages in thread
From: Florian Weimer @ 2024-04-14 6:31 UTC (permalink / raw)
To: H.J. Lu; +Cc: Libc-stable Mailing List, Sunil K Pandey
* H. J. Lu:
> Since
>
> commit befe2d3c4dec8be2cdd01a47132e47bdb7020922
> Author: H.J. Lu <hjl.tools@gmail.com>
> Date: Wed Feb 28 09:51:14 2024 -0800
>
> x86-64: Don't use SSE resolvers for ISA level 3 or above
>
> has been backported to 2.39 branch, I think we should also backport
>
> commit 9f78a7c1d0963282608da836b840f0d5ae1c478e
> Author: Sunil K Pandey <skpgkp2@gmail.com>
> Date: Tue Feb 13 12:23:14 2024 -0800
>
> x86_64: Exclude SSE, AVX and FMA4 variants in libm multiarch
>
> When glibc is built with ISA level 3 or higher by default, the resulting
> glibc binaries won't run on SSE or FMA4 processors. Exclude SSE, AVX and
> FMA4 variants in libm multiarch when ISA level 3 or higher is enabled by
> default.
>
> When glibc is built with ISA level 2 enabled by default, only keep SSE4.1
> variant.
>
> Fixes BZ 31335.
No objections from me, we'd want to backport this downstream anyway.
Thanks,
Florian
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-04-14 6:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-13 20:26 [2.39 Backport] x86_64: Exclude SSE, AVX and FMA4 variants in libm multiarch H.J. Lu
2024-04-14 6:31 ` Florian Weimer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).