Re:How to Bypass Matlab’s ‘Cripple AMD CPU’ Function
by BlackMonday on Wednesday November 27, 2019 @07:16AM
(#21647231)
Yes, 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.
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.