4 ms·
Why aren't they checking if the CPU supports AVX before using it?!
by chrisseaton 6y ago
Why aren't they checking if the CPU supports AVX before using it?!
- lights0123 6y agoBecause all Intel Macs that support Big Sur have AVX, so the Homebrew team enabled it globally. It allows for "things like small memset() operations [to get] inlined as AVX instructions" as the compiler knows that an AVX operation is faster than a function call.
- bodyfour 6y agoIt was just a (short-lived) bug, not a conscious decision to break anything. Not sure why this got so much traction on HN.