Go to the source code of this file.
|
#define | X(name, r, bit) |
|
#define | C(name, bit) X(name, f1c, bit) |
|
#define | D(name, bit) X(name, f1d, bit) |
|
#define | B(name, bit) X(name, f7b, bit) |
|
#define | C(name, bit) X(name, f7c, bit) |
|
|
MEM_STATIC ZSTD_cpuid_t | ZSTD_cpuid (void) |
|
| C (sse3, 0) C(pclmuldq |
|
| C (dtes64, 2) C(monitor |
|
| C (dscpl, 4) C(vmx |
|
| C (smx, 6) C(eist |
|
| C (tm2, 8) C(ssse3 |
|
| C (cnxtid, 10) C(fma |
|
| C (cx16, 13) C(xtpr |
|
| C (pdcm, 15) C(pcid |
|
| C (dca, 18) C(sse41 |
|
| C (sse42, 20) C(x2apic |
|
| C (movbe, 22) C(popcnt |
|
| C (tscdeadline, 24) C(aes |
|
| C (xsave, 26) C(osxsave |
|
| C (avx, 28) C(f16c |
|
| C (rdrand, 30) D(fpu |
|
| D (vme, 1) D(de |
|
| D (pse, 3) D(tsc |
|
| D (msr, 5) D(pae |
|
| D (mce, 7) D(cx8 |
|
| D (apic, 9) D(sep |
|
| D (mtrr, 12) D(pge |
|
| D (mca, 14) D(cmov |
|
| D (pat, 16) D(pse36 |
|
| D (psn, 18) D(clfsh |
|
| D (ds, 21) D(acpi |
|
| D (mmx, 23) D(fxsr |
|
| D (sse, 25) D(sse2 |
|
| D (ss, 27) D(htt |
|
| D (tm, 29) D(pbe |
|
| B (bmi1, 3) B(hle |
|
| B (avx2, 5) B(smep |
|
| B (bmi2, 8) B(erms |
|
| B (invpcid, 10) B(rtm |
|
| B (mpx, 14) B(avx512f |
|
| B (avx512dq, 17) B(rdseed |
|
| B (adx, 19) B(smap |
|
| B (avx512ifma, 21) B(pcommit |
|
| B (clflushopt, 23) B(clwb |
|
| B (avx512pf, 26) B(avx512er |
|
| B (avx512cd, 28) B(sha |
|
| B (avx512bw, 30) B(avx512vl |
|
| C (prefetchwt1, 0) C(avx512vbmi |
|
#define B |
( |
|
name, |
|
|
|
bit |
|
) |
| X(name, f7b, bit) |
◆ C [1/2]
#define C |
( |
|
name, |
|
|
|
bit |
|
) |
| X(name, f1c, bit) |
◆ C [2/2]
#define C |
( |
|
name, |
|
|
|
bit |
|
) |
| X(name, f7c, bit) |
#define D |
( |
|
name, |
|
|
|
bit |
|
) |
| X(name, f1d, bit) |
#define X |
( |
|
name, |
|
|
|
r, |
|
|
|
bit |
|
) |
| |
Value:
return ((cpuid.r) & (1U << bit)) != 0; \
}
Definition at line 146 of file cpu.h.
◆ B() [1/12]
◆ B() [2/12]
◆ B() [3/12]
◆ B() [4/12]
◆ B() [5/12]
◆ B() [6/12]
◆ B() [7/12]
◆ B() [8/12]
◆ B() [9/12]
◆ B() [10/12]
◆ B() [11/12]
◆ B() [12/12]
◆ C() [1/16]
◆ C() [2/16]
◆ C() [3/16]
◆ C() [4/16]
◆ C() [5/16]
◆ C() [6/16]
◆ C() [7/16]
◆ C() [8/16]
◆ C() [9/16]
◆ C() [10/16]
◆ C() [11/16]
◆ C() [12/16]
◆ C() [13/16]
◆ C() [14/16]
◆ C() [15/16]
◆ C() [16/16]
◆ D() [1/14]
◆ D() [2/14]
◆ D() [3/14]
◆ D() [4/14]
◆ D() [5/14]
◆ D() [6/14]
◆ D() [7/14]
◆ D() [8/14]
◆ D() [9/14]
◆ D() [10/14]
◆ D() [11/14]
◆ D() [12/14]
◆ D() [13/14]
◆ D() [14/14]
◆ ZSTD_cpuid()
Definition at line 32 of file cpu.h.