(instr: Instruction)
| 622 | } |
| 623 | |
| 624 | fn float_bin_op_32(instr: Instruction) -> Option<BinOp> { |
| 625 | Some(match instr { |
| 626 | Instruction::F32Add => BinOp::FAdd, |
| 627 | Instruction::F32Sub => BinOp::FSub, |
| 628 | Instruction::F32Mul => BinOp::FMul, |
| 629 | Instruction::F32Div => BinOp::FDiv, |
| 630 | Instruction::F32Min => BinOp::FMin, |
| 631 | Instruction::F32Max => BinOp::FMax, |
| 632 | Instruction::F32Copysign => BinOp::FCopysign, |
| 633 | _ => return None, |
| 634 | }) |
| 635 | } |
| 636 | |
| 637 | fn float_bin_op_64(instr: Instruction) -> Option<BinOp> { |
| 638 | Some(match instr { |
no outgoing calls
no test coverage detected