[all-commits] [llvm/llvm-project] c45c16: [PowerPC][Power10] Implement Parallel Bits Deposit...

Amy Kwan via All-commits all-commits at lists.llvm.org
Thu Jun 18 14:24:30 PDT 2020


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

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

  Log Message:
  -----------
  [PowerPC][Power10] Implement Parallel Bits Deposit/Extract Builtins in LLVM/Clang

This patch implements builtins for the following prototypes:

vector unsigned long long vec_pdep(vector unsigned long long, vector unsigned long long);
vector unsigned long long vec_pext(vector unsigned long long, vector unsigned long long __b);
unsigned long long __builtin_pdepd (unsigned long long, unsigned long long);
unsigned long long __builtin_pextd (unsigned long long, unsigned long long);

Revision Depends on D80758

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




More information about the All-commits mailing list