]> 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 02:04:00 +0000 (19:04 -0700)
commit986e7b911fd36bd4f38807bf25be6a1ade4d9688
tree93ac3a9c73523aafdd67e82c8e870e9c7e83ee91
parent6da40102c73018dd88bb959e460fa1425270d395
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