Reliably detect AVX2 at runtime on Linux (#1614)
ECX must be set to 0 to read this flag, the easiest way to achieve this is to use __cpuid_count with 0 as the second argument.
Showing
Please
register
or
sign in
to comment
ECX must be set to 0 to read this flag, the easiest way to achieve this is to use __cpuid_count with 0 as the second argument.