3 ms·
It's actually easy to work around the AMD deoptimization by just pretending to be an Intel CPU when the check is made - no need to fork the code. On the bigger
by martinpw 6y ago
It's actually easy to work around the AMD deoptimization by just pretending to be an Intel CPU when the check is made - no need to fork the code.
On the bigger point, it ends up hurting them because companies often use gcc to benchmark across systems, so the Intel performance comes out lower than it might be if Intel really invested heavily in gcc rather than icc.
- acdha 6y agoYes, you can bypass the check by editing the binary but that’s a non-trivial extra step and, more importantly, it means you can’t use the official binaries for anything. Far from insurmountable but it’s the kind of things sales guys are going to make sure every large customer‘s senior management hears.