vectorize
In this section:
Syntax
#pragma vectorize [= never]
Parameters
No parameter | Enables generation of NEON vector instructions in 32-bit mode. |
| Disables generation of NEON vector instructions. |
Description
Use this pragma directive to enable or disable generation of NEON vector instructions for the loop that follows immediately after the pragma directive. This pragma directive can only be placed immediately before a for, do, or while loop. If the optimization level is lower than High, the pragma directive has no effect.
Note
Auto-vectorization is not supported in 64-bit mode.
Example
#pragma vectorize
for (i = 0; i < 1024; ++i)
{
a[i] = b[i] * c[i];]
}