[PATCH] D82675: [PowerPC][Power10] Implement Vector Extract Mask builtins in LLVM/Clang

Amy Kwan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 26 12:02:43 PDT 2020


amyk created this revision.
amyk added reviewers: power-llvm-team, PowerPC, nemanjai, lei, saghir, kamaub.
amyk added projects: LLVM, clang, PowerPC.
Herald added subscribers: shchenz, hiraditya.

This patch adds the implementation for the following function prototypes:

  unsigned int vec_extractm (vector unsigned char a);
  unsigned int vec_extractm (vector unsigned short a);
  unsigned int vec_extractm (vector unsigned int a);
  unsigned int vec_extractm (vector unsigned long long a);
  unsigned int vec_extractm (vector unsigned __int128 a);


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D82675

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82675.273804.patch
Type: text/x-patch
Size: 10677 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200626/0e55e576/attachment-0001.bin>


More information about the cfe-commits mailing list