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

Method valltrue32x4

pulley/src/interp.rs:4230–4235  ·  view source on GitHub ↗
(&mut self, dst: XReg, src: VReg)

Source from the content-addressed store, hash-verified

4228
4229 #[interp_disable_if_cfg(pulley_disable_interp_simd)]
4230 fn valltrue32x4(&mut self, dst: XReg, src: VReg) -> ControlFlow<Done> {
4231 let a = self.state[src].get_u32x4();
4232 let result = a.iter().all(|a| *a != 0);
4233 self.state[dst].set_u32(u32::from(result));
4234 ControlFlow::Continue(())
4235 }
4236
4237 #[interp_disable_if_cfg(pulley_disable_interp_simd)]
4238 fn valltrue64x2(&mut self, dst: XReg, src: VReg) -> ControlFlow<Done> {

Callers

nothing calls this directly

Calls 5

fromFunction · 0.85
get_u32x4Method · 0.80
allMethod · 0.45
iterMethod · 0.45
set_u32Method · 0.45

Tested by

no test coverage detected