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

Function xneq64

pulley/tests/all/interp.rs:206–228  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

204
205#[test]
206fn xneq64() {
207 for (expected, a, b) in [
208 (0u64, 0u64, 0u64),
209 (1, 0, 1),
210 (0, u64::MAX, u64::MAX),
211 (1, u64::MAX, u64::MAX - 1),
212 ] {
213 unsafe {
214 assert_one(
215 [(x(0), 0x1234567812345678), (x(1), a), (x(2), b)],
216 Xneq64 {
217 operands: BinaryOperands {
218 dst: x(0),
219 src1: x(1),
220 src2: x(2),
221 },
222 },
223 x(0),
224 expected | 0x1234567800000000,
225 );
226 }
227 }
228}
229
230#[test]
231fn xslt64() {

Callers

nothing calls this directly

Calls 2

assert_oneFunction · 0.85
xFunction · 0.70

Tested by

no test coverage detected