File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -21,10 +21,6 @@ struct Args {
21
21
#[ arg( long) ]
22
22
strict_hard_nan_sign : bool ,
23
23
24
- /// Disable erasure of sNaN vs qNaN mismatches with hardware floating-point operations
25
- #[ arg( long) ]
26
- strict_hard_qnan_vs_snan : bool ,
27
-
28
24
#[ command( subcommand) ]
29
25
command : Option < Commands > ,
30
26
}
@@ -315,10 +311,7 @@ where
315
311
// FIXME(eddyb) figure out how much we can really validate against hardware.
316
312
let rs_apf_bits = out. rs_apf . to_bits_u128 ( ) ;
317
313
if is_nan ( out_hard_bits) && is_nan ( rs_apf_bits) {
318
- for ( strict, bit_mask) in [
319
- ( cli_args. strict_hard_nan_sign , sign_bit_mask) ,
320
- ( cli_args. strict_hard_qnan_vs_snan , qnan_bit_mask) ,
321
- ] {
314
+ for ( strict, bit_mask) in [ ( cli_args. strict_hard_nan_sign , sign_bit_mask) ] {
322
315
if !strict {
323
316
out_hard_bits &= !bit_mask;
324
317
out_hard_bits |= rs_apf_bits & bit_mask;
You can’t perform that action at this time.
0 commit comments