doc: add subsections.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170568 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Nadav Rotem 2012-12-19 18:04:44 +00:00
parent 3e6da7e0dc
commit 649a33e171

View File

@ -12,6 +12,9 @@ original loop to operate on multiple consecutive loop iterations.
The Loop Vectorizer
===================
Usage
^^^^^^
LLVMs 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