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

Method vult64x2

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

Source from the content-addressed store, hash-verified

5097
5098 #[interp_disable_if_cfg(pulley_disable_interp_simd)]
5099 fn vult64x2(&mut self, operands: BinaryOperands<VReg>) -> ControlFlow<Done> {
5100 let a = self.state[operands.src1].get_u64x2();
5101 let b = self.state[operands.src2].get_u64x2();
5102 let mut c = [0; 2];
5103 for ((a, b), c) in a.iter().zip(&b).zip(&mut c) {
5104 *c = if a < b { u64::MAX } else { 0 };
5105 }
5106 self.state[operands.dst].set_u64x2(c);
5107 ControlFlow::Continue(())
5108 }
5109
5110 #[interp_disable_if_cfg(pulley_disable_interp_simd)]
5111 fn vulteq64x2(&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