3 ms·
This is hardly the first time this has happened. In this case their math library didn't do a CPUID feature test, but rather a vendor name test. It would be equ
by olliej 7y ago
This is hardly the first time this has happened.
In this case their math library didn't do a CPUID feature test, but rather a vendor name test. It would be equivalent to testing website compatibility by doing a user agent check with just the browser name (e.g. navigator.userAgent.indexOf("Netscape"), etc)
ICC also historically generated intentionally bad code for non-intel platforms - deliberately making function loaded depend on intel vs. everyone else rather than by feature set.
- BlackMonday 7y agoYes, which is why I posted this story to raise awareness. It's shocking to me how even many software developers don't know about this. https://www.agner.org/optimize/blog/read.php?i=49 https://www.agner.org/optimize/blog/read.php?i=49
- rasz 7y agoNvidia is also pretty good at this, shipping FPU optimized PhysX library when SSE was widespread.
- olliej 7y agoNice!