Arm NEON Intrinsics for roboRIO


I was wondering if there is an easy way for me to have GCC include the arm_neon.h intrinsic header file for ARM NEON. I was looking here, and see that the -mfpu=neon has to be used. Is there an easy way I can do this with GradleRIO?


You can just include it. The compiler is already set up for neon support, I just tested.

#include <arm_neon.h>

Note you might be running into the include bug where external system includes are not processed correctly by intellisense. To solve this, close the file with the include, wait 30 seconds, then open the file. It should show up correctly then.