[PATCH] D107899: [PowerPC] Implement builtin for vbpermd

Nemanja Ivanovic via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 11 06:03:28 PDT 2021


nemanjai created this revision.
nemanjai added a reviewer: PowerPC.
Herald added subscribers: shchenz, kbarton, hiraditya.
nemanjai requested review of this revision.
Herald added projects: clang, LLVM.

The instruction has similar semantics to vbpermq but for doublewords. It was added in P9 <https://reviews.llvm.org/P9> and the ABI documents the builtin.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D107899

Files:
  clang/include/clang/Basic/BuiltinsPPC.def
  clang/lib/Headers/altivec.h
  clang/test/CodeGen/builtins-ppc-p8vector.c
  clang/test/CodeGen/builtins-ppc-p9vector.c
  llvm/include/llvm/IR/IntrinsicsPowerPC.td
  llvm/lib/Target/PowerPC/PPCInstrAltivec.td
  llvm/test/CodeGen/PowerPC/p9-vbpermd.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107899.365731.patch
Type: text/x-patch
Size: 5689 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210811/61f7ccbb/attachment.bin>


More information about the cfe-commits mailing list