Stream: git-wasmtime

Topic: wasmtime / issue #5457 Cranelift: `vconcat` is not implem...


view this post on Zulip Wasmtime GitHub notifications bot (Dec 16 2022 at 15:16):

afonso360 opened issue #5457:

:wave: Hey!

.clif Test Case

test interpret

function %vconcat_i32x4(i32x2, i32x2) -> i32x4 {
block0(v0: i32x2, v1: i32x2):
    v2 = vconcat.i32x2 v0, v1
    return v2
}
; run: %vconcat_i32x4([1 2], [3 4]) == [1 2 3 4]

function %vconcat_i64x2(i64, i64) -> i64x2 {
block0(v0: i64, v1: i64):
    v2 = vconcat.i64 v0, v1
    return v2
}
; run: %vconcat_i64x2(1, 2) == [1 2]

Steps to Reproduce

Expected Results

The test 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: Vconcat', cranelift/interpreter/src/step.rs:1073:28
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
 ERROR cranelift_filetests::concurrent > FAIL: panicked in worker #0: not implemented: Vconcat
FAIL lmao.clif: panicked in worker #0: not implemented: Vconcat
1 tests
Error: 1 failure

Versions and Environment

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

Extra Info

The above test is failing in this assertion.

Some documentation about the expected behavour of vconcat can be found here.

view this post on Zulip Wasmtime GitHub notifications bot (Dec 16 2022 at 15:16):

afonso360 labeled issue #5457:

:wave: Hey!

.clif Test Case

test interpret

function %vconcat_i32x4(i32x2, i32x2) -> i32x4 {
block0(v0: i32x2, v1: i32x2):
    v2 = vconcat.i32x2 v0, v1
    return v2
}
; run: %vconcat_i32x4([1 2], [3 4]) == [1 2 3 4]

function %vconcat_i64x2(i64, i64) -> i64x2 {
block0(v0: i64, v1: i64):
    v2 = vconcat.i64 v0, v1
    return v2
}
; run: %vconcat_i64x2(1, 2) == [1 2]

Steps to Reproduce

Expected Results

The test 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: Vconcat', cranelift/interpreter/src/step.rs:1073:28
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
 ERROR cranelift_filetests::concurrent > FAIL: panicked in worker #0: not implemented: Vconcat
FAIL lmao.clif: panicked in worker #0: not implemented: Vconcat
1 tests
Error: 1 failure

Versions and Environment

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

Extra Info

The above test is failing in this assertion.

Some documentation about the expected behavour of vconcat can be found here.

view this post on Zulip Wasmtime GitHub notifications bot (Dec 16 2022 at 15:16):

afonso360 labeled issue #5457:

:wave: Hey!

.clif Test Case

test interpret

function %vconcat_i32x4(i32x2, i32x2) -> i32x4 {
block0(v0: i32x2, v1: i32x2):
    v2 = vconcat.i32x2 v0, v1
    return v2
}
; run: %vconcat_i32x4([1 2], [3 4]) == [1 2 3 4]

function %vconcat_i64x2(i64, i64) -> i64x2 {
block0(v0: i64, v1: i64):
    v2 = vconcat.i64 v0, v1
    return v2
}
; run: %vconcat_i64x2(1, 2) == [1 2]

Steps to Reproduce

Expected Results

The test 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: Vconcat', cranelift/interpreter/src/step.rs:1073:28
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
 ERROR cranelift_filetests::concurrent > FAIL: panicked in worker #0: not implemented: Vconcat
FAIL lmao.clif: panicked in worker #0: not implemented: Vconcat
1 tests
Error: 1 failure

Versions and Environment

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

Extra Info

The above test is failing in this assertion.

Some documentation about the expected behavour of vconcat can be found here.

view this post on Zulip Wasmtime GitHub notifications bot (Dec 16 2022 at 18:31):

jameysharp labeled issue #5457:

:wave: Hey!

.clif Test Case

test interpret

function %vconcat_i32x4(i32x2, i32x2) -> i32x4 {
block0(v0: i32x2, v1: i32x2):
    v2 = vconcat.i32x2 v0, v1
    return v2
}
; run: %vconcat_i32x4([1 2], [3 4]) == [1 2 3 4]

function %vconcat_i64x2(i64, i64) -> i64x2 {
block0(v0: i64, v1: i64):
    v2 = vconcat.i64 v0, v1
    return v2
}
; run: %vconcat_i64x2(1, 2) == [1 2]

Steps to Reproduce

Expected Results

The test 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: Vconcat', cranelift/interpreter/src/step.rs:1073:28
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
 ERROR cranelift_filetests::concurrent > FAIL: panicked in worker #0: not implemented: Vconcat
FAIL lmao.clif: panicked in worker #0: not implemented: Vconcat
1 tests
Error: 1 failure

Versions and Environment

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

Extra Info

The above test is failing in this assertion.

Some documentation about the expected behavour of vconcat can be found here.

view this post on Zulip Wasmtime GitHub notifications bot (Dec 16 2022 at 23:32):

jameysharp commented on issue #5457:

After discussion offline with @cfallin, I think we should close this in favor of deleting this instruction, which I've written up in #5463. That is also a good first issue for anyone who wants to tackle it.

view this post on Zulip Wasmtime GitHub notifications bot (Dec 16 2022 at 23:32):

jameysharp closed issue #5457:

:wave: Hey!

.clif Test Case

test interpret

function %vconcat_i32x4(i32x2, i32x2) -> i32x4 {
block0(v0: i32x2, v1: i32x2):
    v2 = vconcat.i32x2 v0, v1
    return v2
}
; run: %vconcat_i32x4([1 2], [3 4]) == [1 2 3 4]

function %vconcat_i64x2(i64, i64) -> i64x2 {
block0(v0: i64, v1: i64):
    v2 = vconcat.i64 v0, v1
    return v2
}
; run: %vconcat_i64x2(1, 2) == [1 2]

Steps to Reproduce

Expected Results

The test 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: Vconcat', cranelift/interpreter/src/step.rs:1073:28
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
 ERROR cranelift_filetests::concurrent > FAIL: panicked in worker #0: not implemented: Vconcat
FAIL lmao.clif: panicked in worker #0: not implemented: Vconcat
1 tests
Error: 1 failure

Versions and Environment

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

Extra Info

The above test is failing in this assertion.

Some documentation about the expected behavour of vconcat can be found here.


Last updated: Nov 22 2024 at 16:03 UTC