public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/96208] New: non-power-of-2 group size can be vectorized for 2-element vectors case
@ 2020-07-15 15:01 dpochepk at gmail dot com
  2020-07-17  6:44 ` [Bug tree-optimization/96208] " rguenth at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: dpochepk at gmail dot com @ 2020-07-15 15:01 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 96208
           Summary: non-power-of-2 group size can be vectorized for
                    2-element vectors case
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dpochepk at gmail dot com
  Target Milestone: ---

Created attachment 48879
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48879&action=edit
initial implementation

Current loop vectorizer only vectorize loops with groups size being power-of-2
or 3 due to vector permutation generation algorithm specifics.
However, in case of 2-element vectors, simple permutation schema can be used to
support any group size: insert each vector element into required position,
which leads to reasonable amount of operations in case of 2-element vectors.

Initial version is attached.

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

end of thread, other threads:[~2023-06-27  7:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-15 15:01 [Bug tree-optimization/96208] New: non-power-of-2 group size can be vectorized for 2-element vectors case dpochepk at gmail dot com
2020-07-17  6:44 ` [Bug tree-optimization/96208] " rguenth at gcc dot gnu.org
2023-06-21 13:39 ` [Bug tree-optimization/96208] non-grouped load can be SLP " rguenth at gcc dot gnu.org
2023-06-22 12:51 ` rguenth at gcc dot gnu.org
2023-06-27  7:48 ` cvs-commit at gcc dot gnu.org
2023-06-27  7:49 ` rguenth 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).