Stream: git-wasmtime

Topic: wasmtime / issue #5105 Cranelift: `ineg.i128` not impleme...


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

afonso360 opened issue #5105:

:wave: Hey,

This was found while working on the fuzzer.

.clif Test Case

test interpret
test run
set enable_llvm_abi_extensions=true
target x86_64

function %a(i128) -> i128 {
block0(v0: i128):
    v1 = ineg.i128 v0
    return v1
}
; run: %a(1) == -1
; run: %a(-1) == 1

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 'internal error: entered unreachable code: implemented in ISLE: inst = `v1 = ineg.i128 v0`, type = `Some(types::I128)`', cranelift/codegen/src/isa/x64/lower.rs:478:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
 ERROR cranelift_filetests::concurrent > FAIL: panicked in worker #0: internal error: entered unreachable code: implemented in ISLE: inst = `v1 = ineg.i128 v0`, type = `Some(types::I128)`
FAIL ./lmao.clif: panicked in worker #0: internal error: entered unreachable code: implemented in ISLE: inst = `v1 = ineg.i128 v0`, type = `Some(types::I128)`
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 11:44):

afonso360 labeled issue #5105:

:wave: Hey,

This was found while working on the fuzzer.

.clif Test Case

test interpret
test run
set enable_llvm_abi_extensions=true
target x86_64

function %a(i128) -> i128 {
block0(v0: i128):
    v1 = ineg.i128 v0
    return v1
}
; run: %a(1) == -1
; run: %a(-1) == 1

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 'internal error: entered unreachable code: implemented in ISLE: inst = `v1 = ineg.i128 v0`, type = `Some(types::I128)`', cranelift/codegen/src/isa/x64/lower.rs:478:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
 ERROR cranelift_filetests::concurrent > FAIL: panicked in worker #0: internal error: entered unreachable code: implemented in ISLE: inst = `v1 = ineg.i128 v0`, type = `Some(types::I128)`
FAIL ./lmao.clif: panicked in worker #0: internal error: entered unreachable code: implemented in ISLE: inst = `v1 = ineg.i128 v0`, type = `Some(types::I128)`
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 11:44):

afonso360 labeled issue #5105:

:wave: Hey,

This was found while working on the fuzzer.

.clif Test Case

test interpret
test run
set enable_llvm_abi_extensions=true
target x86_64

function %a(i128) -> i128 {
block0(v0: i128):
    v1 = ineg.i128 v0
    return v1
}
; run: %a(1) == -1
; run: %a(-1) == 1

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 'internal error: entered unreachable code: implemented in ISLE: inst = `v1 = ineg.i128 v0`, type = `Some(types::I128)`', cranelift/codegen/src/isa/x64/lower.rs:478:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
 ERROR cranelift_filetests::concurrent > FAIL: panicked in worker #0: internal error: entered unreachable code: implemented in ISLE: inst = `v1 = ineg.i128 v0`, type = `Some(types::I128)`
FAIL ./lmao.clif: panicked in worker #0: internal error: entered unreachable code: implemented in ISLE: inst = `v1 = ineg.i128 v0`, type = `Some(types::I128)`
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 11:45):

afonso360 edited issue #5105:

:wave: Hey,

This was found while working on the fuzzer.

.clif Test Case

test interpret
test run
set enable_llvm_abi_extensions=true
target x86_64

function %a(i128) -> i128 {
block0(v0: i128):
    v1 = ineg.i128 v0
    return v1
}
; run: %a(1) == -1
; run: %a(-1) == 1

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 'internal error: entered unreachable code: implemented in ISLE: inst = `v1 = ineg.i128 v0`, type = `Some(types::I128)`', cranelift/codegen/src/isa/x64/lower.rs:478:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
 ERROR cranelift_filetests::concurrent > FAIL: panicked in worker #0: internal error: entered unreachable code: implemented in ISLE: inst = `v1 = ineg.i128 v0`, type = `Some(types::I128)`
FAIL ./lmao.clif: panicked in worker #0: internal error: entered unreachable code: implemented in ISLE: inst = `v1 = ineg.i128 v0`, type = `Some(types::I128)`
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 28 2022 at 23:10):

cfallin closed issue #5105:

:wave: Hey,

This was found while working on the fuzzer.

.clif Test Case

test interpret
test run
set enable_llvm_abi_extensions=true
target x86_64

function %a(i128) -> i128 {
block0(v0: i128):
    v1 = ineg.i128 v0
    return v1
}
; run: %a(1) == -1
; run: %a(-1) == 1

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 'internal error: entered unreachable code: implemented in ISLE: inst = `v1 = ineg.i128 v0`, type = `Some(types::I128)`', cranelift/codegen/src/isa/x64/lower.rs:478:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
 ERROR cranelift_filetests::concurrent > FAIL: panicked in worker #0: internal error: entered unreachable code: implemented in ISLE: inst = `v1 = ineg.i128 v0`, type = `Some(types::I128)`
FAIL ./lmao.clif: panicked in worker #0: internal error: entered unreachable code: implemented in ISLE: inst = `v1 = ineg.i128 v0`, type = `Some(types::I128)`
1 tests
Error: 1 failure

Versions and Environment

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


Last updated: Oct 23 2024 at 20:03 UTC