From 52b03097b3cd53cc5af1e178eda6cb05a90fa8c9 Mon Sep 17 00:00:00 2001 From: Tobias Grosser Date: Sat, 15 Oct 2011 13:54:49 +0100 Subject: [PATCH] Small improvements to unroll documentation Fix a typo in cloog.texi, add some new comments and fix alignment of exisiting comments. Signed-off-by: Tobias Grosser --- doc/cloog.texi | 24 ++++++++++++------------ include/cloog/options.h | 16 ++++++++-------- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/doc/cloog.texi b/doc/cloog.texi index a6c7acb..56b50b8 100644 --- a/doc/cloog.texi +++ b/doc/cloog.texi @@ -1812,17 +1812,17 @@ by @code{usr}. @example @group struct cloogoptions -@{ int l ; /* -l option. */ - int f ; /* -f option. */ - int strides ; /* -strides option. */ - int sh ; /* -sh option. */ - int first_unroll; /* First level to unroll. */ - int esp ; /* -esp option. */ - int fsp ; /* -fsp option. */ - int otl ; /* -otl option. */ - int block ; /* -block option. */ - int compilable ; /* -compilable option. */ - int language; /* LANGUAGE_C or LANGUAGE_FORTRAN */ +@{ int l ; /* -l option. */ + int f ; /* -f option. */ + int strides ; /* -strides option. */ + int sh ; /* -sh option. */ + int first_unroll; /* -first-unroll option. */ + int esp ; /* -esp option. */ + int fsp ; /* -fsp option. */ + int otl ; /* -otl option. */ + int block ; /* -block option. */ + int compilable ; /* -compilable option. */ + int language; /* LANGUAGE_C or LANGUAGE_FORTRAN */ int save_domains; /* Save unsimplified copy of domain. */ @} ; typedef struct cloogoptions CloogOptions ; @@ -1841,7 +1841,7 @@ As a reminder, the default values are: @item @math{f = 1} (optimize control from the outermost loops), @item @math{strides = 0} (use only unit strides), @item @math{sh = 0} (do not compute simple convex hulls), -@item @math{first_unroll = -1} (do not perform unrolling), +@item @math{first\_unroll = -1} (do not perform unrolling), @item @math{esp = 1} (spread complex equalities), @item @math{fsp = 1} (start to spread from the first iterators), @item @math{otl = 1} (simplify loops running only once). diff --git a/include/cloog/options.h b/include/cloog/options.h index 97e482e..64e286c 100644 --- a/include/cloog/options.h +++ b/include/cloog/options.h @@ -57,14 +57,14 @@ struct cloogoptions { CloogState *state; /* State. */ /* OPTIONS FOR LOOP GENERATION */ - int l ; /* Last level to optimize. */ - int f ; /* First level to optimize. */ - int stop ; /* Level to stop code generation. */ - int strides ; /* 1 if user wants to handle non-unit strides (then loop - * increment can be something else than one), 0 otherwise. - */ - int sh; /* 1 for computing simple hulls */ - int first_unroll; + int l ; /* Last level to optimize. */ + int f ; /* First level to optimize. */ + int stop ; /* Level to stop code generation. */ + int strides ; /* 1 if user wants to handle non-unit strides (then loop + * increment can be something else than one), 0 otherwise. + */ + int sh; /* 1 for computing simple hulls */ + int first_unroll; /* The first dimension to unroll */ /* OPTIONS FOR PRETTY PRINTING */ int esp ; /* 1 if user wants to spread all equalities, i.e. when there -- 2.11.4.GIT