public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/57705] New: Non-constant step induction vars not vectorized
@ 2013-06-25 8:08 jakub at gcc dot gnu.org
2013-06-25 9:43 ` [Bug tree-optimization/57705] " jakub at gcc dot gnu.org
0 siblings, 1 reply; 2+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-06-25 8:08 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57705
Bug ID: 57705
Summary: Non-constant step induction vars not vectorized
Product: gcc
Version: 4.9.0
Status: UNCONFIRMED
Keywords: missed-optimization
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: jakub at gcc dot gnu.org
Reporter: jakub at gcc dot gnu.org
int a[1024] __attribute__ ((aligned (32)));
void
bar (int k, int m)
{
int i, k2 = k;
for (i = 0; i < 1024; i++)
{
a[i] = k2;
k2 += m + 1;
}
}
isn't vectorized, although it seems fairly easy to handle these.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug tree-optimization/57705] Non-constant step induction vars not vectorized
2013-06-25 8:08 [Bug tree-optimization/57705] New: Non-constant step induction vars not vectorized jakub at gcc dot gnu.org
@ 2013-06-25 9:43 ` jakub at gcc dot gnu.org
0 siblings, 0 replies; 2+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-06-25 9:43 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57705
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 30358
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30358&action=edit
gcc49-pr57705.patch
Patch I'm bootstrapping/regtesting right now.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-06-25 9:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-25 8:08 [Bug tree-optimization/57705] New: Non-constant step induction vars not vectorized jakub at gcc dot gnu.org
2013-06-25 9:43 ` [Bug tree-optimization/57705] " jakub 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).