File tree 1 file changed +8
-0
lines changed 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() {
1381
1381
#[ target_feature( enable = "sse" ) ]
1382
1382
#[ cfg_attr( test, assert_instr( stmxcsr) ) ]
1383
1383
#[ 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
+ ) ]
1384
1388
pub unsafe fn _mm_getcsr ( ) -> u32 {
1385
1389
let mut result = 0_i32 ;
1386
1390
stmxcsr ( & mut result as * mut _ as * mut i8 ) ;
@@ -1528,6 +1532,10 @@ pub unsafe fn _mm_getcsr() -> u32 {
1528
1532
#[ target_feature( enable = "sse" ) ]
1529
1533
#[ cfg_attr( test, assert_instr( ldmxcsr) ) ]
1530
1534
#[ 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
+ ) ]
1531
1539
pub unsafe fn _mm_setcsr ( val : u32 ) {
1532
1540
ldmxcsr ( & val as * const _ as * const i8 ) ;
1533
1541
}
You can’t perform that action at this time.
0 commit comments