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

Method vmax8x16_s

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

Source from the content-addressed store, hash-verified

5222
5223 #[interp_disable_if_cfg(pulley_disable_interp_simd)]
5224 fn vmax8x16_s(&mut self, operands: BinaryOperands<VReg>) -> ControlFlow<Done> {
5225 let mut a = self.state[operands.src1].get_i8x16();
5226 let b = self.state[operands.src2].get_i8x16();
5227 for (a, b) in a.iter_mut().zip(&b) {
5228 *a = (*a).max(*b);
5229 }
5230 self.state[operands.dst].set_i8x16(a);
5231 ControlFlow::Continue(())
5232 }
5233
5234 #[interp_disable_if_cfg(pulley_disable_interp_simd)]
5235 fn vmax8x16_u(&mut self, operands: BinaryOperands<VReg>) -> ControlFlow<Done> {

Callers

nothing calls this directly

Calls 4

get_i8x16Method · 0.80
set_i8x16Method · 0.80
iter_mutMethod · 0.45
maxMethod · 0.45

Tested by

no test coverage detected