diff options
author | Sebastian Pop <sebastian.pop@amd.com> | 2010-03-13 17:35:08 +0000 |
---|---|---|
committer | Sebastian Pop <spop@gcc.gnu.org> | 2010-03-13 17:35:08 +0000 |
commit | 9d19891386c3d0a4626b6c08a4bcc7dd9f56cfb5 (patch) | |
tree | 9deb693dc124e10203d6089824623291943a423e /gcc/doc | |
parent | 1f3803148ffa5702cb86f43a6bf2ecaeacb1b1bd (diff) | |
download | gcc-9d19891386c3d0a4626b6c08a4bcc7dd9f56cfb5.zip gcc-9d19891386c3d0a4626b6c08a4bcc7dd9f56cfb5.tar.gz gcc-9d19891386c3d0a4626b6c08a4bcc7dd9f56cfb5.tar.bz2 |
Document PARAM_LOOP_BLOCK_TILE_SIZE.
2010-03-09 Sebastian Pop <sebastian.pop@amd.com>
* doc/invoke.texi (PARAM_LOOP_BLOCK_TILE_SIZE): Document.
From-SVN: r157435
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/invoke.texi | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index b856ca2..8648405 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -6675,7 +6675,9 @@ Graphite loop transformation infrastructure. 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. For example, given a loop like: +original loop within a strip. The strip length can be changed +using the @option{loop-block-tile-size} parameter. For example, +given a loop like: @smallexample DO I = 1, N A(I) = A(I) + C @@ -6683,8 +6685,8 @@ ENDDO @end smallexample loop strip mining will transform the loop as if the user had written: @smallexample -DO II = 1, N, 4 - DO I = II, min (II + 3, N) +DO II = 1, N, 51 + DO I = II, min (II + 50, N) A(I) = A(I) + C ENDDO ENDDO @@ -6697,7 +6699,9 @@ enable the Graphite loop transformation infrastructure. @item -floop-block Perform loop blocking transformations on loops. Blocking strip mines each loop in the loop nest such that the memory accesses of the -element loops fit inside caches. For example, given a loop like: +element loops fit inside caches. The strip length can be changed +using the @option{loop-block-tile-size} parameter. For example, given +a loop like: @smallexample DO I = 1, N DO J = 1, M @@ -6707,10 +6711,10 @@ ENDDO @end smallexample loop blocking will transform the loop as if the user had written: @smallexample -DO II = 1, N, 64 - DO JJ = 1, M, 64 - DO I = II, min (II + 63, N) - DO J = JJ, min (JJ + 63, M) +DO II = 1, N, 51 + DO JJ = 1, M, 51 + DO I = II, min (II + 50, N) + DO J = JJ, min (JJ + 50, M) A(J, I) = B(I) + C(J) ENDDO ENDDO @@ -8501,6 +8505,11 @@ To avoid exponential effects in the detection of SCoPs, the functions with more than 100 basic blocks are not handled by the Graphite loop transforms. +@item loop-block-tile-size +The default factor for the loop blocking or strip mining transforms, +enabled with @option{-floop-block} or @option{-floop-strip-mine}, is +51. + @end table @end table |