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
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
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
alexcrichton commented on Issue #2754:
cc @abrown
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: Dec 23 2024 at 12:05 UTC