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

Method vmax16x8_s

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

Source from the content-addressed store, hash-verified

5244
5245 #[interp_disable_if_cfg(pulley_disable_interp_simd)]
5246 fn vmax16x8_s(&mut self, operands: BinaryOperands<VReg>) -> ControlFlow<Done> {
5247 let mut a = self.state[operands.src1].get_i16x8();
5248 let b = self.state[operands.src2].get_i16x8();
5249 for (a, b) in a.iter_mut().zip(&b) {
5250 *a = (*a).max(*b);
5251 }
5252 self.state[operands.dst].set_i16x8(a);
5253 ControlFlow::Continue(())
5254 }
5255
5256 #[interp_disable_if_cfg(pulley_disable_interp_simd)]
5257 fn vmax16x8_u(&mut self, operands: BinaryOperands<VReg>) -> ControlFlow<Done> {

Callers

nothing calls this directly

Calls 4

get_i16x8Method · 0.80
set_i16x8Method · 0.80
iter_mutMethod · 0.45
maxMethod · 0.45

Tested by

no test coverage detected