This is the mail archive of the gcc-patches@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]

Re: Graphite middle-end parts review


Sebastian Pop wrote:

 @item -floop-strip-mine
-Perform loop strip mining transformations on loops.
+Perform loop strip mining transformations on loops.  Strip mining
+splits a loop into two nested loops.  The outer loop has strides
+equal to the strip size and the inner loop has strides of the
+original loop within a strip.

I don't see this as a blocking issue for the merge, but it might be nice to show a C example where this is helpful. Otherwise, this just seems like a weird thing to do to your average programmer.


"For example, given a loop like:

...

strip-mining will transform the loop as if the user had written:

...

which is beneficial because ..."

FWIW,

--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713


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