2.1.120. --[no_]vectorize

This option enables or disables the generation of NEON vector instructions directly from C or C++ code.


The default is --no_vectorize.


The following options must be specified for loops to vectorize:


Target processor must have NEON capability.


Type of optimization to reduce execution time.


Level of optimization. One of the following must be used:

  • -O2 High optimization. This is the default.

  • -O3 Maximum optimization.


NEON is an implementation of the ARM Advanced Single Instruction, Multiple Data (SIMD) extension.

A separate FLEXnet license is needed to enable the use of vectorization.


armcc --vectorize --cpu=Cortex-A8 -O3 -Otime -c file.c

See also

Copyright © 2007, 2010 ARM Limited. All rights reserved.ARM DUI 0348A