[PATCH] D82467: [PowerPC][Power10] Implement Truncate and Store VSX Vector Builtins

Amy Kwan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 24 08:04:24 PDT 2020


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

This patch implements the following function prototypes for the truncate and store VSX Vector instructions:

  void vec_xst_trunc (vector signed __int128, signed long long, signed char *);
  void vec_xst_trunc (vector unsigned __int128, signed long long, unsigned char *);
  
  void vec_xst_trunc (vector signed __int128, signed long long, signed short *);
  void vec_xst_trunc (vector unsigned __int128, signed long long, unsigned short *);
  
  void vec_xst_trunc (vector signed __int128, signed long long, signed int *);
  void vec_xst_trunc (vector unsigned __int128, signed long long, unsigned int *);
  
  void vec_xst_trunc (vector signed __int128, signed long long, signed long long *);
  void vec_xst_trunc (vector unsigned __int128, signed long long, unsigned long long *);


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D82467

Files:
  clang/lib/Headers/altivec.h
  clang/test/CodeGen/builtins-ppc-p10vector.c
  llvm/lib/Target/PowerPC/PPCInstrPrefix.td
  llvm/test/CodeGen/PowerPC/p10-vsx-builtins.ll
  llvm/test/MC/Disassembler/PowerPC/p10insts.txt
  llvm/test/MC/PowerPC/p10.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82467.273026.patch
Type: text/x-patch
Size: 13196 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200624/1f00f419/attachment.bin>


More information about the cfe-commits mailing list