Template:Table of CPU flags: Difference between revisions

From CNM Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(23 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!-- /opt/nodeskel/tasks/compare-cpu-flags -->
<!-- generated by /opt/ccms/tasks/compare-cpu-flags; 2024-01-19
CPU FLAGS          :    NODE GEN     | CPU FLAGS          :   NODE GEN     | CPU FLAGS          :   NODE GEN
     To expand acronyms, simply consult kernel sources:
                    : g1 g2 g3 g4 g5 |                     : g1 g2 g3 g4 g5 |                     : g1 g2 g3 g4 g5
 
------------------------------------- | ------------------------------------- | -------------------------------------
     sed -n '/^#define.*X86_[A-Z]\+_\([A-Z0-9_]\+\)[^(].*[/][*]/  {s//\L\1\t\t/;  s/[[:space:]]\?[*][/]//; p}' \
3dnowprefetch      :              x  | smx                :        x  x  x | lahf_lm            :  x  x  x  x  x
      /usr/src/kernels/*/arch/x86/include/asm/cpufeatures.h \
abm                :              x | ept                :    x  x  x  x | lm                  :  x  x  x  x  x
      | sort -u | column -s"$(printf '\t')" -t
adx                :              x | flexpriority        :    x  x  x  x  | mca                :  x  x  x  x  x
-->
'''avx2'''                :              x  | ida                :    x  x  x  x  | mce                :  x  x  x  x  x
{| class="wikitable" style="text-align: center; margin: 1em auto 1em 1em;"
bmi1                :              x  | nonstop_tsc        :    x  x  x  x  | mmx                :  x  x  x  x  x
|+ style="caption-side:bottom; text-align: left; font-weight: normal;" | Major CPU capability flags by node generation. For details, see:  [https://en.wikipedia.org/wiki/CPUID#EAX.3D1:_Processor_Info_and_Feature_Bits CPUID instruction] in Wikipedia, a [https://unix.stackexchange.com/questions/43539/what-do-the-flags-in-proc-cpuinfo-mean StackExchange article], or <code>/usr/src/kernels/*/[https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/arch/x86/include/asm/cpufeatures.h arch/x86/include/asm/cpufeatures.h]</code> in kernel sources.
bmi2                :              x  | popcnt              :    x  x  x  x  | monitor            :  x  x  x  x  x
|- style="background:#eee;"
cqm                :              x  | rdtscp              :    x  x  x  x  | msr                :  x  x  x  x  x
! width="50%" | Flag name
cqm_llc            :              x  | sse4_1              :    x  x  x  x  | mtrr                : x  x  x  x  x
! width="50" |                                                                                                         gen5
cqm_occup_llc       :              x  | '''sse4_2'''              :    x x  x  x  | nx                  :  x  x  x  x  x
! width="50" |                                                                                                             gen6
'''fma'''                :             x  | vnmi                :    x x  x  x  | pae                :  x  x  x  x  x
! width="50" |                                                                                                                   gen7
hle                :             x  | vpid                :    x x  x  x  | pat                :  x  x  x  x  x
! width="50" |                                                                                                                       gen8
invpcid            :             x  | xtopology          :    x x  x  x  | pbe                :  x  x  x  x  x
|-
movbe              :             x  | acpi                :  x x  x  x  x  | pdcm                :  x  x  x  x  x
|                     cat_l2 cdp_l2 cldemote gfni movdir64b movdiri pconfig sha_ni umip vaes vpclmulqdq            || || || || x
rdseed              :             x | aperfmperf          :  x  x  x  x  x  | pebs                :  x  x  x  x  x
|-
rtm                :              x  | apic                :  x  x  x  x  x  | pge                : x  x  x  x  x
| [https://en.wikipedia.org/wiki/Advanced_Vector_Extensions#AVX-512                          avx512_bitalg       ] || – || – || – || x
aes                 :          x x | arch_perfmon        :  x  x  x  x  x  | pni                :  x  x  x  x  x
|-
'''avx'''                :           x x | bts                :  x x  x  x  x  | pse                :  x  x  x  x  x
| [https://en.wikipedia.org/wiki/Advanced_Vector_Extensions#AVX-512                          avx512_vbmi2        ] || – || – || – || x
erms                :           x x | clflush            :  x  x  x  x  x  | pse36              :  x  x  x  x  x
|-
f16c                :          x  x  | cmov                :  x  x  x  x  x  | rep_good            : x  x  x  x  x
| [https://en.wikipedia.org/wiki/Advanced_Vector_Extensions#AVX-512                          avx512_vpopcntdq    ] || – || – || – || x
fsgsbase           :          x x | constant_tsc        :  x x  x  x  x  | sep                :  x  x  x  x  x
|-
pclmulqdq          :           x x | cx16                :  x x  x  x  x  | ss                  :  x  x  x  x  x
| [https://en.wikipedia.org/wiki/Advanced_Vector_Extensions#AVX-512                          avx512ifma          ] || – || – || – || x
pln                :           x x | cx8                :  x  x  x  x  x  | sse                :  x  x  x  x  x
|-
pts                :          x  x  | dca                :  x  x  x  x  x  | sse2               x x x  x  x
| [https://en.wikipedia.org/wiki/Advanced_Vector_Extensions#AVX-512                          avx512vbmi          ] || – || – || – || x
rdrand             :          x x | de                  :  x x x  x  x  | ssse3              :  x  x  x  x  x
|-
smep                :           x x | ds_cpl              :  x x x  x  x  | syscall            :  x  x  x  x  x
| [https://en.wikipedia.org/wiki/Advanced_Vector_Extensions#AVX-512                          avx512_vnni        ] || – || – || x || x
tsc_deadline_timer  :           x x | dtes64              :  x x x  x  x  | tm                  :  x  x  x  x  x
|-
x2apic              :           x | dtherm              :  x  x  x  x  x  | tm2                :  x x  x  x  x
| [https://en.wikipedia.org/wiki/Intel_MPX                                                    mpx                 ] || – || x || x ||
xsave              :          x  x  | dts                :  x  x  x  x  x  | tpr_shadow          :  x x  x  x  x
|-
xsaveopt            :          x  x  | est                :  x  x  x  x  x  | tsc                :  x  x  x  x  x
| [https://en.wikipedia.org/wiki/Advanced_Vector_Extensions#AVX-512                          avx512bw            ] || – || x || x || x
arat                :        x  x  x  | fpu                :  x  x  x  x  x  | vme                : x  x  x  x  x
|-
epb                 :        x x x | fxsr                :  x x  x  x  x  | vmx                :  x  x  x  x  x
| [https://en.wikipedia.org/wiki/Advanced_Vector_Extensions#AVX-512                          avx512cd            ] || – || x || x || x
pcid                :       x x x | ht                  :  x  x  x  x  x  | xtpr                :  x  x  x  x  x
|-
pdpe1gb            :        x  x  x
| [https://en.wikipedia.org/wiki/Advanced_Vector_Extensions#AVX-512                          avx512dq           ] || – || x || x || x
|-
| [https://en.wikipedia.org/wiki/Advanced_Vector_Extensions#AVX-512                          avx512f            ] || – || x || x || x
|-
| [https://en.wikipedia.org/wiki/Advanced_Vector_Extensions#AVX-512                          avx512vl            ] || – || x || x || x
|-
| art clwb flush_l1d ibpb mba md_clear ospke pku ssbd stibp tsc_deadline_timer xgetbv1        xsavec               || – || x || x || x
|-
| 3dnowprefetch abm acpi aes aperfmperf apic arat arch_perfmon bmi1 bmi2 bts cat_l3 cdp_l3 cmov constant_tsc cqm cqm_llc cqm_mbm_local cqm_mbm_total cqm_occup_llc cx16 cx8 dca de ds_cpl dtes64 dtherm dts eagerfpu epb ept erms est f16c flexpriority fpu fsgsbase fxsr hle ht ida invpcid invpcid_single lahf_lm lm mca mce mmx monitor movbe msr mtrr nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq pdcm pdpe1gb pebs pge pln pni popcnt pse pse36 pts rdrand rdseed rdt_a rdtscp rep_good rsb_ctxsw rtm sdbg sep smap smep smx ss sse sse2 sse4_1 ssse3 syscall tm tm2 tpr_shadow tsc tsc_adjust vme vmx vnmi vpid x2apic xsave xsaveopt xtopology xtpr        || x || x || x || x
|-
| [https://en.wikipedia.org/wiki/Advanced_Vector_Extensions                                  avx                ] || x || x || x || x
|-
| [https://en.wikipedia.org/wiki/Advanced_Vector_Extensions#Advanced_Vector_Extensions_2      avx2                ] || x || x || x || x
|-
| [https://en.wikipedia.org/wiki/FMA_instruction_set                                          fma                ] || x || x || x || x
|-
| [https://en.wikipedia.org/wiki/Intel_ADX                                                    adx                 ] || x || x || x || x
|-
| [https://en.wikipedia.org/wiki/SSE4#SSE4.2                                                  sse4_2              ] || x || x || x || x
|}

Latest revision as of 16:57, January 19, 2024

Major CPU capability flags by node generation. For details, see: CPUID instruction in Wikipedia, a StackExchange article, or /usr/src/kernels/*/arch/x86/include/asm/cpufeatures.h in kernel sources.
Flag name gen5 gen6 gen7 gen8
cat_l2 cdp_l2 cldemote gfni movdir64b movdiri pconfig sha_ni umip vaes vpclmulqdq x
avx512_bitalg x
avx512_vbmi2 x
avx512_vpopcntdq x
avx512ifma x
avx512vbmi x
avx512_vnni x x
mpx x x
avx512bw x x x
avx512cd x x x
avx512dq x x x
avx512f x x x
avx512vl x x x
art clwb flush_l1d ibpb mba md_clear ospke pku ssbd stibp tsc_deadline_timer xgetbv1 xsavec x x x
3dnowprefetch abm acpi aes aperfmperf apic arat arch_perfmon bmi1 bmi2 bts cat_l3 cdp_l3 cmov constant_tsc cqm cqm_llc cqm_mbm_local cqm_mbm_total cqm_occup_llc cx16 cx8 dca de ds_cpl dtes64 dtherm dts eagerfpu epb ept erms est f16c flexpriority fpu fsgsbase fxsr hle ht ida invpcid invpcid_single lahf_lm lm mca mce mmx monitor movbe msr mtrr nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq pdcm pdpe1gb pebs pge pln pni popcnt pse pse36 pts rdrand rdseed rdt_a rdtscp rep_good rsb_ctxsw rtm sdbg sep smap smep smx ss sse sse2 sse4_1 ssse3 syscall tm tm2 tpr_shadow tsc tsc_adjust vme vmx vnmi vpid x2apic xsave xsaveopt xtopology xtpr x x x x
avx x x x x
avx2 x x x x
fma x x x x
adx x x x x
sse4_2 x x x x