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

Method xsub128

pulley/src/interp.rs:5585–5599  ·  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

5583
5584 #[interp_disable_if_cfg(pulley_disable_interp_simd)]
5585 fn xsub128(
5586 &mut self,
5587 dst_lo: XReg,
5588 dst_hi: XReg,
5589 lhs_lo: XReg,
5590 lhs_hi: XReg,
5591 rhs_lo: XReg,
5592 rhs_hi: XReg,
5593 ) -> ControlFlow<Done> {
5594 let lhs = self.get_i128(lhs_lo, lhs_hi);
5595 let rhs = self.get_i128(rhs_lo, rhs_hi);
5596 let result = lhs.wrapping_sub(rhs);
5597 self.set_i128(dst_lo, dst_hi, result);
5598 ControlFlow::Continue(())
5599 }
5600
5601 #[interp_disable_if_cfg(pulley_disable_interp_simd)]
5602 fn xwidemul64_s(

Callers

nothing calls this directly

Calls 2

get_i128Method · 0.80
set_i128Method · 0.80

Tested by

no test coverage detected