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! {
9292 /// * `"adx"`
9393 /// * `"rtm"`
9494 /// * `"movbe"`
95+ /// * `"ermsb"`
9596 ///
9697 /// [docs]: https://software.intel.com/sites/landingpage/IntrinsicsGuide
9798 #[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
@@ -200,4 +201,6 @@ features! {
200201 /// RTM, Intel (Restricted Transactional Memory)
201202 @FEATURE : #[ stable( feature = "movbe_target_feature" , since = "1.67.0" ) ] movbe: "movbe" ;
202203 /// 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
203206}
Original file line number Diff line number Diff line change @@ -129,6 +129,8 @@ pub(crate) fn detect_features() -> cache::Initializer {
129129 enable ( extended_features_ebx, 3 , Feature :: bmi1) ;
130130 enable ( extended_features_ebx, 8 , Feature :: bmi2) ;
131131
132+ enable ( extended_features_ebx, 9 , Feature :: ermsb) ;
133+
132134 // `XSAVE` and `AVX` support:
133135 let cpu_xsave = bit:: test ( proc_info_ecx as usize , 26 ) ;
134136 if cpu_xsave {
You can’t perform that action at this time.
0 commit comments