This patch implements builtins for the following prototypes:
int vec_test_lsbb_all_ones (vector unsigned char a); int vec_test_lsbb_all_zeros (vector unsigned char a);
Paths
| Differential D82431
[PowerPC][Power10] Implement Test LSB by Byte Builtins in LLVM/Clang ClosedPublic Authored by amyk on Jun 23 2020, 8:25 PM.
Details
Summary This patch implements builtins for the following prototypes: int vec_test_lsbb_all_ones (vector unsigned char a); int vec_test_lsbb_all_zeros (vector unsigned char a);
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jun 26 2020, 12:40 PM Comment Actions Updated revision to:
amyk added a child revision: D82467: [PowerPC][Power10] Implement Truncate and Store VSX Vector Builtins.Jun 29 2020, 3:22 PM steven.zhang added inline comments.
Closed by commit rG62f5ba624bfb: [PowerPC][Power10] Implement Test LSB by Byte Builtins in LLVM/Clang (authored by amyk). · Explain WhyJul 13 2020, 8:48 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 272906 clang/include/clang/Basic/BuiltinsPPC.def
clang/lib/Headers/altivec.h
clang/test/CodeGen/builtins-ppc-p10vector.c
llvm/include/llvm/IR/IntrinsicsPowerPC.td
llvm/lib/Target/PowerPC/PPCInstrPrefix.td
llvm/test/CodeGen/PowerPC/p10-vsx-builtins.ll
llvm/test/MC/Disassembler/PowerPC/p10insts.txt
llvm/test/MC/PowerPC/p10.s
|
clang-tidy: error: "AltiVec support not enabled" [clang-diagnostic-error]
not useful