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

Method xextractv32x4

pulley/src/interp.rs:4717–4721  ·  view source on GitHub ↗
(&mut self, dst: XReg, src: VReg, lane: u8)

Source from the content-addressed store, hash-verified

4715
4716 #[interp_disable_if_cfg(pulley_disable_interp_simd)]
4717 fn xextractv32x4(&mut self, dst: XReg, src: VReg, lane: u8) -> ControlFlow<Done> {
4718 let a = unsafe { *self.state[src].get_u32x4().get_unchecked(usize::from(lane)) };
4719 self.state[dst].set_u32(a);
4720 ControlFlow::Continue(())
4721 }
4722
4723 #[interp_disable_if_cfg(pulley_disable_interp_simd)]
4724 fn xextractv64x2(&mut self, dst: XReg, src: VReg, lane: u8) -> ControlFlow<Done> {

Callers

nothing calls this directly

Calls 3

fromFunction · 0.85
get_u32x4Method · 0.80
set_u32Method · 0.45

Tested by

no test coverage detected