File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ mod fpu_precision {
70
70
pub struct FPUControlWord ( u16 ) ;
71
71
72
72
fn set_cw ( cw : u16 ) {
73
- unsafe { asm ! ( "fldcw $0" :: "m" ( cw) ) :: "volatile" }
73
+ unsafe { asm ! ( "fldcw $0" :: "m" ( cw) :: "volatile" ) }
74
74
}
75
75
76
76
/// Set the precision field of the FPU to `T` and return a `FPUControlWord`
@@ -86,7 +86,7 @@ mod fpu_precision {
86
86
87
87
// Get the original value of the control word to restore it later, when the
88
88
// `FPUControlWord` structure is dropped
89
- unsafe { asm ! ( "fnstcw $0" : "=*m" ( & cw) ) :: : "volatile" }
89
+ unsafe { asm ! ( "fnstcw $0" : "=*m" ( & cw) :: : "volatile" ) }
90
90
91
91
// Set the control word to the desired precision. This is achieved by masking away the old
92
92
// precision (bits 8 and 9, 0x300) and replacing it with the precision flag computed above.
You can’t perform that action at this time.
0 commit comments