File tree 1 file changed +0
-26
lines changed
1 file changed +0
-26
lines changed Original file line number Diff line number Diff line change @@ -391,32 +391,6 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {
391
391
this. write_scalar ( res, dest) ?;
392
392
}
393
393
394
- #[ rustfmt:: skip]
395
- | "fadd_algebraic"
396
- | "fsub_algebraic"
397
- | "fmul_algebraic"
398
- | "fdiv_algebraic"
399
- | "frem_algebraic"
400
- => {
401
- let [ a, b] = check_intrinsic_arg_count ( args) ?;
402
- let a = this. read_immediate ( a) ?;
403
- let b = this. read_immediate ( b) ?;
404
- let op = match intrinsic_name {
405
- "fadd_algebraic" => mir:: BinOp :: Add ,
406
- "fsub_algebraic" => mir:: BinOp :: Sub ,
407
- "fmul_algebraic" => mir:: BinOp :: Mul ,
408
- "fdiv_algebraic" => mir:: BinOp :: Div ,
409
- "frem_algebraic" => mir:: BinOp :: Rem ,
410
- _ => bug ! ( ) ,
411
- } ;
412
- let res = this. binary_op ( op, & a, & b) ?;
413
- // `binary_op` already called `generate_nan` if needed.
414
- // Apply a relative error of 4ULP to simulate non-deterministic precision loss
415
- // due to optimizations.
416
- let res = apply_random_float_error_to_imm ( this, res, 2 /* log2(4) */ ) ?;
417
- this. write_immediate ( * res, dest) ?;
418
- }
419
-
420
394
#[ rustfmt:: skip]
421
395
| "fadd_fast"
422
396
| "fsub_fast"
You can’t perform that action at this time.
0 commit comments