How can I turn the values of array of float32 numbers to 1 if they are not zero, using AVX?
For example: -0.2134f, -1.23f, -0.0f, 12.0f ...
becomes 1.0f, 1.0f, 0.0f, 1.0f ...
I assume, we should combine _mm256_or_ps with some other instruction, but how?