public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/104240] New: SLP discovery does not consider swapping comparisons
@ 2022-01-26 12:43 rguenth at gcc dot gnu.org
  2022-01-26 12:44 ` [Bug tree-optimization/104240] " rguenth at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-01-26 12:43 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 104240
           Summary: SLP discovery does not consider swapping comparisons
           Product: gcc
           Version: 12.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: ---

The following testcase is not vectorized because of a < vs > operation
mismatch.

void foo (int *c, float *x, float *y)
{
  c[0] = x[0] < y[0];
  c[1] = y[1] > x[1];
  c[2] = x[2] < y[2];
  c[3] = x[3] < y[3];
}

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

end of thread, other threads:[~2022-05-02 11:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-26 12:43 [Bug tree-optimization/104240] New: SLP discovery does not consider swapping comparisons rguenth at gcc dot gnu.org
2022-01-26 12:44 ` [Bug tree-optimization/104240] " rguenth at gcc dot gnu.org
2022-01-26 12:45 ` rguenth at gcc dot gnu.org
2022-04-19 14:44 ` rguenth at gcc dot gnu.org
2022-05-02 11:17 ` cvs-commit at gcc dot gnu.org
2022-05-02 11:17 ` 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).