]> git.ipfire.org Git - thirdparty/glibc.git/commit
x86-64: Require BMI2 for strchr-avx2.S [BZ #29611]
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 19 Apr 2021 17:45:07 +0000 (10:45 -0700)
committerSunil K Pandey <skpgkp2@gmail.com>
Thu, 29 Sep 2022 01:05:48 +0000 (18:05 -0700)
commitf9e29095fcc11f79a3afcb4b5dd3ce070e3d4084
tree928d473010962c7cd64d4ae47ee7b69bc9dfcddf
parent51b72ac04bc23dd5e82a5e9fbdbc86820dd26d98
x86-64: Require BMI2 for strchr-avx2.S [BZ #29611]

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.

This fixes BZ #29611.

(cherry picked from commit 83c5b368226c34a2f0a5287df40fc290b2b34359)
sysdeps/x86_64/multiarch/ifunc-avx2.h
sysdeps/x86_64/multiarch/ifunc-impl-list.c