public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/111131] New: SLP of gathers incomplete
@ 2023-08-24 12:32 rguenth at gcc dot gnu.org
  2023-09-29 12:35 ` [Bug tree-optimization/111131] " rguenth at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-08-24 12:32 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 111131
           Summary: SLP of gathers incomplete
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rguenth at gcc dot gnu.org
  Target Milestone: ---

SLP of gathers relies on vect_recog_gather_scatter_pattern but for example
x86 still uses the decl based target hook.  There's also open-coded
gather/scatter support which isn't handled by SLP either.

The "correct" way is probably to use vect_check_gather_scatter at SLP
build time.

This can for example be seen when trying to vectorize
gcc.dg/vect/tsvc/vect-tsvc-vag.c with single-lane SLP, but
gcc.dg/vect/vect-gather-*.c also FAIL without vect_gather_load_ifn.

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

end of thread, other threads:[~2023-10-20 13:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-24 12:32 [Bug tree-optimization/111131] New: SLP of gathers incomplete rguenth at gcc dot gnu.org
2023-09-29 12:35 ` [Bug tree-optimization/111131] " rguenth at gcc dot gnu.org
2023-10-19  7:54 ` rguenth at gcc dot gnu.org
2023-10-19 12:28 ` cvs-commit at gcc dot gnu.org
2023-10-19 12:29 ` rguenth at gcc dot gnu.org
2023-10-20 13:27 ` carlos.seo at linaro dot org
2023-10-20 13:34 ` rguenther at suse dot de

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