Stream: git-wasmtime

Topic: wasmtime / issue #5711 Cranelift:


view this post on Zulip Wasmtime GitHub notifications bot (Feb 04 2023 at 13:51):

afonso360 opened issue #5711:

:wave: Hey,

Fuzzgen pointed this out today.

.clif Test Case

test compile
set opt_level=speed
target x86_64

function u1:0() system_v {
block0:
    v0 = iconst.i64 0
    v1 = uextend.i128 v0  ; v0 = 0
    v2 = icmp_imm eq v1, 0xd700_0008_08be_ff00
    brif v2, block1, block1

block1:
    return
}

Steps to Reproduce

Expected Results

The test to pass

Actual Results

thread 'worker #0' panicked at 'unimplemented for > 64 bits', cranelift/codegen/src/opts.rs:89:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
 ERROR cranelift_filetests::concurrent > FAIL: panicked in worker #0: unimplemented for > 64 bits
FAIL ./lmao.clif: panicked in worker #0: unimplemented for > 64 bits
1 tests
Error: 1 failure

Versions and Environment

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

Extra Info

This was introduced in 97381792ac301271f691d6c69f16ad1130df1286 (cc @jameysharp), it looks like we are extending the uextend into a iconst.i128 which does not exist.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 04 2023 at 13:51):

afonso360 labeled issue #5711:

:wave: Hey,

Fuzzgen pointed this out today.

.clif Test Case

test compile
set opt_level=speed
target x86_64

function u1:0() system_v {
block0:
    v0 = iconst.i64 0
    v1 = uextend.i128 v0  ; v0 = 0
    v2 = icmp_imm eq v1, 0xd700_0008_08be_ff00
    brif v2, block1, block1

block1:
    return
}

Steps to Reproduce

Expected Results

The test to pass

Actual Results

thread 'worker #0' panicked at 'unimplemented for > 64 bits', cranelift/codegen/src/opts.rs:89:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
 ERROR cranelift_filetests::concurrent > FAIL: panicked in worker #0: unimplemented for > 64 bits
FAIL ./lmao.clif: panicked in worker #0: unimplemented for > 64 bits
1 tests
Error: 1 failure

Versions and Environment

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

Extra Info

This was introduced in 97381792ac301271f691d6c69f16ad1130df1286 (cc @jameysharp), it looks like we are extending the uextend into a iconst.i128 which does not exist.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 04 2023 at 13:51):

afonso360 labeled issue #5711:

:wave: Hey,

Fuzzgen pointed this out today.

.clif Test Case

test compile
set opt_level=speed
target x86_64

function u1:0() system_v {
block0:
    v0 = iconst.i64 0
    v1 = uextend.i128 v0  ; v0 = 0
    v2 = icmp_imm eq v1, 0xd700_0008_08be_ff00
    brif v2, block1, block1

block1:
    return
}

Steps to Reproduce

Expected Results

The test to pass

Actual Results

thread 'worker #0' panicked at 'unimplemented for > 64 bits', cranelift/codegen/src/opts.rs:89:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
 ERROR cranelift_filetests::concurrent > FAIL: panicked in worker #0: unimplemented for > 64 bits
FAIL ./lmao.clif: panicked in worker #0: unimplemented for > 64 bits
1 tests
Error: 1 failure

Versions and Environment

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

Extra Info

This was introduced in 97381792ac301271f691d6c69f16ad1130df1286 (cc @jameysharp), it looks like we are extending the uextend into a iconst.i128 which does not exist.


Last updated: Dec 23 2024 at 12:05 UTC