66#[ cfg( target_arch = "x86" ) ]
77#[ inline( always) ]
88#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
9- #[ deprecated( since = "1.28.0" , "use inline asm instead" ) ]
9+ #[ deprecated( since = "1.28.0" , note = "use inline asm instead" ) ]
1010pub unsafe fn __readeflags ( ) -> u32 {
1111 let eflags: u32 ;
1212 asm ! ( "pushfd; popl $0" : "=r" ( eflags) : : : "volatile" ) ;
@@ -19,7 +19,7 @@ pub unsafe fn __readeflags() -> u32 {
1919#[ cfg( target_arch = "x86_64" ) ]
2020#[ inline( always) ]
2121#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
22- #[ deprecated( since = "1.28.0" , "use inline asm instead" ) ]
22+ #[ deprecated( since = "1.28.0" , note = "use inline asm instead" ) ]
2323pub unsafe fn __readeflags ( ) -> u64 {
2424 let eflags: u64 ;
2525 asm ! ( "pushfq; popq $0" : "=r" ( eflags) : : : "volatile" ) ;
@@ -32,7 +32,7 @@ pub unsafe fn __readeflags() -> u64 {
3232#[ cfg( target_arch = "x86" ) ]
3333#[ inline( always) ]
3434#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
35- #[ deprecated( since = "1.28.0" , "use inline asm instead" ) ]
35+ #[ deprecated( since = "1.28.0" , note = "use inline asm instead" ) ]
3636pub unsafe fn __writeeflags ( eflags : u32 ) {
3737 asm ! ( "pushl $0; popfd" : : "r" ( eflags) : "cc" , "flags" : "volatile" ) ;
3838}
@@ -43,7 +43,7 @@ pub unsafe fn __writeeflags(eflags: u32) {
4343#[ cfg( target_arch = "x86_64" ) ]
4444#[ inline( always) ]
4545#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
46- #[ deprecated( since = "1.28.0" , "use inline asm instead" ) ]
46+ #[ deprecated( since = "1.28.0" , note = "use inline asm instead" ) ]
4747pub unsafe fn __writeeflags ( eflags : u64 ) {
4848 asm ! ( "pushq $0; popfq" : : "r" ( eflags) : "cc" , "flags" : "volatile" ) ;
4949}
0 commit comments