Stream: git-wasmtime

Topic: wasmtime / issue #5468 Cranelift: `umulhi.i8`/`smulhi.i8`...


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

afonso360 opened issue #5468:

:wave: Hey

.clif Test Case

test interpret
test run
target x86_64
target aarch64

function %umulhi_i8(i8) -> i8 {
block0(v0: i8):
    v1 = umulhi.i8 v0, v0
    return v1
}
; run: %umulhi_i8(129) == 65


function %smulhi_i8(i8) -> i8 {
block0(v0: i8):
    v1 = smulhi.i8 v0, v0
    return v1
}
; run: %smulhi_i8(129) == 63

Steps to Reproduce

Expected Results

The above test to pass

Actual Results

thread 'worker #0' panicked at 'should be implemented in ISLE: inst = `v1 = umulhi.i8 v0, v0`, type = `Some(types::I8)`', cranelift/codegen/src/machinst/lower.rs:753:21
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
 ERROR cranelift_filetests::concurrent > FAIL: panicked in worker #0: should be implemented in ISLE: inst = `v1 = umulhi.i8 v0, v0`, type = `Some(types::I8)`
FAIL ./lmao.clif: panicked in worker #0: should be implemented in ISLE: inst = `v1 = umulhi.i8 v0, v0`, type = `Some(types::I8)`
1 tests
Error: 1 failure

Versions and Environment

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

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

afonso360 labeled issue #5468:

:wave: Hey

.clif Test Case

test interpret
test run
target x86_64
target aarch64

function %umulhi_i8(i8) -> i8 {
block0(v0: i8):
    v1 = umulhi.i8 v0, v0
    return v1
}
; run: %umulhi_i8(129) == 65


function %smulhi_i8(i8) -> i8 {
block0(v0: i8):
    v1 = smulhi.i8 v0, v0
    return v1
}
; run: %smulhi_i8(129) == 63

Steps to Reproduce

Expected Results

The above test to pass

Actual Results

thread 'worker #0' panicked at 'should be implemented in ISLE: inst = `v1 = umulhi.i8 v0, v0`, type = `Some(types::I8)`', cranelift/codegen/src/machinst/lower.rs:753:21
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
 ERROR cranelift_filetests::concurrent > FAIL: panicked in worker #0: should be implemented in ISLE: inst = `v1 = umulhi.i8 v0, v0`, type = `Some(types::I8)`
FAIL ./lmao.clif: panicked in worker #0: should be implemented in ISLE: inst = `v1 = umulhi.i8 v0, v0`, type = `Some(types::I8)`
1 tests
Error: 1 failure

Versions and Environment

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

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

afonso360 labeled issue #5468:

:wave: Hey

.clif Test Case

test interpret
test run
target x86_64
target aarch64

function %umulhi_i8(i8) -> i8 {
block0(v0: i8):
    v1 = umulhi.i8 v0, v0
    return v1
}
; run: %umulhi_i8(129) == 65


function %smulhi_i8(i8) -> i8 {
block0(v0: i8):
    v1 = smulhi.i8 v0, v0
    return v1
}
; run: %smulhi_i8(129) == 63

Steps to Reproduce

Expected Results

The above test to pass

Actual Results

thread 'worker #0' panicked at 'should be implemented in ISLE: inst = `v1 = umulhi.i8 v0, v0`, type = `Some(types::I8)`', cranelift/codegen/src/machinst/lower.rs:753:21
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
 ERROR cranelift_filetests::concurrent > FAIL: panicked in worker #0: should be implemented in ISLE: inst = `v1 = umulhi.i8 v0, v0`, type = `Some(types::I8)`
FAIL ./lmao.clif: panicked in worker #0: should be implemented in ISLE: inst = `v1 = umulhi.i8 v0, v0`, type = `Some(types::I8)`
1 tests
Error: 1 failure

Versions and Environment

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

view this post on Zulip Wasmtime GitHub notifications bot (Jan 17 2023 at 21:48):

alexcrichton labeled issue #5468:

:wave: Hey

.clif Test Case

test interpret
test run
target x86_64
target aarch64

function %umulhi_i8(i8) -> i8 {
block0(v0: i8):
    v1 = umulhi.i8 v0, v0
    return v1
}
; run: %umulhi_i8(129) == 65


function %smulhi_i8(i8) -> i8 {
block0(v0: i8):
    v1 = smulhi.i8 v0, v0
    return v1
}
; run: %smulhi_i8(129) == 63

Steps to Reproduce

Expected Results

The above test to pass

Actual Results

thread 'worker #0' panicked at 'should be implemented in ISLE: inst = `v1 = umulhi.i8 v0, v0`, type = `Some(types::I8)`', cranelift/codegen/src/machinst/lower.rs:753:21
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
 ERROR cranelift_filetests::concurrent > FAIL: panicked in worker #0: should be implemented in ISLE: inst = `v1 = umulhi.i8 v0, v0`, type = `Some(types::I8)`
FAIL ./lmao.clif: panicked in worker #0: should be implemented in ISLE: inst = `v1 = umulhi.i8 v0, v0`, type = `Some(types::I8)`
1 tests
Error: 1 failure

Versions and Environment

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

view this post on Zulip Wasmtime GitHub notifications bot (Feb 03 2024 at 21:27):

alexcrichton closed issue #5468:

:wave: Hey

.clif Test Case

test interpret
test run
target x86_64
target aarch64

function %umulhi_i8(i8) -> i8 {
block0(v0: i8):
    v1 = umulhi.i8 v0, v0
    return v1
}
; run: %umulhi_i8(129) == 65


function %smulhi_i8(i8) -> i8 {
block0(v0: i8):
    v1 = smulhi.i8 v0, v0
    return v1
}
; run: %smulhi_i8(129) == 63

Steps to Reproduce

Expected Results

The above test to pass

Actual Results

thread 'worker #0' panicked at 'should be implemented in ISLE: inst = `v1 = umulhi.i8 v0, v0`, type = `Some(types::I8)`', cranelift/codegen/src/machinst/lower.rs:753:21
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
 ERROR cranelift_filetests::concurrent > FAIL: panicked in worker #0: should be implemented in ISLE: inst = `v1 = umulhi.i8 v0, v0`, type = `Some(types::I8)`
FAIL ./lmao.clif: panicked in worker #0: should be implemented in ISLE: inst = `v1 = umulhi.i8 v0, v0`, type = `Some(types::I8)`
1 tests
Error: 1 failure

Versions and Environment

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


Last updated: Nov 22 2024 at 16:03 UTC