mirror of
https://github.com/google/cpu_features.git
synced 2025-07-01 05:11:15 +02:00
Add cx16 (cmpxchg16b) cpuid flag. Fixes #30
This commit is contained in:
@ -54,6 +54,7 @@ typedef struct {
|
||||
|
||||
int smx : 1;
|
||||
int sgx : 1;
|
||||
int cx16 : 1; // aka. CMPXCHG16B
|
||||
|
||||
// Make sure to update X86FeaturesEnum below if you add a field here.
|
||||
} X86Features;
|
||||
@ -138,6 +139,7 @@ typedef enum {
|
||||
X86_AVX512_4VBMI2,
|
||||
X86_SMX,
|
||||
X86_SGX,
|
||||
X86_CX16,
|
||||
X86_LAST_,
|
||||
} X86FeaturesEnum;
|
||||
|
||||
|
Reference in New Issue
Block a user