[all-commits] [llvm/llvm-project] be6f50: [WebAssembly] Implement SIMD signselect instructions

Thomas Lively via All-commits all-commits at lists.llvm.org
Thu Oct 29 11:06:41 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: be6f50798e79336cdfd8fe464f37d41ac135640d
      https://github.com/llvm/llvm-project/commit/be6f50798e79336cdfd8fe464f37d41ac135640d
  Author: Thomas Lively <tlively at google.com>
  Date:   2020-10-29 (Thu, 29 Oct 2020)

  Changed paths:
    M clang/include/clang/Basic/BuiltinsWebAssembly.def
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/test/CodeGen/builtins-wasm.c
    M llvm/include/llvm/IR/IntrinsicsWebAssembly.td
    M llvm/lib/Target/WebAssembly/WebAssemblyInstrSIMD.td
    M llvm/test/CodeGen/WebAssembly/simd-intrinsics.ll
    M llvm/test/MC/WebAssembly/simd-encodings.s

  Log Message:
  -----------
  [WebAssembly] Implement SIMD signselect instructions

As proposed in https://github.com/WebAssembly/simd/pull/124, using the opcodes
adopted by V8 in
https://chromium-review.googlesource.com/c/v8/v8/+/2486235/2/src/wasm/wasm-opcodes.h.
Uses new builtin functions and a new target intrinsic exclusively to ensure that
the new instructions are only emitted when a user explicitly opts in to using
them since they are still in the prototyping and evaluation phase.

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




More information about the All-commits mailing list