[Bug tree-optimization/55600] New: excessive size of vectorized code

neleai at seznam dot cz gcc-bugzilla@gcc.gnu.org
Wed Dec 5 00:34:00 GMT 2012


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

             Bug #: 55600
           Summary: excessive size of vectorized code
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: neleai@seznam.cz


Consider following code:

int sum(int *s){long i;
  int su=0;
  for(i=0;i<128;i+=2) su+=s[i]*s[i+1];
  return su;
}

When compiled by latest gcc with -O3 then generated assembly has 1099 bytes.



More information about the Gcc-bugs mailing list