File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
assembler-x64/meta/src/dsl Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -65,6 +65,7 @@ pub enum Feature {
65
65
sse,
66
66
sse2,
67
67
ssse3,
68
+ sse41,
68
69
}
69
70
70
71
/// List all CPU features.
@@ -80,6 +81,7 @@ pub const ALL_FEATURES: &[Feature] = &[
80
81
Feature :: sse,
81
82
Feature :: sse2,
82
83
Feature :: ssse3,
84
+ Feature :: sse41,
83
85
] ;
84
86
85
87
impl fmt:: Display for Feature {
@@ -90,6 +92,7 @@ impl fmt::Display for Feature {
90
92
Feature :: sse => write ! ( f, "sse" ) ,
91
93
Feature :: sse2 => write ! ( f, "sse2" ) ,
92
94
Feature :: ssse3 => write ! ( f, "ssse3" ) ,
95
+ Feature :: sse41 => write ! ( f, "sse41" ) ,
93
96
}
94
97
}
95
98
}
Original file line number Diff line number Diff line change @@ -198,6 +198,7 @@ impl Inst {
198
198
sse => features. push ( InstructionSet :: SSE ) ,
199
199
sse2 => features. push ( InstructionSet :: SSE2 ) ,
200
200
ssse3 => features. push ( InstructionSet :: SSSE3 ) ,
201
+ sse41 => features. push ( InstructionSet :: SSE41 ) ,
201
202
}
202
203
}
203
204
features
You can’t perform that action at this time.
0 commit comments