Created
September 16, 2020 09:35
-
-
Save dferens/b7262482b454f39882682f584d835745 to your computer and use it in GitHub Desktop.
Check AVX2 support
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
Linux: | |
$ cat /proc/cpuinfo | grep avx2 | |
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss | |
ht syscall nx rdtscp lm constant_tsc nopl xtopology nonstop_tsc cpuid tsc_known_freq pni pclmulqdq ssse3 fma | |
cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm | |
3dnowprefetch invpcid_single pti fsgsbase tsc_adjust bmi1 avx2 smep bmi2 invpcid rdseed adx smap clflushopt | |
xsaveopt xsavec dtherm arat pln pts | |
Mac: | |
$ gcc -mavx2 -dM -E - < /dev/null | egrep "AVX" | |
#define __AVX2__ 1 | |
#define __AVX__ 1 | |
Windows: | |
https://www.cpuid.com/softwares/cpu-z.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment