[PowerPC] Implementation of 128-bit Binary Vector Mod and Sign Extend builtins
authorAlbion Fung <albionapc@gmail.com>
Wed, 23 Sep 2020 06:17:59 +0000 (01:17 -0500)
committerAlbion Fung <albionapc@gmail.com>
Wed, 23 Sep 2020 06:18:14 +0000 (01:18 -0500)
commitd7eb917a7cb793f49e16841fc24826b988dd5c8f
tree4ffe8b0376e096d33db80c58c41ae6b4ee58a23d
parentb90132399aa994ac6405d0d6437735043bff9314
[PowerPC] Implementation of 128-bit Binary Vector Mod and Sign Extend builtins

This patch implements 128-bit Binary Vector Mod and Sign Extend builtins for PowerPC10.

Differential: https://reviews.llvm.org/D87394#inline-815858
clang/include/clang/Basic/BuiltinsPPC.def
clang/lib/Headers/altivec.h
clang/test/CodeGen/builtins-ppc-p10vector.c
clang/test/CodeGen/builtins-ppc-p9vector.c
llvm/include/llvm/IR/IntrinsicsPowerPC.td
llvm/lib/Target/PowerPC/PPCISelLowering.cpp
llvm/lib/Target/PowerPC/PPCInstrAltivec.td
llvm/lib/Target/PowerPC/PPCInstrPrefix.td
llvm/test/CodeGen/PowerPC/p10-vector-modulo.ll
llvm/test/CodeGen/PowerPC/p10-vector-sign-extend.ll [new file with mode: 0644]
llvm/test/CodeGen/PowerPC/p9-vector-sign-extend.ll [new file with mode: 0644]