Generating NEON instructions from C or C++ code

You must use RVCT 3.1 or later, or ARM Compiler 4.1 or later, with a valid NEON compiler license.

To generate NEON instructions from C or C++ code, you must specify the following compiler options:

You can also use --diag_warning=optimizations to obtain useful diagnostics from the compiler on what it can and cannot optimize or vectorize. For example:

armcc --cpu Cortex-A8 --vectorize -O3 -Otime --diag_warning=optimizations source.c

Show/hideSee also

Tasks
Concepts
Reference
Other information

Introducing the ARM Compiler toolchain:

Copyright © 2010-2011 ARM. All rights reserved.ARM DUI 0472E
Non-ConfidentialID071611