public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/103941] New: uavgv2qi3_ceil is not used
@ 2022-01-07 15:31 ubizjak at gmail dot com
  2022-01-10 10:53 ` [Bug tree-optimization/103941] uavgv2qi3_ceil is not used (SLP costing and patterns vs live stmts) rguenth at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: ubizjak at gmail dot com @ 2022-01-07 15:31 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 103941
           Summary: uavgv2qi3_ceil is not used
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ubizjak at gmail dot com
  Target Milestone: ---

Following testcase:

unsigned char ur[16], ua[16], ub[16];

void avgu_v2qi (void)
{
  int i;

  for (i = 0; i < 2; i++)
    ur[i] = (ua[i] + ub[i] + 1) >> 1;
}

does not vectorize on x86_64-linux-gnu with -O2 -ftree-vectorize.

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

end of thread, other threads:[~2022-04-19 14:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-07 15:31 [Bug tree-optimization/103941] New: uavgv2qi3_ceil is not used ubizjak at gmail dot com
2022-01-10 10:53 ` [Bug tree-optimization/103941] uavgv2qi3_ceil is not used (SLP costing and patterns vs live stmts) rguenth at gcc dot gnu.org
2022-01-10 12:49 ` rguenth at gcc dot gnu.org
2022-01-12 19:57 ` cvs-commit at gcc dot gnu.org
2022-01-26 12:42 ` rguenth at gcc dot gnu.org
2022-04-19 14:42 ` cvs-commit at gcc dot gnu.org
2022-04-19 14:44 ` 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).