File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
crates/std_detect/src/detect Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -92,6 +92,7 @@ features! {
92
92
/// * `"adx"`
93
93
/// * `"rtm"`
94
94
/// * `"movbe"`
95
+ /// * `"ermsb"`
95
96
///
96
97
/// [docs]: https://software.intel.com/sites/landingpage/IntrinsicsGuide
97
98
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
@@ -200,4 +201,6 @@ features! {
200
201
/// RTM, Intel (Restricted Transactional Memory)
201
202
@FEATURE : #[ stable( feature = "movbe_target_feature" , since = "1.67.0" ) ] movbe: "movbe" ;
202
203
/// MOVBE (Move Data After Swapping Bytes)
204
+ @FEATURE : #[ stable( feature = "simd_x86" , since = "1.27.0" ) ] ermsb: "ermsb" ;
205
+ /// ERMSB, Enhanced REP MOVSB and STOSB
203
206
}
Original file line number Diff line number Diff line change @@ -129,6 +129,8 @@ pub(crate) fn detect_features() -> cache::Initializer {
129
129
enable ( extended_features_ebx, 3 , Feature :: bmi1) ;
130
130
enable ( extended_features_ebx, 8 , Feature :: bmi2) ;
131
131
132
+ enable ( extended_features_ebx, 9 , Feature :: ermsb) ;
133
+
132
134
// `XSAVE` and `AVX` support:
133
135
let cpu_xsave = bit:: test ( proc_info_ecx as usize , 26 ) ;
134
136
if cpu_xsave {
You can’t perform that action at this time.
0 commit comments