aboutsummaryrefslogtreecommitdiff
path: root/docs/Vectorizers.rst
diff options
context:
space:
mode:
authorNadav Rotem <nrotem@apple.com>2012-12-19 18:04:44 +0000
committerNadav Rotem <nrotem@apple.com>2012-12-19 18:04:44 +0000
commit649a33e171712f1b696826dfb48c9f0b1cd1252e (patch)
tree6a801d2275dc0ef70122c5014992ab980a25a2f2 /docs/Vectorizers.rst
parent3e6da7e0dc7f264578203315272721919023a1b1 (diff)
doc: add subsections.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170568 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/Vectorizers.rst')
-rw-r--r--docs/Vectorizers.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/Vectorizers.rst b/docs/Vectorizers.rst
index 9507fd6953..f585c630f9 100644
--- a/docs/Vectorizers.rst
+++ b/docs/Vectorizers.rst
@@ -12,6 +12,9 @@ original loop to operate on multiple consecutive loop iterations.
The Loop Vectorizer
===================
+Usage
+^^^^^^
+
LLVM’s Loop Vectorizer is now available and will be useful for many people.
It is not enabled by default, but can be enabled through clang using the
command line flag:
@@ -208,6 +211,9 @@ The Y-axis shows time in msec. Lower is better.
The Basic Block Vectorizer
==========================
+Usage
+^^^^^^
+
The Basic Block Vectorizer is not enabled by default, but it can be enabled
through clang using the command line flag:
@@ -215,6 +221,9 @@ through clang using the command line flag:
$ clang -fslp-vectorize file.c
+Details
+^^^^^^^
+
The goal of basic-block vectorization (a.k.a. superword-level parallelism) is
to combine similar independent instructions within simple control-flow regions
into vector instructions. Memory accesses, arithemetic operations, comparison