How much should I worry about the Intel C++ compiler emitting suboptimal code for AMD?

后端 未结 7 1269
迷失自我
迷失自我 2021-01-01 10:48

We\'ve always been an Intel shop. All the developers use Intel machines, recommended platform for end users is Intel, and if end users want to run on AMD it\'s their lookou

7条回答
  •  囚心锁ツ
    2021-01-01 11:12

    What we have seen is that wherever the Intel compiler must make a runtime choice about the available instruction set, if it does not recognize an Intel CPU, it goes in their "standard" code (which, as you might expect, may not be optimal).

    Note that even if I used the word "compiler" above, this mainly happens in their supplied (pre-compiled) libraries and intrinsics that check the instruction set and call the best code.

提交回复
热议问题