Diagnostic 13395: Command line flag overrides the target processor to 'xxxx' for the vector function xxxx where processor clause is 'xxxx'.

Cause:

This warning states that compiler option for target architecture overrides the processor clause mentioned in the SIMD-enabled function. In this specific case "pentium_4" is overriden by "pentium_4_sse3". 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 -xSSE3
warning #13395: Command line flag overrides the target processor to 'pentium_4_sse3' for the vector function _ZGVxN2vv_foo.J where processor clause is 'pentium_4'.
example4.c(2): (col. 24) remark: FUNCTION WAS VECTORIZED
example4.c(2): (col. 24) remark: FUNCTION WAS VECTORIZED
warning #13395: Command line flag overrides the target processor to 'pentium_4_sse3' for the vector function _ZGVxM2vv_foo.J where processor clause is 'pentium_4'.
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.