summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordorit <dorit@138bc75d-0d04-0410-961f-82ee72b054a4>2005-05-02 13:32:20 +0000
committerdorit <dorit@138bc75d-0d04-0410-961f-82ee72b054a4>2005-05-02 13:32:20 +0000
commitc412c1f36bbff69eb1b3f248820f5bfa3dd5d3e0 (patch)
tree02e62d0f2dc67ad15d8640bef3aa214d4295b116
parentb4a88412eca08b85c5529713ccb987e19a241f16 (diff)
downloadppe42-gcc-c412c1f36bbff69eb1b3f248820f5bfa3dd5d3e0.tar.gz
ppe42-gcc-c412c1f36bbff69eb1b3f248820f5bfa3dd5d3e0.zip
* doc/passes.texi: Document vectorization pass.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99094 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/doc/passes.texi13
2 files changed, 17 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 790c285bbd0..1da038fd76d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2005-05-02 Dorit Naishlos <dorit@il.ibm.com>
+
+ * doc/passes.texi: Document vectorization pass.
+
2005-05-02 Kazu Hirata <kazu@cs.umass.edu>
* tree-scalar-evolution.c (get_exit_conditions_rec,
diff --git a/gcc/doc/passes.texi b/gcc/doc/passes.texi
index fd4e323d90a..f2aba6d9758 100644
--- a/gcc/doc/passes.texi
+++ b/gcc/doc/passes.texi
@@ -399,6 +399,19 @@ The optimizations also use various utility functions contained in
@file{tree-ssa-loop-manip.c}, @file{cfgloop.c}, @file{cfgloopanal.c} and
@file{cfgloopmanip.c}.
+Vectorization. This pass transforms loops to operate on vector types
+instead of scalar types. Data parallelism across loop iterations is exploited
+to group data elements from consecutive iterations into a vector and operate
+on them in parallel. Depending on available target support the loop is
+conceptually unrolled by a factor @code{VF} (vectorization factor), which is
+the number of elements operated upon in parallel in each iteration, and the
+@code{VF} copies of each scalar operation are fused to form a vector operation.
+Additional loop transformations such as peeling and versioning may take place
+to align the number of iterations, and to align the memory accesses in the loop.
+The pass is implemented in @file{tree-vectorizer.c} (the main driver and general
+utilities), @file{tree-vect-analyze.c} and @file{tree-vect-tranform.c}.
+Analysis of data references is in @file{tree-data-ref.c}.
+
@item Tree level if-conversion for vectorizer
This pass applies if-conversion to simple loops to help vectorizer.
OpenPOWER on IntegriCloud