File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -1381,6 +1381,10 @@ pub unsafe fn _mm_sfence() {
13811381#[ target_feature( enable = "sse" ) ]
13821382#[ cfg_attr( test, assert_instr( stmxcsr) ) ]
13831383#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
1384+ #[ deprecated(
1385+ since = "1.73.0" ,
1386+ note = "see `_mm_getcsr` documentation - use inline assembly instead"
1387+ ) ]
13841388pub unsafe fn _mm_getcsr ( ) -> u32 {
13851389 let mut result = 0_i32 ;
13861390 stmxcsr ( & mut result as * mut _ as * mut i8 ) ;
@@ -1528,6 +1532,10 @@ pub unsafe fn _mm_getcsr() -> u32 {
15281532#[ target_feature( enable = "sse" ) ]
15291533#[ cfg_attr( test, assert_instr( ldmxcsr) ) ]
15301534#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
1535+ #[ deprecated(
1536+ since = "1.73.0" ,
1537+ note = "see `_mm_setcsr` documentation - use inline assembly instead"
1538+ ) ]
15311539pub unsafe fn _mm_setcsr ( val : u32 ) {
15321540 ldmxcsr ( & val as * const _ as * const i8 ) ;
15331541}
You can’t perform that action at this time.
0 commit comments