Doc: add fmuladd to the list of vectorizeable functions. Thanks hfinkel.

llvm-svn: 171094
This commit is contained in:
Nadav Rotem 2012-12-26 06:03:35 +00:00
parent 8a48677586
commit 7375d35711
1 changed files with 14 additions and 0 deletions

View File

@ -183,6 +183,18 @@ vectorization is profitable.
A[i] += 4 * B[i];
}
Vectorization of Special Idioms
-------------------------------
The Loop Vectorizer can detect and vectorize
.. code-block:: c++
for ( k=1 ; k<n ; k++ ) {
x[k] = x[k-1] + y[k];
}
Vectorization of function calls
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@ -200,6 +212,8 @@ See the table below for a list of these functions.
+-----+-----+---------+
|fma |trunc|nearbyint|
+-----+-----+---------+
| | | fmuladd |
+-----+-----+---------+
Performance
-----------