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

Method xadd128

pulley/src/interp.rs:5568–5582  ·  view source on GitHub ↗
(
        &mut self,
        dst_lo: XReg,
        dst_hi: XReg,
        lhs_lo: XReg,
        lhs_hi: XReg,
        rhs_lo: XReg,
        rhs_hi: XReg,
    )

Source from the content-addressed store, hash-verified

5566
5567 #[interp_disable_if_cfg(pulley_disable_interp_simd)]
5568 fn xadd128(
5569 &mut self,
5570 dst_lo: XReg,
5571 dst_hi: XReg,
5572 lhs_lo: XReg,
5573 lhs_hi: XReg,
5574 rhs_lo: XReg,
5575 rhs_hi: XReg,
5576 ) -> ControlFlow<Done> {
5577 let lhs = self.get_i128(lhs_lo, lhs_hi);
5578 let rhs = self.get_i128(rhs_lo, rhs_hi);
5579 let result = lhs.wrapping_add(rhs);
5580 self.set_i128(dst_lo, dst_hi, result);
5581 ControlFlow::Continue(())
5582 }
5583
5584 #[interp_disable_if_cfg(pulley_disable_interp_simd)]
5585 fn xsub128(

Callers

nothing calls this directly

Calls 2

get_i128Method · 0.80
set_i128Method · 0.80

Tested by

no test coverage detected