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

Method vsubf64x2

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

Source from the content-addressed store, hash-verified

4614
4615 #[interp_disable_if_cfg(pulley_disable_interp_simd)]
4616 fn vsubf64x2(&mut self, operands: BinaryOperands<VReg>) -> ControlFlow<Done> {
4617 let mut a = self.state[operands.src1].get_f64x2();
4618 let b = self.state[operands.src2].get_f64x2();
4619 for (a, b) in a.iter_mut().zip(b) {
4620 *a = *a - b;
4621 }
4622 self.state[operands.dst].set_f64x2(a);
4623 ControlFlow::Continue(())
4624 }
4625
4626 #[interp_disable_if_cfg(pulley_disable_interp_simd)]
4627 fn vmuli8x16(&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