public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/115342] New: [14/15 Regression] AArch64: Function multiversioning initialization incorrect
@ 2024-06-04  9:11 wilco at gcc dot gnu.org
  2024-06-05  6:42 ` [Bug target/115342] " rguenth at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: wilco at gcc dot gnu.org @ 2024-06-04  9:11 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115342

            Bug ID: 115342
           Summary: [14/15 Regression] AArch64: Function multiversioning
                    initialization incorrect
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: wilco at gcc dot gnu.org
  Target Milestone: ---

The CPU features initialization code uses CPUID registers. It uses incorrect
comparisons so that for example SVE is not set if SVE2 is available. Using
HWCAPs for these is both simpler and works correctly. The initialization must
also be done atomically so to avoid multiple threads causing corruption due to
non-atomic RMW of the global.

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

end of thread, other threads:[~2024-06-21 16:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-04  9:11 [Bug target/115342] New: [14/15 Regression] AArch64: Function multiversioning initialization incorrect wilco at gcc dot gnu.org
2024-06-05  6:42 ` [Bug target/115342] " rguenth at gcc dot gnu.org
2024-06-05 13:21 ` cvs-commit at gcc dot gnu.org
2024-06-20  4:47 ` ramana at gcc dot gnu.org
2024-06-20 10:38 ` wilco at gcc dot gnu.org
2024-06-21 16:33 ` cvs-commit at gcc dot gnu.org
2024-06-21 16:36 ` wilco at gcc dot gnu.org

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).