4 ms·
I guess the real question is will AMD have a compiler to match Intel's when ZEN is released?
by technofiend 11y ago
I guess the real question is will AMD have a compiler to match Intel's when ZEN is released?
- S_A_P 11y agoI'm surprised nobody's hacked the Intel compiler to compile for AMD chips. I'm sure it's for fear of litigation.
- andrewflnr 11y agoI don't think you would have to do that. Couldn't you write a tool that just patches out the "be stupid if this is an AMD chip" code from an intel-compiled binary?
- TazeTSchnitzel 11y agoIntel's compiler would check for the presence of a feature (SSE etc.) and also for "GenuineIntel". So you could simply remove the latter part and it should work fine, I think.
- berkut 11y agoYou don't need to these days (since 2011) - there have been numerous benchmarks over the years showing ICC generate binaries that perform better than MSVC++ for AMD processors.
- throwaway7767 11y agoInteresting. I guess they must have finally stopped intentionally crippling ICC for non-intel processors[0]. [0] http://www.agner.org/optimize/blog/read.php?i=49#49 http://www.agner.org/optimize/blog/read.php?i=49#49
- raverbashing 11y agoOf course they did it, you just need to 'fix' the binary file, but there are several tools that do this
- _delirium 11y agoAfaict AMD is putting their compiler-engineering effort into trying to improve gcc performance on their chips, rather than starting a separate compiler project. They are a lot smaller than Intel, so I'm not sure they can spare the resources to build an AMD analog to Intel's icc.
- Keyframe 11y agoDidn't Intel's compiler start out from Intel buying Digital's compiler stuff?
- mixmastamyk 11y agoWho uses Intel's compiler? I was under the impression most were using Microsoft's, or gcc/clang perhaps.
- x0x0 11y agopeople who care about performance, particularly simd or numerics performance. gcc has gotten better recently, but it's still slower ime.
- nly 11y agoOn the other hand, Intels compiler does really dumb things with vanilla application code and has never performed better for any code I've ever written.
- x0x0 11y agoYeah, ymmv. All high-perf code simply has to be meticulously performance tested; there's no other way to know on modern processors what is fastest.
- lmm 11y agoNumber crunching workloads, or the narrow HPC niche in which it works on a workstation rather than a cluster but you still need maximum performance from it - some physicists, astronomers, and geneticists. It's a fairly small niche but they buy new CPUs more than other people.