public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/36281]  New: vectorized code not parallelized
@ 2008-05-20 19:26 spop at gcc dot gnu dot org
  2008-05-20 19:42 ` [Bug tree-optimization/36281] " pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: spop at gcc dot gnu dot org @ 2008-05-20 19:26 UTC (permalink / raw)
  To: gcc-bugs

The testcase of PR36181 should be parallelized after being vectorized.

/* { dg-do compile } */
/* { dg-options "-O3 -ftree-parallelize-loops=2" } */

int foo ()
{
  int i, sum = 0, data[1024];

  for(i = 0; i<1024; i++)
    sum += data[i];

  return sum;
}

The fix for PR36181 was to disable the parallelization of a loop when
one of the phi nodes had a vector type.  This testcase should also be
parallelized.  See also the comments from the fix for PR36181:
http://gcc.gnu.org/ml/gcc-patches/2008-05/msg01217.html


-- 
           Summary: vectorized code not parallelized
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: spop at gcc dot gnu dot org
        ReportedBy: spop at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36281


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

end of thread, other threads:[~2010-07-19  8:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-20 19:26 [Bug tree-optimization/36281] New: vectorized code not parallelized spop at gcc dot gnu dot org
2008-05-20 19:42 ` [Bug tree-optimization/36281] " pinskia at gcc dot gnu dot org
2008-12-28  3:26 ` [Bug tree-optimization/36281] vector code is " pinskia at gcc dot gnu dot org
2010-07-19  8:25 ` rob1weld at aol dot com

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).