[Bug string/29611] Optimized AVX2 string functions unconditionally use BMI2 instructions

cvs-commit at gcc dot gnu.org sourceware-bugzilla@sourceware.org
Thu Sep 29 01:59:43 GMT 2022


https://sourceware.org/bugzilla/show_bug.cgi?id=29611

--- Comment #17 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The release/2.32/master branch has been updated by Sunil Pandey
<skpgkp2@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=f9e29095fcc11f79a3afcb4b5dd3ce070e3d4084

commit f9e29095fcc11f79a3afcb4b5dd3ce070e3d4084
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Mon Apr 19 10:45:07 2021 -0700

    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)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list