mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
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:
parent
02082efaab
commit
f7769e3c2f
@ -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…
x
Reference in New Issue
Block a user