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

Method veq64x2

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

Source from the content-addressed store, hash-verified

5049
5050 #[interp_disable_if_cfg(pulley_disable_interp_simd)]
5051 fn veq64x2(&mut self, operands: BinaryOperands<VReg>) -> ControlFlow<Done> {
5052 let a = self.state[operands.src1].get_u64x2();
5053 let b = self.state[operands.src2].get_u64x2();
5054 let mut c = [0; 2];
5055 for ((a, b), c) in a.iter().zip(&b).zip(&mut c) {
5056 *c = if a == b { u64::MAX } else { 0 };
5057 }
5058 self.state[operands.dst].set_u64x2(c);
5059 ControlFlow::Continue(())
5060 }
5061
5062 #[interp_disable_if_cfg(pulley_disable_interp_simd)]
5063 fn vneq64x2(&mut self, operands: BinaryOperands<VReg>) -> ControlFlow<Done> {

Callers

nothing calls this directly

Calls 3

get_u64x2Method · 0.80
set_u64x2Method · 0.80
iterMethod · 0.45

Tested by

no test coverage detected