File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,6 @@ fn detect_features() -> cache::Initializer {
116
116
117
117
enable ( proc_info_ecx, 0 , Feature :: sse3) ;
118
118
enable ( proc_info_ecx, 9 , Feature :: ssse3) ;
119
- enable ( proc_info_ecx, 12 , Feature :: fma) ;
120
119
enable ( proc_info_ecx, 19 , Feature :: sse4_1) ;
121
120
enable ( proc_info_ecx, 20 , Feature :: sse4_2) ;
122
121
enable ( proc_info_ecx, 23 , Feature :: popcnt) ;
@@ -189,6 +188,9 @@ fn detect_features() -> cache::Initializer {
189
188
enable ( proc_extended_state1_eax, 3 , Feature :: xsaves) ;
190
189
}
191
190
191
+ // FMA (uses 256-bit wide registers):
192
+ enable ( proc_info_ecx, 12 , Feature :: fma) ;
193
+
192
194
// And AVX/AVX2:
193
195
enable ( proc_info_ecx, 28 , Feature :: avx) ;
194
196
enable ( extended_features_ebx, 5 , Feature :: avx2) ;
You can’t perform that action at this time.
0 commit comments