MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / visit_f32_div

Method visit_f32_div

winch/codegen/src/visitor.rs:668–678  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

666 }
667
668 fn visit_f32_div(&mut self) -> Self::Output {
669 self.context.binop(
670 self.masm,
671 OperandSize::S32,
672 &mut |masm: &mut M, dst, src, size| {
673 masm.float_div(writable!(dst), dst, src, size)?;
674 masm.maybe_canonicalize_nan(writable!(dst), size)?;
675 Ok(TypedReg::f32(dst))
676 },
677 )
678 }
679
680 fn visit_f64_div(&mut self) -> Self::Output {
681 self.context.binop(

Callers

nothing calls this directly

Calls 4

OkFunction · 0.85
binopMethod · 0.80
float_divMethod · 0.45

Tested by

no test coverage detected