[all-commits] [llvm/llvm-project] d82f26: [PowerPC][Power10] Implement Count Leading/Trailin...
Amy Kwan via All-commits
all-commits at lists.llvm.org
Wed Jun 24 14:04:15 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: d82f26cc4bc7cb78f7ef327fa43a93e3d0ff9706
https://github.com/llvm/llvm-project/commit/d82f26cc4bc7cb78f7ef327fa43a93e3d0ff9706
Author: Amy Kwan <amy.kwan1 at ibm.com>
Date: 2020-06-24 (Wed, 24 Jun 2020)
Changed paths:
M clang/include/clang/Basic/BuiltinsPPC.def
M clang/lib/Headers/altivec.h
M clang/test/CodeGen/builtins-ppc-p10.c
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-bit-manip-ops.ll
M llvm/test/MC/Disassembler/PowerPC/p10insts.txt
M llvm/test/MC/PowerPC/p10.s
Log Message:
-----------
[PowerPC][Power10] Implement Count Leading/Trailing Zeroes Builtins under bit Mask in LLVM/Clang
This patch implements builtins for the following prototypes:
unsigned long long __builtin_cntlzdm (unsigned long long, unsigned long long)
unsigned long long __builtin_cnttzdm (unsigned long long, unsigned long long)
vector unsigned long long vec_cntlzm (vector unsigned long long, vector unsigned long long)
vector unsigned long long vec_cnttzm (vector unsigned long long, vector unsigned long long)
Differential Revision: https://reviews.llvm.org/D80941
More information about the All-commits
mailing list