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

Method vaddf64x2

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

Source from the content-addressed store, hash-verified

3856
3857 #[interp_disable_if_cfg(pulley_disable_interp_simd)]
3858 fn vaddf64x2(&mut self, operands: BinaryOperands<VReg>) -> ControlFlow<Done> {
3859 let mut a = self.state[operands.src1].get_f64x2();
3860 let b = self.state[operands.src2].get_f64x2();
3861 for (a, b) in a.iter_mut().zip(b) {
3862 *a += b;
3863 }
3864 self.state[operands.dst].set_f64x2(a);
3865 ControlFlow::Continue(())
3866 }
3867
3868 #[interp_disable_if_cfg(pulley_disable_interp_simd)]
3869 fn vaddi8x16_sat(&mut self, operands: BinaryOperands<VReg>) -> ControlFlow<Done> {

Callers

nothing calls this directly

Calls 3

get_f64x2Method · 0.80
set_f64x2Method · 0.80
iter_mutMethod · 0.45

Tested by

no test coverage detected