public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/104658] New: Inefficient vectorization using mask CTORs
@ 2022-02-23 10:25 rguenth at gcc dot gnu.org
  2022-02-23 10:26 ` [Bug tree-optimization/104658] " rguenth at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-02-23 10:25 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 104658
           Summary: Inefficient vectorization using mask CTORs
           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: ---

Originally observed as part of PR101636 - we are sometimes mixing mask &
non-mask
vector defs resulting in external defs for SLP nodes of mask type which are not
code-generated efficiently, resulting in

     <signed-boolean:1> _135 = _49 ? -1 : 0;
     _144 = { _135, .... }

and quite awful bit-insert code.  That's not expected cost wise and the
appropriate fix is to the bool pattern recog which should have prepared the
IL to avoid the situation.

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

end of thread, other threads:[~2022-05-04 13:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-23 10:25 [Bug tree-optimization/104658] New: Inefficient vectorization using mask CTORs rguenth at gcc dot gnu.org
2022-02-23 10:26 ` [Bug tree-optimization/104658] " rguenth at gcc dot gnu.org
2022-05-04 13:12 ` cvs-commit at gcc dot gnu.org
2022-05-04 13:15 ` 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).