I'm processing an image by four pixels at the time, this on a armv7
for an Android application.
I want to divide a float32x4_t
vector by another vector but the numbers in it are varying from circa 0.7
to 3.85
, and it seems to me that the only way to divide is using right shift but that is for a number which is 2^n
.
Also, I'm new in this, so any constructive help or comment is welcomed.
Example:
How can I perform these operations with NEON intrinsics?
float32x4_t a = {25.3,34.1,11.0,25.1};
float32x4_t b = {1.2,3.5,2.5,2.0};
// somthing like this
float32x4 resultado = a/b; // {21.08,9.74,4.4,12.55}