[all-commits] [llvm/llvm-project] 76b0f9: [PowerPC] Implement Vector Multiply High/Divide Ex...

Amy Kwan via All-commits all-commits at lists.llvm.org
Wed Aug 26 21:15:00 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 76b0f99ea854185c9866b0ab0f006137ba28e09e
      https://github.com/llvm/llvm-project/commit/76b0f99ea854185c9866b0ab0f006137ba28e09e
  Author: Amy Kwan <amy.kwan1 at ibm.com>
  Date:   2020-08-26 (Wed, 26 Aug 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
    M llvm/test/CodeGen/PowerPC/p10-vector-divide.ll
    M llvm/test/CodeGen/PowerPC/p10-vector-multiply.ll

  Log Message:
  -----------
  [PowerPC] Implement Vector Multiply High/Divide Extended Builtins in LLVM/Clang

This patch implements the function prototypes vec_mulh and vec_dive in order to
utilize the vector multiply high (vmulh[s|u][w|d]) and vector divide extended
(vdive[s|u][w|d]) instructions introduced in Power10.

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




More information about the All-commits mailing list