News for hackers. Stuff that matters.
Re:How to Bypass Matlab’s ‘Cripple AMD CPU’ Function by olliej on Tuesday November 26, 2019 @09:56PM (#21644882)
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.

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.

https://www.agner.org/optimize/blog/read.php?i=49

Re:How to Bypass Matlab’s ‘Cripple AMD CPU’ Function by rasz on Wednesday November 27, 2019 @11:07AM (#21649022)
Nvidia is also pretty good at this, shipping FPU optimized PhysX library when SSE was widespread.
Re:How to Bypass Matlab’s ‘Cripple AMD CPU’ Function by olliej on Tuesday December 03, 2019 @02:23AM (#21690565)
Nice!