Does Intel C++ Compiler produce better code for non-Intel CPUs like AMD than other compilers??

Does Intel C++ Compiler produce better code for non-Intel CPUs like AMD than other compilers??

Given that this compiler is obviously targeted at and optimised for Intel CPUs, I am curious to know if it is "beneficial" when the executables are run on non-Intel CPUs like AMD?

Does anyone know?

Are there any actual tests/benchmarks that highlight the improvement (or otherwise) of using Intel's compiler instead of GCC, clang etc. on other vendor's CPUs?

4 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

I cannot really say. But what I know for sure is that Intel MKL is not optimized for the latest AMD CPUs and you can get better performance using another BLAS library say BLIS.

One guy working for AMD claimed to me that gcc gives better code than Intel C fro AMD CPUs. But for our numerical intensive code switching to another BLAS library while staying with Intel C for AMD CPUs did the trick. 

 

 

 

@erling,

Leave alone libraries as Intel MKL.
When one chose AVX code path in Intel ICC, will the AVX code path will be chosen on any CPU with AVX support, AMD included?

This is intended to occur, that AVX will be used if available.  For AMD, it may not be possible,  in my opinion,  to catch cases where AVX128 may be better than AVX256, although for basic AVX without AVX2, (sandy bridge) , possibly unaligned loads and stores will be split down to AVX128.

Leave a Comment

Please sign in to add a comment. Not a member? Join today