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

Method vslteq64x2

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

Source from the content-addressed store, hash-verified

5085
5086 #[interp_disable_if_cfg(pulley_disable_interp_simd)]
5087 fn vslteq64x2(&mut self, operands: BinaryOperands<VReg>) -> ControlFlow<Done> {
5088 let a = self.state[operands.src1].get_i64x2();
5089 let b = self.state[operands.src2].get_i64x2();
5090 let mut c = [0; 2];
5091 for ((a, b), c) in a.iter().zip(&b).zip(&mut c) {
5092 *c = if a <= b { u64::MAX } else { 0 };
5093 }
5094 self.state[operands.dst].set_u64x2(c);
5095 ControlFlow::Continue(())
5096 }
5097
5098 #[interp_disable_if_cfg(pulley_disable_interp_simd)]
5099 fn vult64x2(&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