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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171094 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Nadav Rotem 2012-12-26 06:03:35 +00:00
parent 02082efaab
commit f7769e3c2f

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