I'm using the Eigen library to do some computation on an iPad 2. (ie. cortex-a9). It seems that some operations are vectorized using NEON instructions, while others aren't.
Operations that I've tried that get vectorized: dot products, vector and matrix additions and subtractions.
Operations that don't get vectorized: matrix multiplication.
I'm using these operations inside the same project and same file, so the compiler options are the same. I'm using -O3 -mcpu=cortex-a9 -mfpu=neon -mfloat-abi=softfp
.
All matrices that I'm using have Dynamic sizes. Is there anything I'm doing wrong, or is this the expected behaviour?
Thanks.