Commit e797c5f2 by Sebastian Pop Committed by Sebastian Pop

graphite-blocking.c (pbb_do_strip_mine): Use PARAM_LOOP_BLOCK_TILE_SIZE.

2009-10-13  Sebastian Pop  <sebastian.pop@amd.com>

	* graphite-blocking.c (pbb_do_strip_mine): Use
	PARAM_LOOP_BLOCK_TILE_SIZE.
	* params.def (PARAM_LOOP_BLOCK_TILE_SIZE): Declared.

From-SVN: r154574
parent bfa00f48
2009-10-13 Sebastian Pop <sebastian.pop@amd.com>
* graphite-blocking.c (pbb_do_strip_mine): Use
PARAM_LOOP_BLOCK_TILE_SIZE.
2009-10-13 Sebastian Pop <sebastian.pop@amd.com>
* graphite-poly.c (dot_lst_1): New.
(dot_lst): New.
* graphite-poly.h (dot_lst): Declared.
......
......@@ -202,7 +202,7 @@ static bool
pbb_do_strip_mine (poly_bb_p pbb)
{
graphite_dim_t s_dim;
int stride = 64;
int stride = PARAM_VALUE (PARAM_LOOP_BLOCK_TILE_SIZE);
bool transform_done = false;
for (s_dim = 0; s_dim < pbb_nb_dynamic_scattering_transform (pbb); s_dim++)
......
......@@ -733,6 +733,13 @@ DEFPARAM (PARAM_SWITCH_CONVERSION_BRANCH_RATIO,
"a switch conversion to take place",
8, 1, 0)
/* Size of tiles when doing loop blocking. */
DEFPARAM (PARAM_LOOP_BLOCK_TILE_SIZE,
"loop-block-tile-size",
"size of tiles for loop blocking",
51, 0, 0)
/* Avoid doing loop invariant motion on very large loops. */
DEFPARAM (PARAM_LOOP_INVARIANT_MAX_BBS_IN_LOOP,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment