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

Method vmax8x16_u

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

Source from the content-addressed store, hash-verified

5233
5234 #[interp_disable_if_cfg(pulley_disable_interp_simd)]
5235 fn vmax8x16_u(&mut self, operands: BinaryOperands<VReg>) -> ControlFlow<Done> {
5236 let mut a = self.state[operands.src1].get_u8x16();
5237 let b = self.state[operands.src2].get_u8x16();
5238 for (a, b) in a.iter_mut().zip(&b) {
5239 *a = (*a).max(*b);
5240 }
5241 self.state[operands.dst].set_u8x16(a);
5242 ControlFlow::Continue(())
5243 }
5244
5245 #[interp_disable_if_cfg(pulley_disable_interp_simd)]
5246 fn vmax16x8_s(&mut self, operands: BinaryOperands<VReg>) -> ControlFlow<Done> {

Callers

nothing calls this directly

Calls 4

get_u8x16Method · 0.80
set_u8x16Method · 0.80
iter_mutMethod · 0.45
maxMethod · 0.45

Tested by

no test coverage detected