Diagnostic 15092: FUNCTION WAS VECTORIZED

Cause:

s diagnostic message states that the function is vectorized. A vector function is considered vectorized when it can perform its original task using vector operands rather than traditional way of using scalar operands. This includes the return type of the function. Below is an example for this scenario.


Examples:

__declspec(vector(processor(pentium_4)))
void foo(int *A, int n){
*A = n;
}


$ icc example4.c -c -vec-report2
example4.c(2): (col. 24) remark: FUNCTION WAS VECTORIZED
example4.c(2): (col. 24) remark: FUNCTION WAS VECTORIZED
example4.c(2): (col. 24) remark: FUNCTION WAS VECTORIZED
example4.c(2): (col. 24) remark: FUNCTION WAS VECTORIZED

 

For more complete information about compiler optimizations, see our Optimization Notice.