| |||
| Home > Using the NEON Vectorizing Compiler > Writing code for NEON > Automatic vectorization | |||
By coding in vectorizable loops instead of writing in explicit NEON instructions, code portability is preserved between processors. Performance levels similar to that of hand coded vectorization are achieved with less effort.
Example 3.1 provides an example of command-line options to invoke automatic vectorization on the Cortex-A8 processor.
You can also compile with -O2 -Otime, however,
this does not give the maximum code performance.