mirror of
https://github.com/google/cpu_features.git
synced 2025-08-17 03:34:35 +02:00
Add X86 movdir detection (#281)
This commit is contained in:
@@ -101,6 +101,8 @@ typedef struct {
|
||||
int adx : 1;
|
||||
int lzcnt : 1; // Note: this flag is called ABM for AMD, LZCNT for Intel.
|
||||
int gfni: 1;
|
||||
int movdiri: 1;
|
||||
int movdir64b: 1;
|
||||
// Make sure to update X86FeaturesEnum below if you add a field here.
|
||||
} X86Features;
|
||||
|
||||
@@ -258,6 +260,8 @@ typedef enum {
|
||||
X86_ADX,
|
||||
X86_LZCNT,
|
||||
X86_GFNI,
|
||||
X86_MOVDIRI,
|
||||
X86_MOVDIR64B,
|
||||
X86_LAST_,
|
||||
} X86FeaturesEnum;
|
||||
|
||||
|
Reference in New Issue
Block a user