[PATCH] D80935: [PowerPC][Power10] Implement Parallel Bits Deposit/Extract Builtins in LLVM/Clang

Amy Kwan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 1 09:39:24 PDT 2020


amyk created this revision.
amyk added reviewers: lei, stefanp, nemanjai, saghir, power-llvm-team.
Herald added subscribers: llvm-commits, cfe-commits, shchenz, hiraditya.
Herald added projects: clang, LLVM.
amyk updated this revision to Diff 267648.
amyk added a comment.

Updated a typo within the comment in `llvm/test/CodeGen/PowerPC/p10-bit-manip-ops.ll`.


This patch implements builtins for the following prototypes:

  vector unsigned long long vec_pdep(vector unsigned long long, vector unsigned long long);
  vector unsigned long long vec_pext(vector unsigned long long, vector unsigned long long __b);
  unsigned long long __builtin_pdepd (unsigned long long, unsigned long long);
  unsigned long long __builtin_pextd (unsigned long long, unsigned long long);

Depends on D80758 <https://reviews.llvm.org/D80758> 


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D80935

Files:
  clang/include/clang/Basic/BuiltinsPPC.def
  clang/lib/Headers/altivec.h
  clang/test/CodeGen/builtins-ppc-p10.c
  clang/test/CodeGen/builtins-ppc-p10vector.c
  llvm/include/llvm/IR/IntrinsicsPowerPC.td
  llvm/lib/Target/PowerPC/PPCInstrPrefix.td
  llvm/lib/Target/PowerPC/PPCScheduleP9.td
  llvm/test/CodeGen/PowerPC/p10-bit-manip-ops.ll
  llvm/test/MC/Disassembler/PowerPC/p10insts.txt
  llvm/test/MC/PowerPC/p10.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80935.267648.patch
Type: text/x-patch
Size: 10449 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200601/e6998c45/attachment.bin>


More information about the cfe-commits mailing list