loop-vectorizable code
noun phraseUK /luːp ˈvɛktəraɪzəbl kəʊd/
US /lup ˈvɛktəraɪzəbəl koʊd/
Code in a loop that a computer can do many steps of at once.
The compiler turned the loop-vectorizable code into fast parallel instructions.
OTHER MEANINGS
2. A loop whose iterations are independent enough for a compiler to convert into vector instructions.
Because each array element was updated separately, the loop was loop-vectorizable code.
3. Source code written to avoid dependencies so it can be processed in parallel by SIMD hardware.
She restructured the kernel into loop-vectorizable code to exploit AVX registers.
4. A section of a program that a vectorizing compiler can safely transform without changing results.
The profiler flagged the inner loop as loop-vectorizable code after alias analysis.