Stream: git-wasmtime

Topic: wasmtime / issue #5107 Cranelift: `cls` not implemented f...


view this post on Zulip Wasmtime GitHub notifications bot (Oct 24 2022 at 13:11):

afonso360 labeled issue #5107:

:wave: Hey,

Fuzzgen found this when adding support for this instruction.

.clif Test Case

test interpret
test run
set enable_llvm_abi_extensions=true
target x86_64

function %a(i64) -> i64 {
block0(v0: i64):
    v1 = cls.i64 v0
    return v1
}
; run: %a(1) == 62

Steps to Reproduce

Expected Results

The above tests to pass.

Actual Results

    Finished dev [unoptimized + debuginfo] target(s) in 0.15s
     Running `/home/afonso/git/wasmtime/target/debug/clif-util test ./lmao.clif`
thread 'worker #0' panicked at 'not implemented: Cls not supported', cranelift/codegen/src/isa/x64/lower.rs:494:24
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
 ERROR cranelift_filetests::concurrent > FAIL: panicked in worker #0: not implemented: Cls not supported
FAIL ./lmao.clif: panicked in worker #0: not implemented: Cls not supported
1 tests
Error: 1 failure

Versions and Environment

Cranelift version or commit: main
Operating system: Windows
Architecture: x86_64

view this post on Zulip Wasmtime GitHub notifications bot (Oct 24 2022 at 13:11):

afonso360 opened issue #5107:

:wave: Hey,

Fuzzgen found this when adding support for this instruction.

.clif Test Case

test interpret
test run
set enable_llvm_abi_extensions=true
target x86_64

function %a(i64) -> i64 {
block0(v0: i64):
    v1 = cls.i64 v0
    return v1
}
; run: %a(1) == 62

Steps to Reproduce

Expected Results

The above tests to pass.

Actual Results

    Finished dev [unoptimized + debuginfo] target(s) in 0.15s
     Running `/home/afonso/git/wasmtime/target/debug/clif-util test ./lmao.clif`
thread 'worker #0' panicked at 'not implemented: Cls not supported', cranelift/codegen/src/isa/x64/lower.rs:494:24
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
 ERROR cranelift_filetests::concurrent > FAIL: panicked in worker #0: not implemented: Cls not supported
FAIL ./lmao.clif: panicked in worker #0: not implemented: Cls not supported
1 tests
Error: 1 failure

Versions and Environment

Cranelift version or commit: main
Operating system: Windows
Architecture: x86_64

view this post on Zulip Wasmtime GitHub notifications bot (Oct 24 2022 at 13:11):

afonso360 labeled issue #5107:

:wave: Hey,

Fuzzgen found this when adding support for this instruction.

.clif Test Case

test interpret
test run
set enable_llvm_abi_extensions=true
target x86_64

function %a(i64) -> i64 {
block0(v0: i64):
    v1 = cls.i64 v0
    return v1
}
; run: %a(1) == 62

Steps to Reproduce

Expected Results

The above tests to pass.

Actual Results

    Finished dev [unoptimized + debuginfo] target(s) in 0.15s
     Running `/home/afonso/git/wasmtime/target/debug/clif-util test ./lmao.clif`
thread 'worker #0' panicked at 'not implemented: Cls not supported', cranelift/codegen/src/isa/x64/lower.rs:494:24
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
 ERROR cranelift_filetests::concurrent > FAIL: panicked in worker #0: not implemented: Cls not supported
FAIL ./lmao.clif: panicked in worker #0: not implemented: Cls not supported
1 tests
Error: 1 failure

Versions and Environment

Cranelift version or commit: main
Operating system: Windows
Architecture: x86_64


Last updated: Nov 22 2024 at 17:03 UTC