public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/106038] New: x86_64 vectorization of ALU ops using xmm registers prematurely
@ 2022-06-20 23:49 goldstein.w.n at gmail dot com
  2022-06-20 23:53 ` [Bug target/106038] " pinskia at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: goldstein.w.n at gmail dot com @ 2022-06-20 23:49 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 106038
           Summary: x86_64 vectorization of ALU ops using xmm registers
                    prematurely
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: goldstein.w.n at gmail dot com
  Target Milestone: ---

See: https://godbolt.org/z/YxWEn6Y65

Basically in all cases where the total amount of memory touched is <= 8 bytes
(word size) the vectorization pass is choosing to inefficiently use xmm
registers to vectorize the unrolled loops. 

GPRs (as GCC <= 9.5 was doing) is faster / less code size.


Related to: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106022

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

end of thread, other threads:[~2022-07-22  1:39 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-20 23:49 [Bug target/106038] New: x86_64 vectorization of ALU ops using xmm registers prematurely goldstein.w.n at gmail dot com
2022-06-20 23:53 ` [Bug target/106038] " pinskia at gcc dot gnu.org
2022-06-21  0:01 ` goldstein.w.n at gmail dot com
2022-06-21  1:28 ` crazylht at gmail dot com
2022-06-21  8:20 ` rguenth at gcc dot gnu.org
2022-06-21 15:33 ` goldstein.w.n at gmail dot com
2022-06-21 15:56 ` crazylht at gmail dot com
2022-07-22  1:39 ` cvs-commit 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).