File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ mod fpu_precision {
7070 pub struct FPUControlWord ( u16 ) ;
7171
7272 fn set_cw ( cw : u16 ) {
73- unsafe { asm ! ( "fldcw $0" :: "m" ( cw) ) :: "volatile" }
73+ unsafe { asm ! ( "fldcw $0" :: "m" ( cw) :: "volatile" ) }
7474 }
7575
7676 /// Set the precision field of the FPU to `T` and return a `FPUControlWord`
@@ -86,7 +86,7 @@ mod fpu_precision {
8686
8787 // Get the original value of the control word to restore it later, when the
8888 // `FPUControlWord` structure is dropped
89- unsafe { asm ! ( "fnstcw $0" : "=*m" ( & cw) ) :: : "volatile" }
89+ unsafe { asm ! ( "fnstcw $0" : "=*m" ( & cw) :: : "volatile" ) }
9090
9191 // Set the control word to the desired precision. This is achieved by masking away the old
9292 // 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