summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit15bdbbe30909025953c338e77c0b4156115e755e (patch)
tree13a682daec6784c1bc9b259a0cacbc436d1f7e7d /llvm/docs/Vectorizers.rst
parentb6219c060bc97b3e02780e1c4acb658fde09427b (diff)
downloadbcm5719-llvm-15bdbbe30909025953c338e77c0b4156115e755e.tar.gz
bcm5719-llvm-15bdbbe30909025953c338e77c0b4156115e755e.zip
DOC: add a benchmarks that compares us to gcc and icc.
llvm-svn: 170509
Diffstat (limited to 'llvm/docs/Vectorizers.rst')
-rw-r--r--llvm/docs/Vectorizers.rst13
1 files changed, 13 insertions, 0 deletions
diff --git a/llvm/docs/Vectorizers.rst b/llvm/docs/Vectorizers.rst
index 291c76dd265..b60e46dbca0 100644
--- a/llvm/docs/Vectorizers.rst
+++ b/llvm/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
==========================
OpenPOWER on IntegriCloud