summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/Vectorizers.rst13
-rw-r--r--docs/gcc-loops.pngbin0 -> 16653 bytes
2 files changed, 13 insertions, 0 deletions
diff --git a/docs/Vectorizers.rst b/docs/Vectorizers.rst
index 291c76dd26..b60e46dbca 100644
--- a/docs/Vectorizers.rst
+++ b/docs/Vectorizers.rst
@@ -188,6 +188,19 @@ See the table below for a list of these functions.
|fma |trunc|nearbyint|
+-----+-----+---------+
+Performance
+^^^^^^^^^^^
+
+This section shows the the execution time of Clang on a simple benchmark:
+`gcc-loops <http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/UnitTests/Vectorizer/>`._
+This benchmarks is a collection of loops from the GCC autovectorization
+`page <http://gcc.gnu.org/projects/tree-ssa/vectorization.html>` by Dorit Nuzman._
+
+The chart below compares GCC-4.7, ICC-13, and Clang-SVN at -O3, running on a Sandybridge.
+The Y-axis shows time in msec. Lower is better.
+
+.. image:: gcc-loops.png
+
The Basic Block Vectorizer
==========================
diff --git a/docs/gcc-loops.png b/docs/gcc-loops.png
new file mode 100644
index 0000000000..e178146bed
--- /dev/null
+++ b/docs/gcc-loops.png
Binary files differ