r151090 - in /branches/graphite/gcc: ChangeLog....
spop@gcc.gnu.org
spop@gcc.gnu.org
Tue Aug 25 17:41:00 GMT 2009
Author: spop
Date: Tue Aug 25 17:41:09 2009
New Revision: 151090
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=151090
Log:
Strip mine uses a 2d+1 representation.
2009-08-25 Konrad Trifunovic <konrad.trifunovic@gmail.com>
Sebastian Pop <sebastian.pop@amd.com>
* graphite-blocking.c (pbb_strip_mine_loop_depth): Renamed
pbb_strip_mine_time_depth. Changed the implementation so that
transformation is expressed as a transformation on
time (scatttering) dimensions. Also, ensures that the 2d+1
scheduling format is preserved.
(pbb_strip_mine_profitable_p): Profitability is based on the
iteration number of a given time (scattering) dimension,
and not on a original loop depth dimension.
(pbb_strip_mine): Call pbb_number_of_iterations_at_time.
(pbb_do_strip_mine): Call psct_dynamic_dim.
* graphite-poly.c (pbb_number_of_iterations_at_time): New.
* graphite-poly.h (pbb_number_of_iterations_at_time): Declared.
(pbb_nb_dynamic_scattering_transform): New.
(psct_dynamic_dim): New.
Modified:
branches/graphite/gcc/ChangeLog.graphite
branches/graphite/gcc/graphite-blocking.c
branches/graphite/gcc/graphite-poly.c
branches/graphite/gcc/graphite-poly.h
More information about the Gcc-cvs
mailing list