[llvm-commits] [llvm] r171449 - /llvm/trunk/docs/Vectorizers.rst
Nadav Rotem
nrotem at apple.com
Wed Jan 2 17:56:33 PST 2013
Author: nadav
Date: Wed Jan 2 19:56:33 2013
New Revision: 171449
URL: http://llvm.org/viewvc/llvm-project?rev=171449&view=rev
Log:
Reformat the rst text.
Modified:
llvm/trunk/docs/Vectorizers.rst
Modified: llvm/trunk/docs/Vectorizers.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/Vectorizers.rst?rev=171449&r1=171448&r2=171449&view=diff
==============================================================================
--- llvm/trunk/docs/Vectorizers.rst (original)
+++ llvm/trunk/docs/Vectorizers.rst Wed Jan 2 19:56:33 2013
@@ -208,15 +208,14 @@
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Modern processors feature multiple execution units, and only programs that contain a
-high degree of parallelism can fully utilize the entire width of the machine.
-
+high degree of parallelism can fully utilize the entire width of the machine.
The Loop Vectorizer increases the instruction level parallelism (ILP) by
performing partial-unrolling of loops.
In the example below the entire array is accumulated into the variable 'sum'.
-This is inefficient because only a single 'adder' can be used by the processor.
+This is inefficient because only a single execution port can be used by the processor.
By unrolling the code the Loop Vectorizer allows two or more execution ports
-to be used.
+to be used simultaneously.
.. code-block:: c++
More information about the llvm-commits
mailing list