[PATCH] x86-64: Require BMI2 for strchr-avx2.S
Sunil Pandey
skpgkp2@gmail.com
Wed Apr 27 23:48:04 GMT 2022
On Mon, Apr 19, 2021 at 11:50 AM Florian Weimer via Libc-alpha
<libc-alpha@sourceware.org> wrote:
>
> * H. J. Lu via Libc-alpha:
>
> > Since strchr-avx2.S updated by
> >
> > commit 1f745ecc2109890886b161d4791e1406fdfc29b8
> > Author: noah <goldstein.w.n@gmail.com>
> > Date: Wed Feb 3 00:38:59 2021 -0500
> >
> > x86-64: Refactor and improve performance of strchr-avx2.S
> >
> > uses sarx:
> >
> > c4 e2 72 f7 c0 sarx %ecx,%eax,%eax
> >
> > for strchr-avx2 family functions, require BMI2 in ifunc-impl-list.c and
> > ifunc-avx2.h.
>
> Seems reasonable, thanks.
>
> Florian
>
I would like to backport this patch to release branches.
Any comments or objections?
--Sunil
More information about the Libc-stable
mailing list