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

Method vsubi64x2

pulley/src/interp.rs:4561–4569  ·  view source on GitHub ↗
(&mut self, operands: BinaryOperands<VReg>)

Source from the content-addressed store, hash-verified

4559
4560 #[interp_disable_if_cfg(pulley_disable_interp_simd)]
4561 fn vsubi64x2(&mut self, operands: BinaryOperands<VReg>) -> ControlFlow<Done> {
4562 let mut a = self.state[operands.src1].get_i64x2();
4563 let b = self.state[operands.src2].get_i64x2();
4564 for (a, b) in a.iter_mut().zip(b) {
4565 *a = a.wrapping_sub(b);
4566 }
4567 self.state[operands.dst].set_i64x2(a);
4568 ControlFlow::Continue(())
4569 }
4570
4571 #[interp_disable_if_cfg(pulley_disable_interp_simd)]
4572 fn vsubi8x16_sat(&mut self, operands: BinaryOperands<VReg>) -> ControlFlow<Done> {

Callers

nothing calls this directly

Calls 3

get_i64x2Method · 0.80
set_i64x2Method · 0.80
iter_mutMethod · 0.45

Tested by

no test coverage detected