4 ms·
Apple seems to suggest that all well behaving programs: >use the sysctlbyname function to check the hw.optional.avx512f attribute So my guess it they probably
by jayyhu 6y ago
Apple seems to suggest that all well behaving programs:
>use the sysctlbyname function to check the hw.optional.avx512f attribute
So my guess it they probably just replace the AVX instructions with no-ops and let it blow up if the correct checks/fallbacks aren't in place.
- monocasa 6y agoOr just SIGILL rather than noop.
- throwaway2048 6y agoit would be a lot more normal to trap the illegal instruction, the same thing that happens if you give a CPU a nonsense nonexistent instruction.