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

Method vmax32x4_u

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

Source from the content-addressed store, hash-verified

5277
5278 #[interp_disable_if_cfg(pulley_disable_interp_simd)]
5279 fn vmax32x4_u(&mut self, operands: BinaryOperands<VReg>) -> ControlFlow<Done> {
5280 let mut a = self.state[operands.src1].get_u32x4();
5281 let b = self.state[operands.src2].get_u32x4();
5282 for (a, b) in a.iter_mut().zip(&b) {
5283 *a = (*a).max(*b);
5284 }
5285 self.state[operands.dst].set_u32x4(a);
5286 ControlFlow::Continue(())
5287 }
5288
5289 #[interp_disable_if_cfg(pulley_disable_interp_simd)]
5290 fn vabs8x16(&mut self, dst: VReg, src: VReg) -> ControlFlow<Done> {

Callers

nothing calls this directly

Calls 4

get_u32x4Method · 0.80
set_u32x4Method · 0.80
iter_mutMethod · 0.45
maxMethod · 0.45

Tested by

no test coverage detected