Backport the following patches to improve the Intel performance and implementation: 76d5b2f002a1243ddba06bd646249553353f4322 x86: Update Intel Atom processor family optimization 75870237ff3bb363447b03f4b0af100227570910 Fix avx2 strncmp offset compare condition check [BZ #25933]
I'm reworking this bug to only include the AVX2 fix.
Tested with string/test-strncmp, string/test-strcmp.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: glibc security, bug fix, and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:1585