I use ICC 13 under MSVC 2012.
MSVC 2012 has construct:"#pragma intrinsic(fabs)" before function to let compiler know it should use intrinsic function "fabs" in this case in following function.
ICC doesn't know this #pragma, obviously it has command-line switches to automatically use intrinsic functions when possible. So I need to use following instead before function:
#if defined(_MSC_VER) && !defined(__INTEL_COMPILER) # pragma intrinsic(fabs) #endif
It would be cool if ICC would accept "#pragma intrinsic", and instead of raising compile warning would just ignore this pragma.