News for hackers. Stuff that matters.
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?
Re:Microsoft to C99 Developers: Use ISO C++ by dman on Monday May 07, 2012 @01:31PM (#3940004)
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.
Re:Microsoft to C99 Developers: Use ISO C++ by theatrus2 on Monday May 07, 2012 @01:29PM (#3939986)
A very good point, as ICC is known to produce very bad code (intentionally) when run on AMD systems.
Re:Microsoft to C99 Developers: Use ISO C++ by masklinn on Monday May 07, 2012 @02:28PM (#3940257)
Technically, it does not produce very bad code when run on AMD systems, it produces very bad code for running on AMD systems.
Re:Microsoft to C99 Developers: Use ISO C++ by excuse-me on Monday May 07, 2012 @02:46PM (#3940374)
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

Re:Microsoft to C99 Developers: Use ISO C++ by xixi77 on Monday May 07, 2012 @02:51PM (#3940399)
There is some truth to that, as it does not do all optimizations that it could; however, in my experience, even on AMD systems, ICC beats MSVC hands down.