public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug string/28896] New: strncmp-avx2-rtm and wcsncmp-avx2-rtm fallback on non-rtm variants when avoiding overflow
@ 2022-02-15 13:52 goldstein.w.n at gmail dot com
  2022-02-15 13:56 ` [Bug string/28896] " fweimer at redhat dot com
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: goldstein.w.n at gmail dot com @ 2022-02-15 13:52 UTC (permalink / raw)
  To: glibc-bugs

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

            Bug ID: 28896
           Summary: strncmp-avx2-rtm and wcsncmp-avx2-rtm fallback on
                    non-rtm variants when avoiding overflow
           Product: glibc
           Version: 2.36
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: string
          Assignee: unassigned at sourceware dot org
          Reporter: goldstein.w.n at gmail dot com
  Target Milestone: ---

https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/x86_64/multiarch/strcmp-avx2.S;h=99e5349be872c4624bc6d0d5eaa9ed6fea56d35e;hb=HEAD#l199
https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/x86_64/multiarch/strcmp-avx2.S;h=99e5349be872c4624bc6d0d5eaa9ed6fea56d35e;hb=HEAD#l211

No others that I see.

Will post fix shortly.

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

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug string/28896] strncmp-avx2-rtm and wcsncmp-avx2-rtm fallback on non-rtm variants when avoiding overflow
  2022-02-15 13:52 [Bug string/28896] New: strncmp-avx2-rtm and wcsncmp-avx2-rtm fallback on non-rtm variants when avoiding overflow goldstein.w.n at gmail dot com
@ 2022-02-15 13:56 ` fweimer at redhat dot com
  2022-02-15 16:32 ` goldstein.w.n at gmail dot com
                   ` (11 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: fweimer at redhat dot com @ 2022-02-15 13:56 UTC (permalink / raw)
  To: glibc-bugs

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fweimer at redhat dot com

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

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug string/28896] strncmp-avx2-rtm and wcsncmp-avx2-rtm fallback on non-rtm variants when avoiding overflow
  2022-02-15 13:52 [Bug string/28896] New: strncmp-avx2-rtm and wcsncmp-avx2-rtm fallback on non-rtm variants when avoiding overflow goldstein.w.n at gmail dot com
  2022-02-15 13:56 ` [Bug string/28896] " fweimer at redhat dot com
@ 2022-02-15 16:32 ` goldstein.w.n at gmail dot com
  2022-02-19  3:08 ` cvs-commit at gcc dot gnu.org
                   ` (10 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: goldstein.w.n at gmail dot com @ 2022-02-15 16:32 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #1 from Noah Goldstein <goldstein.w.n at gmail dot com> ---
Patch with fix is up.

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

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug string/28896] strncmp-avx2-rtm and wcsncmp-avx2-rtm fallback on non-rtm variants when avoiding overflow
  2022-02-15 13:52 [Bug string/28896] New: strncmp-avx2-rtm and wcsncmp-avx2-rtm fallback on non-rtm variants when avoiding overflow goldstein.w.n at gmail dot com
  2022-02-15 13:56 ` [Bug string/28896] " fweimer at redhat dot com
  2022-02-15 16:32 ` goldstein.w.n at gmail dot com
@ 2022-02-19  3:08 ` cvs-commit at gcc dot gnu.org
  2022-02-19  3:09 ` cvs-commit at gcc dot gnu.org
                   ` (9 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-02-19  3:08 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
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

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

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug string/28896] strncmp-avx2-rtm and wcsncmp-avx2-rtm fallback on non-rtm variants when avoiding overflow
  2022-02-15 13:52 [Bug string/28896] New: strncmp-avx2-rtm and wcsncmp-avx2-rtm fallback on non-rtm variants when avoiding overflow goldstein.w.n at gmail dot com
                   ` (2 preceding siblings ...)
  2022-02-19  3:08 ` cvs-commit at gcc dot gnu.org
@ 2022-02-19  3:09 ` cvs-commit at gcc dot gnu.org
  2022-02-19  3:10 ` cvs-commit at gcc dot gnu.org
                   ` (8 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-02-19  3:09 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
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

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

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug string/28896] strncmp-avx2-rtm and wcsncmp-avx2-rtm fallback on non-rtm variants when avoiding overflow
  2022-02-15 13:52 [Bug string/28896] New: strncmp-avx2-rtm and wcsncmp-avx2-rtm fallback on non-rtm variants when avoiding overflow goldstein.w.n at gmail dot com
                   ` (3 preceding siblings ...)
  2022-02-19  3:09 ` cvs-commit at gcc dot gnu.org
@ 2022-02-19  3:10 ` cvs-commit at gcc dot gnu.org
  2022-02-19  3:11 ` cvs-commit at gcc dot gnu.org
                   ` (7 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-02-19  3:10 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #4 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
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

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

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug string/28896] strncmp-avx2-rtm and wcsncmp-avx2-rtm fallback on non-rtm variants when avoiding overflow
  2022-02-15 13:52 [Bug string/28896] New: strncmp-avx2-rtm and wcsncmp-avx2-rtm fallback on non-rtm variants when avoiding overflow goldstein.w.n at gmail dot com
                   ` (4 preceding siblings ...)
  2022-02-19  3:10 ` cvs-commit at gcc dot gnu.org
@ 2022-02-19  3:11 ` cvs-commit at gcc dot gnu.org
  2022-02-19  3:12 ` cvs-commit at gcc dot gnu.org
                   ` (6 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-02-19  3:11 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #5 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 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

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

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug string/28896] strncmp-avx2-rtm and wcsncmp-avx2-rtm fallback on non-rtm variants when avoiding overflow
  2022-02-15 13:52 [Bug string/28896] New: strncmp-avx2-rtm and wcsncmp-avx2-rtm fallback on non-rtm variants when avoiding overflow goldstein.w.n at gmail dot com
                   ` (5 preceding siblings ...)
  2022-02-19  3:11 ` cvs-commit at gcc dot gnu.org
@ 2022-02-19  3:12 ` cvs-commit at gcc dot gnu.org
  2022-02-19  3:13 ` cvs-commit at gcc dot gnu.org
                   ` (5 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-02-19  3:12 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #6 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
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

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

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug string/28896] strncmp-avx2-rtm and wcsncmp-avx2-rtm fallback on non-rtm variants when avoiding overflow
  2022-02-15 13:52 [Bug string/28896] New: strncmp-avx2-rtm and wcsncmp-avx2-rtm fallback on non-rtm variants when avoiding overflow goldstein.w.n at gmail dot com
                   ` (6 preceding siblings ...)
  2022-02-19  3:12 ` cvs-commit at gcc dot gnu.org
@ 2022-02-19  3:13 ` cvs-commit at gcc dot gnu.org
  2022-02-19  3:58 ` cvs-commit at gcc dot gnu.org
                   ` (4 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-02-19  3:13 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #7 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
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

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

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug string/28896] strncmp-avx2-rtm and wcsncmp-avx2-rtm fallback on non-rtm variants when avoiding overflow
  2022-02-15 13:52 [Bug string/28896] New: strncmp-avx2-rtm and wcsncmp-avx2-rtm fallback on non-rtm variants when avoiding overflow goldstein.w.n at gmail dot com
                   ` (7 preceding siblings ...)
  2022-02-19  3:13 ` cvs-commit at gcc dot gnu.org
@ 2022-02-19  3:58 ` cvs-commit at gcc dot gnu.org
  2022-02-19  3:58 ` cvs-commit at gcc dot gnu.org
                   ` (3 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-02-19  3:58 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #8 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
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

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

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug string/28896] strncmp-avx2-rtm and wcsncmp-avx2-rtm fallback on non-rtm variants when avoiding overflow
  2022-02-15 13:52 [Bug string/28896] New: strncmp-avx2-rtm and wcsncmp-avx2-rtm fallback on non-rtm variants when avoiding overflow goldstein.w.n at gmail dot com
                   ` (8 preceding siblings ...)
  2022-02-19  3:58 ` cvs-commit at gcc dot gnu.org
@ 2022-02-19  3:58 ` cvs-commit at gcc dot gnu.org
  2022-02-19  3:59 ` hjl.tools at gmail dot com
                   ` (2 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-02-19  3:58 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #9 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
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

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

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug string/28896] strncmp-avx2-rtm and wcsncmp-avx2-rtm fallback on non-rtm variants when avoiding overflow
  2022-02-15 13:52 [Bug string/28896] New: strncmp-avx2-rtm and wcsncmp-avx2-rtm fallback on non-rtm variants when avoiding overflow goldstein.w.n at gmail dot com
                   ` (9 preceding siblings ...)
  2022-02-19  3:58 ` cvs-commit at gcc dot gnu.org
@ 2022-02-19  3:59 ` hjl.tools at gmail dot com
  2022-03-24 20:04 ` goldstein.w.n at gmail dot com
  2022-03-25 18:18 ` goldstein.w.n at gmail dot com
  12 siblings, 0 replies; 14+ messages in thread
From: hjl.tools at gmail dot com @ 2022-02-19  3:59 UTC (permalink / raw)
  To: glibc-bugs

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |2.36
         Resolution|---                         |FIXED
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #10 from H.J. Lu <hjl.tools at gmail dot com> ---
Fixed for 2.36 and on release branches.

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

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug string/28896] strncmp-avx2-rtm and wcsncmp-avx2-rtm fallback on non-rtm variants when avoiding overflow
  2022-02-15 13:52 [Bug string/28896] New: strncmp-avx2-rtm and wcsncmp-avx2-rtm fallback on non-rtm variants when avoiding overflow goldstein.w.n at gmail dot com
                   ` (10 preceding siblings ...)
  2022-02-19  3:59 ` hjl.tools at gmail dot com
@ 2022-03-24 20:04 ` goldstein.w.n at gmail dot com
  2022-03-25 18:18 ` goldstein.w.n at gmail dot com
  12 siblings, 0 replies; 14+ messages in thread
From: goldstein.w.n at gmail dot com @ 2022-03-24 20:04 UTC (permalink / raw)
  To: glibc-bugs

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

Noah Goldstein <goldstein.w.n at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |VERIFIED

--- Comment #11 from Noah Goldstein <goldstein.w.n at gmail dot com> ---
The previous fix missed a case. Updated fix available at:
https://gitlab.com/x86-glibc/glibc/-/commits/users/goldsteinn/rtm-fix

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

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug string/28896] strncmp-avx2-rtm and wcsncmp-avx2-rtm fallback on non-rtm variants when avoiding overflow
  2022-02-15 13:52 [Bug string/28896] New: strncmp-avx2-rtm and wcsncmp-avx2-rtm fallback on non-rtm variants when avoiding overflow goldstein.w.n at gmail dot com
                   ` (11 preceding siblings ...)
  2022-03-24 20:04 ` goldstein.w.n at gmail dot com
@ 2022-03-25 18:18 ` goldstein.w.n at gmail dot com
  12 siblings, 0 replies; 14+ messages in thread
From: goldstein.w.n at gmail dot com @ 2022-03-25 18:18 UTC (permalink / raw)
  To: glibc-bugs

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

Noah Goldstein <goldstein.w.n at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|VERIFIED                    |RESOLVED

--- Comment #12 from Noah Goldstein <goldstein.w.n at gmail dot com> ---
Fix has reached master:
https://sourceware.org/git/?p=glibc.git;a=commit;h=9fef7039a7d04947bc89296ee0d187bc8d89b772

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

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2022-03-25 18:18 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-15 13:52 [Bug string/28896] New: strncmp-avx2-rtm and wcsncmp-avx2-rtm fallback on non-rtm variants when avoiding overflow goldstein.w.n at gmail dot com
2022-02-15 13:56 ` [Bug string/28896] " fweimer at redhat dot com
2022-02-15 16:32 ` goldstein.w.n at gmail dot com
2022-02-19  3:08 ` cvs-commit at gcc dot gnu.org
2022-02-19  3:09 ` cvs-commit at gcc dot gnu.org
2022-02-19  3:10 ` cvs-commit at gcc dot gnu.org
2022-02-19  3:11 ` cvs-commit at gcc dot gnu.org
2022-02-19  3:12 ` cvs-commit at gcc dot gnu.org
2022-02-19  3:13 ` cvs-commit at gcc dot gnu.org
2022-02-19  3:58 ` cvs-commit at gcc dot gnu.org
2022-02-19  3:58 ` cvs-commit at gcc dot gnu.org
2022-02-19  3:59 ` hjl.tools at gmail dot com
2022-03-24 20:04 ` goldstein.w.n at gmail dot com
2022-03-25 18:18 ` goldstein.w.n at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).