Bug 28896 - strncmp-avx2-rtm and wcsncmp-avx2-rtm fallback on non-rtm variants when avoiding overflow
Summary: strncmp-avx2-rtm and wcsncmp-avx2-rtm fallback on non-rtm variants when avoid...
Status: RESOLVED FIXED
Alias: None
Product: glibc
Classification: Unclassified
Component: string (show other bugs)
Version: 2.36
: P2 normal
Target Milestone: 2.36
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-15 13:52 UTC by Noah Goldstein
Modified: 2022-03-25 18:18 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Comment 1 Noah Goldstein 2022-02-15 16:32:18 UTC
Patch with fix is up.
Comment 2 Sourceware Commits 2022-02-19 03:08:08 UTC
The release/2.35/master branch has been updated by H.J. Lu <hjl@sourceware.org>:

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

commit 3226ffde07ae2bef3c2f57ad018829320f2922ee
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Fri Feb 18 19:07:11 2022 -0800

    NEWS: Add a bug fix entry for BZ #28896
Comment 3 Sourceware Commits 2022-02-19 03:09:17 UTC
The release/2.34/master branch has been updated by H.J. Lu <hjl@sourceware.org>:

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

commit d5d1c95aafb6f4bfc8930d6cef75b758e03c6494
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Fri Feb 18 19:09:03 2022 -0800

    NEWS: Add a bug fix entry for BZ #28896
Comment 4 Sourceware Commits 2022-02-19 03:10:14 UTC
The release/2.33/master branch has been updated by H.J. Lu <hjl@sourceware.org>:

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

commit f341ab08fc5296f5e6f72e79b1d1c1fe04163f1d
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Fri Feb 18 19:09:52 2022 -0800

    NEWS: Add a bug fix entry for BZ #28896
Comment 5 Sourceware Commits 2022-02-19 03:11:34 UTC
The release/2.32/master branch has been updated by H.J. Lu <hjl@sourceware.org>:

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

commit 443e146ce7aa1df0aa29fc0775451a4d933fcfbb
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Fri Feb 18 19:10:42 2022 -0800

    NEWS: Add a bug fix entry for BZ #28896
Comment 6 Sourceware Commits 2022-02-19 03:12:37 UTC
The release/2.31/master branch has been updated by H.J. Lu <hjl@sourceware.org>:

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

commit 183709983db14000d1b9224b2aea9cb50787a59e
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Fri Feb 18 19:12:04 2022 -0800

    NEWS: Add a bug fix entry for BZ #28896
Comment 7 Sourceware Commits 2022-02-19 03:13:20 UTC
The release/2.30/master branch has been updated by H.J. Lu <hjl@sourceware.org>:

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

commit a79bc55e5be07d797d77b63fc0018eb515ae7049
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Fri Feb 18 19:13:02 2022 -0800

    NEWS: Add a bug fix entry for BZ #28896
Comment 8 Sourceware Commits 2022-02-19 03:58:20 UTC
The release/2.29/master branch has been updated by H.J. Lu <hjl@sourceware.org>:

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

commit efe736ebe7782d41a70c08e6d77d7c7a48cba54a
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Fri Feb 18 19:14:26 2022 -0800

    NEWS: Add a bug fix entry for BZ #28896
Comment 9 Sourceware Commits 2022-02-19 03:58:34 UTC
The release/2.28/master branch has been updated by H.J. Lu <hjl@sourceware.org>:

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

commit f25710ec54cf1143786a5120660ff720501d5f21
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Fri Feb 18 19:17:09 2022 -0800

    NEWS: Add a bug fix entry for BZ #28896
Comment 10 H.J. Lu 2022-02-19 03:59:15 UTC
Fixed for 2.36 and on release branches.
Comment 11 Noah Goldstein 2022-03-24 20:04:14 UTC
The previous fix missed a case. Updated fix available at:
https://gitlab.com/x86-glibc/glibc/-/commits/users/goldsteinn/rtm-fix