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

Method vmuli8x16

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

Source from the content-addressed store, hash-verified

4625
4626 #[interp_disable_if_cfg(pulley_disable_interp_simd)]
4627 fn vmuli8x16(&mut self, operands: BinaryOperands<VReg>) -> ControlFlow<Done> {
4628 let mut a = self.state[operands.src1].get_i8x16();
4629 let b = self.state[operands.src2].get_i8x16();
4630 for (a, b) in a.iter_mut().zip(b) {
4631 *a = a.wrapping_mul(b);
4632 }
4633 self.state[operands.dst].set_i8x16(a);
4634 ControlFlow::Continue(())
4635 }
4636
4637 #[interp_disable_if_cfg(pulley_disable_interp_simd)]
4638 fn vmuli16x8(&mut self, operands: BinaryOperands<VReg>) -> ControlFlow<Done> {

Callers

nothing calls this directly

Calls 3

get_i8x16Method · 0.80
set_i8x16Method · 0.80
iter_mutMethod · 0.45

Tested by

no test coverage detected