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

Method vmax32x4_s

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

Source from the content-addressed store, hash-verified

5266
5267 #[interp_disable_if_cfg(pulley_disable_interp_simd)]
5268 fn vmax32x4_s(&mut self, operands: BinaryOperands<VReg>) -> ControlFlow<Done> {
5269 let mut a = self.state[operands.src1].get_i32x4();
5270 let b = self.state[operands.src2].get_i32x4();
5271 for (a, b) in a.iter_mut().zip(&b) {
5272 *a = (*a).max(*b);
5273 }
5274 self.state[operands.dst].set_i32x4(a);
5275 ControlFlow::Continue(())
5276 }
5277
5278 #[interp_disable_if_cfg(pulley_disable_interp_simd)]
5279 fn vmax32x4_u(&mut self, operands: BinaryOperands<VReg>) -> ControlFlow<Done> {

Callers

nothing calls this directly

Calls 4

get_i32x4Method · 0.80
set_i32x4Method · 0.80
iter_mutMethod · 0.45
maxMethod · 0.45

Tested by

no test coverage detected