public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug tree-optimization/104501] New: vector lowering for VEC_COND_EXPR does not consider smaller vectors @ 2022-02-11 12:58 rguenth at gcc dot gnu.org 2022-02-11 18:17 ` [Bug tree-optimization/104501] " pinskia at gcc dot gnu.org 2022-02-14 7:14 ` rguenth at gcc dot gnu.org 0 siblings, 2 replies; 3+ messages in thread From: rguenth at gcc dot gnu.org @ 2022-02-11 12:58 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104501 Bug ID: 104501 Summary: vector lowering for VEC_COND_EXPR does not consider smaller vectors 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 C++ testcase is decomposed to scalar operations by vector lowering when compiling with just SSE2 support. But when using a vector size of 16 we can produce optimized code. typedef int vsi __attribute__((vector_size(32))); vsi res, v1, v2, v3, v4; void foo () { res = v1 == v2 ? v3 : v4; } ^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug tree-optimization/104501] vector lowering for VEC_COND_EXPR does not consider smaller vectors 2022-02-11 12:58 [Bug tree-optimization/104501] New: vector lowering for VEC_COND_EXPR does not consider smaller vectors rguenth at gcc dot gnu.org @ 2022-02-11 18:17 ` pinskia at gcc dot gnu.org 2022-02-14 7:14 ` rguenth at gcc dot gnu.org 1 sibling, 0 replies; 3+ messages in thread From: pinskia at gcc dot gnu.org @ 2022-02-11 18:17 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104501 Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Severity|normal |enhancement --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I think this is direct dup of bug 55001. ^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug tree-optimization/104501] vector lowering for VEC_COND_EXPR does not consider smaller vectors 2022-02-11 12:58 [Bug tree-optimization/104501] New: vector lowering for VEC_COND_EXPR does not consider smaller vectors rguenth at gcc dot gnu.org 2022-02-11 18:17 ` [Bug tree-optimization/104501] " pinskia at gcc dot gnu.org @ 2022-02-14 7:14 ` rguenth at gcc dot gnu.org 1 sibling, 0 replies; 3+ messages in thread From: rguenth at gcc dot gnu.org @ 2022-02-14 7:14 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104501 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|UNCONFIRMED |RESOLVED --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- yep *** This bug has been marked as a duplicate of bug 55001 *** ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-02-14 7:14 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2022-02-11 12:58 [Bug tree-optimization/104501] New: vector lowering for VEC_COND_EXPR does not consider smaller vectors rguenth at gcc dot gnu.org 2022-02-11 18:17 ` [Bug tree-optimization/104501] " pinskia at gcc dot gnu.org 2022-02-14 7:14 ` 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).