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

Function xconst64

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

Source from the content-addressed store, hash-verified

122
123#[test]
124fn xconst64() {
125 for (expected, imm) in [(42u64, 42i64), (u64::MAX, -1i64)] {
126 unsafe {
127 assert_one(
128 [(x(0), 0x1234567812345678u64)],
129 Xconst64 { dst: x(0), imm },
130 x(0),
131 expected,
132 );
133 }
134 }
135}
136
137#[test]
138fn xadd32() {

Callers 1

pulley_emitFunction · 0.85

Calls 2

assert_oneFunction · 0.85
xFunction · 0.70

Tested by

no test coverage detected