6
6
#[ cfg( target_arch = "x86" ) ]
7
7
#[ inline( always) ]
8
8
#[ 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" ) ]
10
10
pub unsafe fn __readeflags ( ) -> u32 {
11
11
let eflags: u32 ;
12
12
asm ! ( "pushfd; popl $0" : "=r" ( eflags) : : : "volatile" ) ;
@@ -19,7 +19,7 @@ pub unsafe fn __readeflags() -> u32 {
19
19
#[ cfg( target_arch = "x86_64" ) ]
20
20
#[ inline( always) ]
21
21
#[ 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" ) ]
23
23
pub unsafe fn __readeflags ( ) -> u64 {
24
24
let eflags: u64 ;
25
25
asm ! ( "pushfq; popq $0" : "=r" ( eflags) : : : "volatile" ) ;
@@ -32,7 +32,7 @@ pub unsafe fn __readeflags() -> u64 {
32
32
#[ cfg( target_arch = "x86" ) ]
33
33
#[ inline( always) ]
34
34
#[ 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" ) ]
36
36
pub unsafe fn __writeeflags ( eflags : u32 ) {
37
37
asm ! ( "pushl $0; popfd" : : "r" ( eflags) : "cc" , "flags" : "volatile" ) ;
38
38
}
@@ -43,7 +43,7 @@ pub unsafe fn __writeeflags(eflags: u32) {
43
43
#[ cfg( target_arch = "x86_64" ) ]
44
44
#[ inline( always) ]
45
45
#[ 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" ) ]
47
47
pub unsafe fn __writeeflags ( eflags : u64 ) {
48
48
asm ! ( "pushq $0; popfq" : : "r" ( eflags) : "cc" , "flags" : "volatile" ) ;
49
49
}
0 commit comments