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

Method vslt64x2

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

Source from the content-addressed store, hash-verified

5073
5074 #[interp_disable_if_cfg(pulley_disable_interp_simd)]
5075 fn vslt64x2(&mut self, operands: BinaryOperands<VReg>) -> ControlFlow<Done> {
5076 let a = self.state[operands.src1].get_i64x2();
5077 let b = self.state[operands.src2].get_i64x2();
5078 let mut c = [0; 2];
5079 for ((a, b), c) in a.iter().zip(&b).zip(&mut c) {
5080 *c = if a < b { u64::MAX } else { 0 };
5081 }
5082 self.state[operands.dst].set_u64x2(c);
5083 ControlFlow::Continue(())
5084 }
5085
5086 #[interp_disable_if_cfg(pulley_disable_interp_simd)]
5087 fn vslteq64x2(&mut self, operands: BinaryOperands<VReg>) -> ControlFlow<Done> {

Callers

nothing calls this directly

Calls 3

get_i64x2Method · 0.80
set_u64x2Method · 0.80
iterMethod · 0.45

Tested by

no test coverage detected