Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/google/cpu_features.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'include/cpuinfo_x86.h')
-rw-r--r--include/cpuinfo_x86.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/cpuinfo_x86.h b/include/cpuinfo_x86.h
index 2e1a930..9a911f2 100644
--- a/include/cpuinfo_x86.h
+++ b/include/cpuinfo_x86.h
@@ -100,6 +100,7 @@ typedef struct {
int ss : 1;
int adx : 1;
int lzcnt : 1; // Note: this flag is called ABM for AMD, LZCNT for Intel.
+ int gfni: 1;
// Make sure to update X86FeaturesEnum below if you add a field here.
} X86Features;
@@ -256,6 +257,7 @@ typedef enum {
X86_SS,
X86_ADX,
X86_LZCNT,
+ X86_GFNI,
X86_LAST_,
} X86FeaturesEnum;