[PATCH] D82727: [PowerPC][Power10] Implement Vector Expand Mask builtins in LLVM/Clang

Amy Kwan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Jun 28 12:55:38 PDT 2020


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

This patch implements the following function prototypes:

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

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D82727

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: D82727.273968.patch
Type: text/x-patch
Size: 10876 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200628/c698d695/attachment-0001.bin>


More information about the cfe-commits mailing list