Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix crash where VNNI binary was used for iMac Pro
iMac Pro (2017) has the W-2150B Xeon (or similar). This Skylake CPU supports AVX-512 BW but not VNNI. However we used to assume that BW implied VNNI which would lead to a crash. Changed to a more stringent check: IFMA does imply VNNI. But per https://en.wikipedia.org/wiki/AVX-512#CPUs_with_AVX-512 that means we miss the 2019 Mac Pro which uses Cascade Lake (so no IFMA, but yes VNNI). So we also now check the model identifier to see if we are dealing with a 2019 Mac Pro. Finally get rid of x86-64 binary since all Macs running 10.14 or later support SSE4.1 and POPCNT. See https://support.apple.com/kb/SP777?locale=en_US for system requirements. Mid 2010 Mac Pro is the oldest model year and https://support.apple.com/kb/sp589?locale=en_US says Nehalem/Westmere.
- Loading branch information
Showing
3 changed files
with
27 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.