public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug tree-optimization/18813] New: not vectorizing obvious loop @ 2004-12-03 18:14 pinskia at gcc dot gnu dot org 2004-12-03 19:51 ` [Bug tree-optimization/18813] " pinskia at gcc dot gnu dot org ` (2 more replies) 0 siblings, 3 replies; 4+ messages in thread From: pinskia at gcc dot gnu dot org @ 2004-12-03 18:14 UTC (permalink / raw) To: gcc-bugs We cannot vectorize the following loop because the "number of iterations cannot be computed". int f(int *s, int *e) { while ( s < e ) *s++ = 0; } This acutally shows up in SPEC (gap). -- Summary: not vectorizing obvious loop Product: gcc Version: 4.0.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: enhancement Priority: P2 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pinskia at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18813 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug tree-optimization/18813] not vectorizing obvious loop 2004-12-03 18:14 [Bug tree-optimization/18813] New: not vectorizing obvious loop pinskia at gcc dot gnu dot org @ 2004-12-03 19:51 ` pinskia at gcc dot gnu dot org 2004-12-06 4:58 ` pinskia at gcc dot gnu dot org 2004-12-21 5:44 ` pinskia at gcc dot gnu dot org 2 siblings, 0 replies; 4+ messages in thread From: pinskia at gcc dot gnu dot org @ 2004-12-03 19:51 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-03 19:51 ------- Oh, the problem is we don't handle non one increment. Another example: int f(unsigned s1, unsigned s2, int *s, int *e) { unsigned i; for (i = s1; i< s2; i+=4) *s++ = 0; } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18813 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug tree-optimization/18813] not vectorizing obvious loop 2004-12-03 18:14 [Bug tree-optimization/18813] New: not vectorizing obvious loop pinskia at gcc dot gnu dot org 2004-12-03 19:51 ` [Bug tree-optimization/18813] " pinskia at gcc dot gnu dot org @ 2004-12-06 4:58 ` pinskia at gcc dot gnu dot org 2004-12-21 5:44 ` pinskia at gcc dot gnu dot org 2 siblings, 0 replies; 4+ messages in thread From: pinskia at gcc dot gnu dot org @ 2004-12-06 4:58 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-06 04:58 ------- Confirmed. -- What |Removed |Added ---------------------------------------------------------------------------- CC| |rakdver at gcc dot gnu dot | |org Status|UNCONFIRMED |NEW Ever Confirmed| |1 Last reconfirmed|0000-00-00 00:00:00 |2004-12-06 04:58:12 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18813 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug tree-optimization/18813] not vectorizing obvious loop 2004-12-03 18:14 [Bug tree-optimization/18813] New: not vectorizing obvious loop pinskia at gcc dot gnu dot org 2004-12-03 19:51 ` [Bug tree-optimization/18813] " pinskia at gcc dot gnu dot org 2004-12-06 4:58 ` pinskia at gcc dot gnu dot org @ 2004-12-21 5:44 ` pinskia at gcc dot gnu dot org 2 siblings, 0 replies; 4+ messages in thread From: pinskia at gcc dot gnu dot org @ 2004-12-21 5:44 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-21 05:44 ------- Note we are unrolling this loop now so that should help SPEC. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18813 ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-12-21 5:44 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2004-12-03 18:14 [Bug tree-optimization/18813] New: not vectorizing obvious loop pinskia at gcc dot gnu dot org 2004-12-03 19:51 ` [Bug tree-optimization/18813] " pinskia at gcc dot gnu dot org 2004-12-06 4:58 ` pinskia at gcc dot gnu dot org 2004-12-21 5:44 ` pinskia at gcc dot gnu dot 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).