@@ -21,10 +21,10 @@ s_no_extra_traits! {
21
21
}
22
22
23
23
pub struct fpregs {
24
- pub fp_x: [ [ :: register_t ; 2 ] ; 32 ] ,
25
- pub fp_fcsr: :: register_t ,
24
+ pub fp_x: [ [ u64 ; 2 ] ; 32 ] ,
25
+ pub fp_fcsr: u64 ,
26
26
pub fp_flags: :: c_int,
27
- pub fp_pad : :: c_int,
27
+ pub pad : :: c_int,
28
28
}
29
29
30
30
pub struct mcontext_t {
@@ -85,7 +85,7 @@ cfg_if! {
85
85
self . fp_x == other. fp_x
86
86
&& self . fp_fcsr == other. fp_fcsr
87
87
&& self . fp_flags == other. fp_flags
88
- && self . fp_pad == other. fp_pad
88
+ && self . pad == other. pad
89
89
}
90
90
}
91
91
impl Eq for fpregs { }
@@ -95,7 +95,7 @@ cfg_if! {
95
95
. field( "fp_x" , & self . fp_x)
96
96
. field( "fp_fcsr" , & self . fp_fcsr)
97
97
. field( "fp_flags" , & self . fp_flags)
98
- . field( "fp_pad " , & self . fp_pad )
98
+ . field( "pad " , & self . pad )
99
99
. finish( )
100
100
}
101
101
}
@@ -104,7 +104,7 @@ cfg_if! {
104
104
self . fp_x. hash( state) ;
105
105
self . fp_fcsr. hash( state) ;
106
106
self . fp_flags. hash( state) ;
107
- self . fp_pad . hash( state) ;
107
+ self . pad . hash( state) ;
108
108
}
109
109
}
110
110
impl PartialEq for mcontext_t {
0 commit comments