Resources
| Sourcery G++ Data Sheet | |
| Register for a Sourcery G++ Evaluation | |
| Buy Sourcery G++ Today! |
Mailing Lists
| Announcements | |
| Discuss |
How do I get the compiler to generate NEON instructions?
Question
How do I get the compiler to generate NEON instructions?Answer
Use the options -mfpu=neon -mfloat-abi=softfp. The compiler will
generate code for NEON.
If you also use the -ftree-vectorize
option, the compiler will attempt to automatically vectorize loops. The option -ftree-vectorizer-verbose=1 will display information on the number of vectorized loops and their locations. Using the option -ftree-vectorizer-verbose with a value greater than 1 is not supported.
This entry was last updated on 3 October 2009.