MCPcopy Create free account
hub / github.com/explodingcamera/tinywasm / bin_op_128

Function bin_op_128

crates/parser/src/optimize.rs:716–726  ·  view source on GitHub ↗
(instr: Instruction)

Source from the content-addressed store, hash-verified

714);
715
716fn bin_op_128(instr: Instruction) -> Option<BinOp128> {
717 Some(match instr {
718 Instruction::V128And => BinOp128::And,
719 Instruction::V128AndNot => BinOp128::AndNot,
720 Instruction::V128Or => BinOp128::Or,
721 Instruction::V128Xor => BinOp128::Xor,
722 Instruction::I64x2Add => BinOp128::I64x2Add,
723 Instruction::I64x2Mul => BinOp128::I64x2Mul,
724 _ => return None,
725 })
726}
727
728fn cmp_op_64(instr: Instruction) -> Option<CmpOp> {
729 Some(match instr {

Callers 2

rewriteFunction · 0.85
const_128Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected