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

Method cmp_i64s

winch/codegen/src/visitor.rs:4600–4606  ·  view source on GitHub ↗
(&mut self, kind: IntCmpKind)

Source from the content-addressed store, hash-verified

4598 }
4599
4600 fn cmp_i64s(&mut self, kind: IntCmpKind) -> Result<()> {
4601 self.context
4602 .i64_binop(self.masm, move |masm, dst, src, size| {
4603 masm.cmp_with_set(writable!(dst), src, kind, size)?;
4604 Ok(TypedReg::i32(dst)) // Return value for comparisons is an `i32`.
4605 })
4606 }
4607}
4608
4609impl TryFrom<WasmValType> for OperandSize {

Callers 10

visit_i64_eqMethod · 0.80
visit_i64_neMethod · 0.80
visit_i64_lt_sMethod · 0.80
visit_i64_lt_uMethod · 0.80
visit_i64_le_sMethod · 0.80
visit_i64_le_uMethod · 0.80
visit_i64_gt_sMethod · 0.80
visit_i64_gt_uMethod · 0.80
visit_i64_ge_sMethod · 0.80
visit_i64_ge_uMethod · 0.80

Calls 3

OkFunction · 0.85
i64_binopMethod · 0.80
cmp_with_setMethod · 0.45

Tested by

no test coverage detected