summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/avx512-reduceIntrin.c
Commit message (Collapse)AuthorAgeFilesLines
* [X86] Rewrite the add/mul/or/and reduction intrinsics to make better use of ↵Craig Topper2018-06-211-312/+306
| | | | | | | | | | | | other intrinsics and remove undef shuffle indices. Similar to what was done to max/min recently. These already reduced the vector width to 256 and 128 bit as we go unlike the original max/min code. Differential Revision: https://reviews.llvm.org/D48346 llvm-svn: 335253
* Fixing "type" issue for (epi32) Michael Zuckerman2016-10-301-112/+80
| | | | | | and replaceing hardcoded inf with clang builtin inf "__builtin_inff()" for float ({max|min}_{pd|ps}) llvm-svn: 285519
* Fixing small problem with avx512-reduceIntrin.c test on some OS.Michael Zuckerman2016-10-281-2/+2
| | | | llvm-svn: 285419
* 1. Fixing small types issue (PD|PS) (reduce) .Michael Zuckerman2016-10-281-2/+2
| | | | | | 2. Cosmetic changes llvm-svn: 285405
* [X86][AVX512][Clang][Intrinsics][reduce] Adding missing reduce (Operators: ↵Michael Zuckerman2016-10-251-0/+442
| | | | | | | | | | | | | | | | | | | | | | +,*,&&,||) intrinsics to Clang Committed after LGTM and check-all Vector-reduction arithmetic accepts vectors as inputs and produces scalars as outputs. This class of vector operation forms the basis of many scientific computations. In vector-reduction arithmetic, the evaluation off is independent of the order of the input elements of V. Used bisection method. At each step, we partition the vector with previous step in half, and the operation is performed on its two halves. This takes log2(n) steps where n is the number of elements in the vector. Reviwer: 1. igorb 2. craig.topper Differential Revision: https://reviews.llvm.org/D25527 llvm-svn: 285054
* revert r284963 Michael Zuckerman2016-10-241-442/+0
| | | | | | | because new test file is failing in some OS. test/CodeGen/avx512-reduceIntrin.c llvm-svn: 284967
* [X86][AVX512][Clang][Intrinsics][reduce] Adding missing reduce (Operators: ↵Michael Zuckerman2016-10-241-0/+442
+,*,&&,||) intrinsics to Clang Committed after LGTM and check-all Vector-reduction arithmetic accepts vectors as inputs and produces scalars as outputs. This class of vector operation forms the basis of many scientific computations. In vector-reduction arithmetic, the evaluation off is independent of the order of the input elements of V. Used bisection method. At each step, we partition the vector with previous step in half, and the operation is performed on its two halves. This takes log2(n) steps where n is the number of elements in the vector. Differential Revision: https://reviews.llvm.org/D25527 llvm-svn: 284963
OpenPOWER on IntegriCloud