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

Method vsubi32x4

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

Source from the content-addressed store, hash-verified

4548
4549 #[interp_disable_if_cfg(pulley_disable_interp_simd)]
4550 fn vsubi32x4(&mut self, operands: BinaryOperands<VReg>) -> ControlFlow<Done> {
4551 let mut a = self.state[operands.src1].get_i32x4();
4552 let b = self.state[operands.src2].get_i32x4();
4553 for (a, b) in a.iter_mut().zip(b) {
4554 *a = a.wrapping_sub(b);
4555 }
4556 self.state[operands.dst].set_i32x4(a);
4557 ControlFlow::Continue(())
4558 }
4559
4560 #[interp_disable_if_cfg(pulley_disable_interp_simd)]
4561 fn vsubi64x2(&mut self, operands: BinaryOperands<VReg>) -> ControlFlow<Done> {

Callers

nothing calls this directly

Calls 3

get_i32x4Method · 0.80
set_i32x4Method · 0.80
iter_mutMethod · 0.45

Tested by

no test coverage detected