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]

[patch][doc] Document -floop-* dependences on Graphite libs


Hi,

Thanks to Laurent Guerby for pointing out that the documentation for
the -floop-* flags is not complete: these flags are only enabled when
GCC is configured with the Graphite infrastructure.  Okay for trunk
and 4.4?

Thank you,
Sebastian Pop
--
AMD - GNU Tools
Index: invoke.texi
===================================================================
--- invoke.texi	(revision 145097)
+++ invoke.texi	(working copy)
@@ -6238,7 +6238,9 @@ because in Fortran, the elements of an a
 contiguously by column, and the original loop iterates over rows,
 potentially creating at each access a cache miss.  This optimization
 applies to all the languages supported by GCC and is not limited to
-Fortran.
+Fortran.  To use this code transform, GCC has to be configured with
+@option{--with-ppl} and @option{--with-cloog} to enable the Graphite
+loop transform infrastructure.
 
 @item -floop-strip-mine
 Perform loop strip mining transformations on loops.  Strip mining
@@ -6259,7 +6261,9 @@ DO II = 1, N, 4
 ENDDO
 @end smallexample
 This optimization applies to all the languages supported by GCC and is
-not limited to Fortran.
+not limited to Fortran.  To use this code transform, GCC has to be
+configured with @option{--with-ppl} and @option{--with-cloog} to
+enable the Graphite loop transform infrastructure.
 
 @item -floop-block
 Perform loop blocking transformations on loops.  Blocking strip mines
@@ -6287,7 +6291,10 @@ ENDDO
 which can be beneficial when @code{M} is larger than the caches,
 because the innermost loop will iterate over a smaller amount of data
 that can be kept in the caches.  This optimization applies to all the
-languages supported by GCC and is not limited to Fortran.
+languages supported by GCC and is not limited to Fortran.  To use this
+code transform, GCC has to be configured with @option{--with-ppl} and
+@option{--with-cloog} to enable the Graphite loop transform
+infrastructure.
 
 @item -fcheck-data-deps
 @opindex fcheck-data-deps

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