[PATCH] D90253: [WebAssembly] Prototype extending multiplication SIMD instructions

Thomas Lively via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 27 10:48:45 PDT 2020


tlively created this revision.
tlively added a reviewer: aheejin.
Herald added subscribers: llvm-commits, cfe-commits, dexonsmith, ecnelises, sunfish, hiraditya, jgravelle-google, sbc100, dschuff.
Herald added projects: clang, LLVM.
tlively requested review of this revision.

As proposed in https://github.com/WebAssembly/simd/pull/376. This commit
implements new builtin functions and intrinsics for these instructions, but does
not yet add them to wasm_simd128.h because they have not yet been merged to the
proposal. These are the first instructions with opcodes greater than 0xff, so
this commit updates the MC layer and disassembler to handle that correctly.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D90253

Files:
  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/MCTargetDesc/WebAssemblyMCCodeEmitter.cpp
  llvm/lib/Target/WebAssembly/WebAssemblyInstrSIMD.td
  llvm/test/CodeGen/WebAssembly/simd-intrinsics.ll
  llvm/test/MC/WebAssembly/simd-encodings.s
  llvm/utils/TableGen/WebAssemblyDisassemblerEmitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90253.301056.patch
Type: text/x-patch
Size: 22930 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201027/d8bb2dd2/attachment-0001.bin>


More information about the cfe-commits mailing list