Re:Microsoft to C99 Developers: Use ISO C++
by dman on Monday May 07, 2012 @01:25PM
(#3939963)
Do you also instruct your customers to run on Intel chips for optimal performance?
[ Parent
| on HN ]
For those of you downvoting - please read http://www.agner.org/optimize/blog/read.php?i=49#49 . There is a long documented history of ICC producing suboptimal code for AMD processors. AMD currently has 19.1% market share and I am genuinely curious what people who use ICC do for that part of the market. I guess if you are selling an end to end solution or developing inhouse tools this is not a problem.
Re:Microsoft to C99 Developers: Use ISO C++
by ComputerGuru on Monday May 07, 2012 @02:16PM
(#3940203)
We regularly test on AMD chipsets (even really old ones). It's a matter of tweaking the optimization profiles, instead of selecting max for everything.
A very good point, as ICC is known to produce very bad code (intentionally) when run on AMD systems.
Technically, it does not produce very bad code when run on AMD systems, it produces very bad code for running on AMD systems.
It avoids using some performance instructions which it uses on the Intel build and which would work identically on AMD.
Their excuse is that they can't guarantee they would work identically on AMD and so resort to much slower un-pipelined code. It's like Ferrari testing a Porsche and only using 1st gear because they can't be sure that other gears would perform in the same way