Files
wasmtime/cranelift/filetests/filetests/runtests/i128-call.clif
Afonso Bordado 3ce3eeb668 cranelift: Register all functions in test file for interpreter (#4817)
* cranelift: Implement `bnot` in interpreter

* cranelift: Register all functions in test file for interpreter

* cranelift: Relax signature checking for bools and vectors
2022-08-30 15:45:21 -07:00

25 lines
445 B
Plaintext

test interpret
test run
set enable_llvm_abi_extensions=true
target x86_64
target aarch64
target aarch64 sign_return_address
target aarch64 has_pauth sign_return_address
target s390x
function %callee_i128(i128) -> i128 {
block0(v0: i128):
v1 = iadd_imm.i128 v0, 10
return v1
}
function %call_i128(i128) -> i128 {
fn0 = %callee_i128(i128) -> i128
block0(v0: i128):
v1 = call fn0(v0)
return v1
}
; run: %call_i128(10) == 20