]> granicus.if.org Git - llvm/commit
[WebAssembly] Narrowing and widening SIMD ops
authorThomas Lively <tlively@google.com>
Fri, 13 Sep 2019 22:54:41 +0000 (22:54 +0000)
committerThomas Lively <tlively@google.com>
Fri, 13 Sep 2019 22:54:41 +0000 (22:54 +0000)
commitf308fdbdc638a9a7b905fa13118093c029b85c87
tree4a15b6b5253759f5a8a4c805be16a900a71eeeee
parent233794f3c7dc2d76924c9278097929832b1c6ac5
[WebAssembly] Narrowing and widening SIMD ops

Summary:
Implements target-specific LLVM intrinsics and clang builtins for
these new SIMD operations, as described at https://github.com/WebAssembly/simd/blob/master/proposals/simd/SIMD.md#integer-to-integer-narrowing.

Reviewers: aheejin

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

Tags: #clang, #llvm

Differential Revision: https://reviews.llvm.org/D67425

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@371906 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/IntrinsicsWebAssembly.td
lib/Target/WebAssembly/WebAssemblyInstrSIMD.td
test/CodeGen/WebAssembly/simd-intrinsics.ll
test/MC/WebAssembly/simd-encodings.s