WebAssembly / WebAssembly/binaryen

Missing SIMD impls in interpreter

Open
#4,600 1 comment 0 reactions 1 assignee View on GitHub

@tlively is already working on this.

Since Apr 21, 2022.

Dominant language
WebAssembly
Stars
8.6k
Forks
885
Avg merge
1d 19h
Merged PRs (30d)
69

Description

Fuzzer found this:

(module
 (type $v128_=>_v128 (func (param v128) (result v128)))
 (func $0 (param $0 v128) (result v128)
  (i32x4.dot_i8x16_i7x16_add_s
   (v128.const i32x4 0x00000000 0x00000000 0x00000000 0x00000000)
   (v128.const i32x4 0x30181f08 0xffffff96 0xffffe747 0xffff7fff)
   (v128.const i32x4 0x00000000 0x00000000 0x00000000 0x00000000)
  )
 )
)

That fails with --precompute on not implemented from here:

https://github.com/WebAssembly/binaryen/blob/68807a4f8570a58f9e5d3756f54476884b97a366/src/wasm-interpreter.h#L1132-L1133

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.