Stream: git-wasmtime

Topic: wasmtime / Issue #2754 x64: vselect not implemented


view this post on Zulip Wasmtime GitHub notifications bot (Mar 22 2021 at 20:54):

alexcrichton opened Issue #2754:

I was playing around with wasm simd support for Rust but ended up running into a panic in the old backend:

(module
  (func (result v128)
    v128.const i64x2 0 0
    v128.const i64x2 0 0
    v128.const i64x2 -1 -1
    v128.bitselect
  )
)

when run with:

$ cargo run --features experimental_x64 -- run --enable-simd foo.wat
    Finished dev [unoptimized + debuginfo] target(s) in 0.18s
     Running `target/debug/wasmtime run --enable-simd foo.wat`
thread 'main' panicked at 'not implemented: unimplemented lowering for opcode Vselect', cranelift/codegen/src/isa/x64/lower.rs:5745:14
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

view this post on Zulip Wasmtime GitHub notifications bot (Mar 22 2021 at 20:54):

alexcrichton labeled Issue #2754:

I was playing around with wasm simd support for Rust but ended up running into a panic in the old backend:

(module
  (func (result v128)
    v128.const i64x2 0 0
    v128.const i64x2 0 0
    v128.const i64x2 -1 -1
    v128.bitselect
  )
)

when run with:

$ cargo run --features experimental_x64 -- run --enable-simd foo.wat
    Finished dev [unoptimized + debuginfo] target(s) in 0.18s
     Running `target/debug/wasmtime run --enable-simd foo.wat`
thread 'main' panicked at 'not implemented: unimplemented lowering for opcode Vselect', cranelift/codegen/src/isa/x64/lower.rs:5745:14
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

view this post on Zulip Wasmtime GitHub notifications bot (Mar 22 2021 at 20:54):

alexcrichton labeled Issue #2754:

I was playing around with wasm simd support for Rust but ended up running into a panic in the old backend:

(module
  (func (result v128)
    v128.const i64x2 0 0
    v128.const i64x2 0 0
    v128.const i64x2 -1 -1
    v128.bitselect
  )
)

when run with:

$ cargo run --features experimental_x64 -- run --enable-simd foo.wat
    Finished dev [unoptimized + debuginfo] target(s) in 0.18s
     Running `target/debug/wasmtime run --enable-simd foo.wat`
thread 'main' panicked at 'not implemented: unimplemented lowering for opcode Vselect', cranelift/codegen/src/isa/x64/lower.rs:5745:14
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

view this post on Zulip Wasmtime GitHub notifications bot (Mar 22 2021 at 20:54):

alexcrichton commented on Issue #2754:

cc @abrown

view this post on Zulip Wasmtime GitHub notifications bot (Mar 22 2021 at 21:05):

bjorn3 commented on Issue #2754:

It should be legalized at https://github.com/bytecodealliance/wasmtime/blob/9e511ec0c04420d0bfad462da6f4e1367776dbec/cranelift/codegen/meta/src/isa/x86/legalize.rs#L621-L630


Last updated: Nov 22 2024 at 16:03 UTC