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
This commit is contained in:
Nadav Rotem 2012-12-19 08:28:24 +00:00
parent 4b977312c7
commit 67a6ec87be
2 changed files with 13 additions and 0 deletions

View File

@ -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
==========================

BIN
docs/gcc-loops.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB