aboutsummaryrefslogtreecommitdiffstats
path: root/docs/Vectorizers.rst
diff options
context:
space:
mode:
authorNadav Rotem <nrotem@apple.com>2012-12-19 08:28:24 +0000
committerNadav Rotem <nrotem@apple.com>2012-12-19 08:28:24 +0000
commit67a6ec87be54f84e8c8ea6c49583e9303fecef2c (patch)
tree613bfd0cab614a947d24e78c21f5d5a98a7843f6 /docs/Vectorizers.rst
parent4b977312c7a9c078211de83771b40a1561deb047 (diff)
downloadexternal_llvm-67a6ec87be54f84e8c8ea6c49583e9303fecef2c.zip
external_llvm-67a6ec87be54f84e8c8ea6c49583e9303fecef2c.tar.gz
external_llvm-67a6ec87be54f84e8c8ea6c49583e9303fecef2c.tar.bz2
DOC: add a benchmarks that compares us to gcc and icc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170509 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/Vectorizers.rst')
-rw-r--r--docs/Vectorizers.rst13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/Vectorizers.rst b/docs/Vectorizers.rst
index 291c76d..b60e46d 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
==========================