[PATCH] D26305: [Power9] vector load/store with length - llvm portion

Zaara Syeda via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 4 12:19:05 PDT 2016


syzaara created this revision.
syzaara added reviewers: nemanjai, kbarton, amehsan, lei, sfertile, jtony.
syzaara added subscribers: echristo, llvm-commits.

Add builtin functions for prototypes:

vector signed char vec_xl_len (signed char *, size_t);
vector unsigned char vec_xl_len (unsigned char *, size_t);
vector signed int vec_xl_len (signed int *, size_t);
vector unsigned int vec_xl_len (unsigned int *, size_t);
vector signed __int128 vec_xl_len (signed __int128 *, size_t);
vector unsigned __int128 vec_xl_len (unsigned __int128 *, size_t);
vector signed long long vec_xl_len (signed long long *, size_t);
vector unsigned long long vec_xl_len (unsigned long long *, size_t);
vector signed short vec_xl_len (signed short *, size_t);
vector unsigned short vec_xl_len (unsigned short *, size_t);
vector double vec_xl_len (double *, size_t);
vector float vec_xl_len (float *, size_t);

vector unsigned char vec_xl_len_r (unsigned char *, size_t);

void vec_xst_len (vector signed char, signed char *, size_t);
void vec_xst_len (vector unsigned char, unsigned char *, size_t);
void vec_xst_len (vector signed int, signed int *, size_t);
void vec_xst_len (vector unsigned int, unsigned int *, size_t);
void vec_xst_len (vector signed __int128, signed __int128 *, size_t);
void vec_xst_len (vector unsigned __int128, unsigned __int128 *, size_t);
void vec_xst_len (vector signed long long, signed long long *, size_t);
void vec_xst_len (vector unsigned long long, unsigned long long *, size_t);
void vec_xst_len (vector signed short, signed short *, size_t);
void vec_xst_len (vector unsigned short, unsigned short *, size_t);
void vec_xst_len (vector double, double *, size_t);
void vec_xst_len (vector float, float *, size_t);

void vec_xst_len_r (vector unsigned char, unsigned char *, size_t);


https://reviews.llvm.org/D26305

Files:
  include/llvm/IR/IntrinsicsPowerPC.td
  lib/Target/PowerPC/PPCInstrVSX.td
  test/CodeGen/PowerPC/vsx-p9.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26305.76929.patch
Type: text/x-patch
Size: 4392 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161104/e8e0c183/attachment.bin>


More information about the llvm-commits mailing list