Condition in vector code
If a vector component is already finished, freeze it to avoid doing any further calculations on it. This is done by masking the finished components on any value assignment. The unfinished vector components will keep being updated, but finished ones won’t. - Controlling the Data Flow
see also
- comparison for <= - need to combine operation, since composition is not available
- How to use if condition in intrinsics
- Conditional execution using masks
Written on October 26, 2022, Last update on December 11, 2022
c++
avx