This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug optimization/13745] New: [tree-ssa] expressions not converted back to array form


In the oopack benchmark converted to use ints instead of doubles the following
can be seen in the .optimized dump:

in Matrix::c_style
 sum = C[pretmp.432 + k] * D[k * 50 + j] + sum;

The equivalent in Matrix::oop_style: 
<L2>:;
  <D7085> = (int *)((unsigned int)(pretmp.525 + k) * 4) + &C;
<L3>:;
  T.275 = *<D7085>;
  <D7098> = (int *)((unsigned int)(k * 50 + j) * 4) + &D;
<L4>:;
  sum = T.275 * *<D7098> + sum;


This might or might not be related to the Matrix slowdown mentioned at:
 http://gcc.gnu.org/ml/gcc/2004-01/msg01161.html

-- 
           Summary: [tree-ssa] expressions not converted back to array form
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dann at godzilla dot ics dot uci dot edu
                CC: gcc-bugs at gcc dot gnu dot org


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]