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

Method vmax16x8_u

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

Source from the content-addressed store, hash-verified

5255
5256 #[interp_disable_if_cfg(pulley_disable_interp_simd)]
5257 fn vmax16x8_u(&mut self, operands: BinaryOperands<VReg>) -> ControlFlow<Done> {
5258 let mut a = self.state[operands.src1].get_u16x8();
5259 let b = self.state[operands.src2].get_u16x8();
5260 for (a, b) in a.iter_mut().zip(&b) {
5261 *a = (*a).max(*b);
5262 }
5263 self.state[operands.dst].set_u16x8(a);
5264 ControlFlow::Continue(())
5265 }
5266
5267 #[interp_disable_if_cfg(pulley_disable_interp_simd)]
5268 fn vmax32x4_s(&mut self, operands: BinaryOperands<VReg>) -> ControlFlow<Done> {

Callers

nothing calls this directly

Calls 4

get_u16x8Method · 0.80
set_u16x8Method · 0.80
iter_mutMethod · 0.45
maxMethod · 0.45

Tested by

no test coverage detected