Stream: git-wasmtime

Topic: wasmtime / issue #5454 Cranelift: `vsplit` is not impleme...


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

afonso360 labeled issue #5454:

:wave: Hey!

.clif Test Case

test interpret

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

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



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

function %vsplit_scalar_i64x2_lo(i64x2) -> i64 {
block0(v0: i64x2):
    v1, v2 = vsplit.i64x2 v0
    return v2
}
; run: %vsplit_scalar_i64x2_lo([3 4]) == 4

Steps to Reproduce

Expected Results

The test to pass!

Actual Results

     Running `/home/afonso/git/wasmtime/target/debug/clif-util test lmao.clif`
thread 'worker #0' panicked at 'not implemented: Vsplit', cranelift/interpreter/src/step.rs:1072:27
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
 ERROR cranelift_filetests::concurrent > FAIL: panicked in worker #0: not implemented: Vsplit
FAIL lmao.clif: panicked in worker #0: not implemented: Vsplit
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.

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

afonso360 labeled issue #5454:

:wave: Hey!

.clif Test Case

test interpret

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

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



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

function %vsplit_scalar_i64x2_lo(i64x2) -> i64 {
block0(v0: i64x2):
    v1, v2 = vsplit.i64x2 v0
    return v2
}
; run: %vsplit_scalar_i64x2_lo([3 4]) == 4

Steps to Reproduce

Expected Results

The test to pass!

Actual Results

     Running `/home/afonso/git/wasmtime/target/debug/clif-util test lmao.clif`
thread 'worker #0' panicked at 'not implemented: Vsplit', cranelift/interpreter/src/step.rs:1072:27
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
 ERROR cranelift_filetests::concurrent > FAIL: panicked in worker #0: not implemented: Vsplit
FAIL lmao.clif: panicked in worker #0: not implemented: Vsplit
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.

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

afonso360 opened issue #5454:

:wave: Hey!

.clif Test Case

test interpret

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

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



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

function %vsplit_scalar_i64x2_lo(i64x2) -> i64 {
block0(v0: i64x2):
    v1, v2 = vsplit.i64x2 v0
    return v2
}
; run: %vsplit_scalar_i64x2_lo([3 4]) == 4

Steps to Reproduce

Expected Results

The test to pass!

Actual Results

     Running `/home/afonso/git/wasmtime/target/debug/clif-util test lmao.clif`
thread 'worker #0' panicked at 'not implemented: Vsplit', cranelift/interpreter/src/step.rs:1072:27
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
 ERROR cranelift_filetests::concurrent > FAIL: panicked in worker #0: not implemented: Vsplit
FAIL lmao.clif: panicked in worker #0: not implemented: Vsplit
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.

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

afonso360 edited issue #5454:

:wave: Hey!

.clif Test Case

test interpret

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

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



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

function %vsplit_scalar_i64x2_lo(i64x2) -> i64 {
block0(v0: i64x2):
    v1, v2 = vsplit.i64x2 v0
    return v2
}
; run: %vsplit_scalar_i64x2_lo([3 4]) == 4

Steps to Reproduce

Expected Results

The test to pass!

Actual Results

     Running `/home/afonso/git/wasmtime/target/debug/clif-util test lmao.clif`
thread 'worker #0' panicked at 'not implemented: Vsplit', cranelift/interpreter/src/step.rs:1072:27
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
 ERROR cranelift_filetests::concurrent > FAIL: panicked in worker #0: not implemented: Vsplit
FAIL lmao.clif: panicked in worker #0: not implemented: Vsplit
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 vsplit can be found here.

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

MozarellaMan commented on issue #5454:

Hey! I'd like to pick this up

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

MozarellaMan edited a comment on issue #5454:

Hey! I'd like to pick this up. Will start having a look!

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

jameysharp labeled issue #5454:

:wave: Hey!

.clif Test Case

test interpret

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

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



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

function %vsplit_scalar_i64x2_lo(i64x2) -> i64 {
block0(v0: i64x2):
    v1, v2 = vsplit.i64x2 v0
    return v2
}
; run: %vsplit_scalar_i64x2_lo([3 4]) == 4

Steps to Reproduce

Expected Results

The test to pass!

Actual Results

     Running `/home/afonso/git/wasmtime/target/debug/clif-util test lmao.clif`
thread 'worker #0' panicked at 'not implemented: Vsplit', cranelift/interpreter/src/step.rs:1072:27
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
 ERROR cranelift_filetests::concurrent > FAIL: panicked in worker #0: not implemented: Vsplit
FAIL lmao.clif: panicked in worker #0: not implemented: Vsplit
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 vsplit can be found here.

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

afonso360 closed issue #5454:

:wave: Hey!

.clif Test Case

test interpret

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

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



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

function %vsplit_scalar_i64x2_lo(i64x2) -> i64 {
block0(v0: i64x2):
    v1, v2 = vsplit.i64x2 v0
    return v2
}
; run: %vsplit_scalar_i64x2_lo([3 4]) == 4

Steps to Reproduce

Expected Results

The test to pass!

Actual Results

     Running `/home/afonso/git/wasmtime/target/debug/clif-util test lmao.clif`
thread 'worker #0' panicked at 'not implemented: Vsplit', cranelift/interpreter/src/step.rs:1072:27
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
 ERROR cranelift_filetests::concurrent > FAIL: panicked in worker #0: not implemented: Vsplit
FAIL lmao.clif: panicked in worker #0: not implemented: Vsplit
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 vsplit can be found here.


Last updated: Nov 22 2024 at 17:03 UTC