3 ms·
I'm surprised nobody's hacked the Intel compiler to compile for AMD chips. I'm sure it's for fear of litigation.
by S_A_P 11y ago
I'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