Given this wasm:
(module
(memory 1)
(func (export "_start")
call 1
drop)
(func (result v128)
v128.const i32x4 0 0 0 0
i32.const 1
v128.load
v128.xor)
)
when run this yields:
$ cargo run -- --enable-simd foo.wat
Finished dev [unoptimized + debuginfo] target(s) in 0.20s
Running `target/debug/wasmtime --enable-simd foo.wat`
Error: failed to run main module `foo.wat`
Caused by:
0: failed to invoke command default
1: wasm trap: out of bounds memory access
wasm backtrace:
0: 0x4b - <unknown>!<wasm function 1>
1: 0x2d - <unknown>!<wasm function 0>
It looks like in the disassembly pxor is being used with a memory operand, but presumably that memory operand needs to be aligned and the instruction is trapping otherwise?
cc @abrown, @jlb6740
Given this wasm:
when run this yields:
It looks like in the disassembly
pxoris being used with a memory operand, but presumably that memory operand needs to be aligned and the instruction is trapping otherwise?cc @abrown, @jlb6740