]> git.ipfire.org Git - thirdparty/glibc.git/commit
x86-64: Require BMI2 for strchr-avx2.S
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 19 Apr 2021 17:45:07 +0000 (10:45 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 19 Apr 2021 18:01:45 +0000 (11:01 -0700)
commit83c5b368226c34a2f0a5287df40fc290b2b34359
tree4cb4e20823f86319d0f3197396c984b4efce0fe8
parent55bf411b451c13f0fb7ff3d3bf9a820020b45df1
x86-64: Require BMI2 for strchr-avx2.S

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.
sysdeps/x86_64/multiarch/ifunc-avx2.h
sysdeps/x86_64/multiarch/ifunc-impl-list.c