mirror of
https://github.com/anrieff/libcpuid
synced 2024-12-26 16:55:45 +00:00
046d2ca2ab
- Detect AVX and AVX2 on both Intel and AMD CPUs - Detect BMI1 and BMI2 instruction sets (BMI2 is only on Haswell, BMI1 is also present on Bulldozers). - Fix tests to reflect changes.
93 lines
4 KiB
Text
93 lines
4 KiB
Text
basic_cpuid[0]=0000000d 756e6547 6c65746e 49656e69
|
|
basic_cpuid[1]=000306c3 01100800 7fdafbbf bfebfbff
|
|
basic_cpuid[2]=76036301 00f0b5ff 00000000 00c10000
|
|
basic_cpuid[3]=00000000 00000000 00000000 00000000
|
|
basic_cpuid[4]=1c004121 01c0003f 0000003f 00000000
|
|
basic_cpuid[5]=00000040 00000040 00000003 00042120
|
|
basic_cpuid[6]=00000075 00000002 00000001 00000000
|
|
basic_cpuid[7]=00000000 000027ab 00000000 00000000
|
|
basic_cpuid[8]=00000000 00000000 00000000 00000000
|
|
basic_cpuid[9]=00000000 00000000 00000000 00000000
|
|
basic_cpuid[10]=07300403 00000000 00000000 00000603
|
|
basic_cpuid[11]=00000001 00000002 00000100 00000001
|
|
basic_cpuid[12]=00000000 00000000 00000000 00000000
|
|
basic_cpuid[13]=00000007 00000340 00000340 00000000
|
|
basic_cpuid[14]=00000007 00000340 00000340 00000000
|
|
basic_cpuid[15]=00000007 00000340 00000340 00000000
|
|
basic_cpuid[16]=00000007 00000340 00000340 00000000
|
|
basic_cpuid[17]=00000007 00000340 00000340 00000000
|
|
basic_cpuid[18]=00000007 00000340 00000340 00000000
|
|
basic_cpuid[19]=00000007 00000340 00000340 00000000
|
|
basic_cpuid[20]=00000007 00000340 00000340 00000000
|
|
basic_cpuid[21]=00000007 00000340 00000340 00000000
|
|
basic_cpuid[22]=00000007 00000340 00000340 00000000
|
|
basic_cpuid[23]=00000007 00000340 00000340 00000000
|
|
basic_cpuid[24]=00000007 00000340 00000340 00000000
|
|
basic_cpuid[25]=00000007 00000340 00000340 00000000
|
|
basic_cpuid[26]=00000007 00000340 00000340 00000000
|
|
basic_cpuid[27]=00000007 00000340 00000340 00000000
|
|
basic_cpuid[28]=00000007 00000340 00000340 00000000
|
|
basic_cpuid[29]=00000007 00000340 00000340 00000000
|
|
basic_cpuid[30]=00000007 00000340 00000340 00000000
|
|
basic_cpuid[31]=00000007 00000340 00000340 00000000
|
|
ext_cpuid[0]=80000008 00000000 00000000 00000000
|
|
ext_cpuid[1]=00000000 00000000 00000021 2c100800
|
|
ext_cpuid[2]=65746e49 2952286c 726f4320 4d542865
|
|
ext_cpuid[3]=33692029 3331342d 50432030 20402055
|
|
ext_cpuid[4]=30342e33 007a4847 00000000 00000000
|
|
ext_cpuid[5]=00000000 00000000 00000000 00000000
|
|
ext_cpuid[6]=00000000 00000000 01006040 00000000
|
|
ext_cpuid[7]=00000000 00000000 00000000 00000100
|
|
ext_cpuid[8]=00003027 00000000 00000000 00000000
|
|
ext_cpuid[9]=00000007 00000340 00000340 00000000
|
|
ext_cpuid[10]=00000007 00000340 00000340 00000000
|
|
ext_cpuid[11]=00000007 00000340 00000340 00000000
|
|
ext_cpuid[12]=00000007 00000340 00000340 00000000
|
|
ext_cpuid[13]=00000007 00000340 00000340 00000000
|
|
ext_cpuid[14]=00000007 00000340 00000340 00000000
|
|
ext_cpuid[15]=00000007 00000340 00000340 00000000
|
|
ext_cpuid[16]=00000007 00000340 00000340 00000000
|
|
ext_cpuid[17]=00000007 00000340 00000340 00000000
|
|
ext_cpuid[18]=00000007 00000340 00000340 00000000
|
|
ext_cpuid[19]=00000007 00000340 00000340 00000000
|
|
ext_cpuid[20]=00000007 00000340 00000340 00000000
|
|
ext_cpuid[21]=00000007 00000340 00000340 00000000
|
|
ext_cpuid[22]=00000007 00000340 00000340 00000000
|
|
ext_cpuid[23]=00000007 00000340 00000340 00000000
|
|
ext_cpuid[24]=00000007 00000340 00000340 00000000
|
|
ext_cpuid[25]=00000007 00000340 00000340 00000000
|
|
ext_cpuid[26]=00000007 00000340 00000340 00000000
|
|
ext_cpuid[27]=00000007 00000340 00000340 00000000
|
|
ext_cpuid[28]=00000007 00000340 00000340 00000000
|
|
ext_cpuid[29]=00000007 00000340 00000340 00000000
|
|
ext_cpuid[30]=00000007 00000340 00000340 00000000
|
|
ext_cpuid[31]=00000007 00000340 00000340 00000000
|
|
intel_fn4[0]=1c004121 01c0003f 0000003f 00000000
|
|
intel_fn4[1]=1c004122 01c0003f 0000003f 00000000
|
|
intel_fn4[2]=1c004143 01c0003f 000001ff 00000000
|
|
intel_fn4[3]=1c03c163 02c0003f 00000fff 00000006
|
|
intel_fn11[0]=00000001 00000002 00000100 00000001
|
|
intel_fn11[1]=00000004 00000004 00000201 00000001
|
|
intel_fn11[2]=00000000 00000000 00000002 00000001
|
|
intel_fn11[3]=00000000 00000000 00000003 00000001
|
|
--------------------------------------------------------------------------------
|
|
6
|
|
12
|
|
3
|
|
6
|
|
60
|
|
2
|
|
4
|
|
32
|
|
32
|
|
256
|
|
3072
|
|
8
|
|
8
|
|
12
|
|
64
|
|
64
|
|
64
|
|
128 (non-authoritative)
|
|
Haswell (Core i3)
|
|
fpu vme de pse tsc msr pae mce cx8 apic mtrr sep pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe pni pclmul dts64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 syscall xd movbe popcnt aes xsave osxsave avx rdtscp lm lahf_lm constant_tsc fma3 f16c rdrand avx2 bmi1 bmi2
|