Doc: add fmuladd to the list of vectorizeable functions. Thanks hfinkel.
llvm-svn: 171094
This commit is contained in:
parent
8a48677586
commit
7375d35711
|
@ -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
|
||||
-----------
|
||||
|
|
Loading…
Reference in New Issue