[WebAssembly] Add experimental SIMD dot product instruction
authorThomas Lively <tlively@google.com>
Fri, 1 Nov 2019 01:28:02 +0000 (18:28 -0700)
committerThomas Lively <tlively@google.com>
Fri, 1 Nov 2019 17:45:48 +0000 (10:45 -0700)
commit935c84c3c27de4544917216fc2b0557314802202
tree12cc05e17a93a146638cc81ec1b32e5764511577
parent4592f70758531d6efe4e43d8122a8944f469d933
[WebAssembly] Add experimental SIMD dot product instruction

Summary:
This instruction is not merged to the spec proposal, but we need it to
be implemented in the toolchain to experiment with it. It is available
only on an opt-in basis through a clang builtin.

Defined in https://github.com/WebAssembly/simd/pull/127.

Depends on D69696.

Reviewers: aheejin

Subscribers: dschuff, sbc100, jgravelle-google, hiraditya, sunfish, cfe-commits, llvm-commits

Tags: #clang, #llvm

Differential Revision: https://reviews.llvm.org/D69697
clang/include/clang/Basic/BuiltinsWebAssembly.def
clang/lib/CodeGen/CGBuiltin.cpp
clang/test/CodeGen/builtins-wasm.c
llvm/include/llvm/IR/IntrinsicsWebAssembly.td
llvm/lib/Target/WebAssembly/WebAssemblyInstrSIMD.td
llvm/test/CodeGen/WebAssembly/simd-intrinsics.ll
llvm/test/MC/WebAssembly/simd-encodings.s