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

Method vaddf32x4

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

Source from the content-addressed store, hash-verified

3845
3846 #[interp_disable_if_cfg(pulley_disable_interp_simd)]
3847 fn vaddf32x4(&mut self, operands: BinaryOperands<VReg>) -> ControlFlow<Done> {
3848 let mut a = self.state[operands.src1].get_f32x4();
3849 let b = self.state[operands.src2].get_f32x4();
3850 for (a, b) in a.iter_mut().zip(b) {
3851 *a += b;
3852 }
3853 self.state[operands.dst].set_f32x4(a);
3854 ControlFlow::Continue(())
3855 }
3856
3857 #[interp_disable_if_cfg(pulley_disable_interp_simd)]
3858 fn vaddf64x2(&mut self, operands: BinaryOperands<VReg>) -> ControlFlow<Done> {

Callers

nothing calls this directly

Calls 3

get_f32x4Method · 0.80
set_f32x4Method · 0.80
iter_mutMethod · 0.45

Tested by

no test coverage detected