[all-commits] [llvm/llvm-project] 19df9e: [PowerPC][Power10] Implement VSX PCV Generate Oper...

Amy Kwan via All-commits all-commits at lists.llvm.org
Mon Jun 22 19:25:03 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 19df9e2959cfa3f25d798bd842df798e2b75f1b2
      https://github.com/llvm/llvm-project/commit/19df9e2959cfa3f25d798bd842df798e2b75f1b2
  Author: Amy Kwan <amy.kwan1 at ibm.com>
  Date:   2020-06-22 (Mon, 22 Jun 2020)

  Changed paths:
    M clang/include/clang/Basic/BuiltinsPPC.def
    M clang/lib/Headers/altivec.h
    M clang/test/CodeGen/builtins-ppc-p10vector.c
    M llvm/include/llvm/IR/IntrinsicsPowerPC.td
    M llvm/lib/Target/PowerPC/PPCInstrPrefix.td
    A llvm/test/CodeGen/PowerPC/p10-vsx-pcv.ll
    M llvm/test/MC/Disassembler/PowerPC/p10insts.txt
    M llvm/test/MC/PowerPC/p10.s

  Log Message:
  -----------
  [PowerPC][Power10] Implement VSX PCV Generate Operations in LLVM/Clang

This patch implements builtins for the following prototypes for the VSX Permute
Control Vector Generate with Mask Instructions:

vector unsigned char vec_genpcvm (vector unsigned char, const int);
vector unsigned short vec_genpcvm (vector unsigned short, const int);
vector unsigned int vec_genpcvm (vector unsigned int, const int);
vector unsigned long long vec_genpcvm (vector unsigned long long, const int);

Differential Revision: https://reviews.llvm.org/D81774




More information about the All-commits mailing list