summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/avx512f-builtins.c
Commit message (Collapse)AuthorAgeFilesLines
...
* [X86][AVX512][Clang] Add support for mask_{move|store|load}_s{s/d} and ↵Ayman Musa2016-11-081-9/+119
| | | | | | | | int2mask/mask2int intrinsics. Differential Revision: https://reviews.llvm.org/D26021 llvm-svn: 286229
* [AVX-512] Remove masked vector insert builtins and replace with native ↵Craig Topper2016-11-011-12/+20
| | | | | | | | shufflevectors and selects. Unfortunately, the backend currently doesn't fold masks into the instructions correctly when they come from these shufflevectors. I'll work on that in a future commit. llvm-svn: 285667
* [AVX-512] Remove masked vector extract builtins and replace with native ↵Craig Topper2016-10-311-19/+27
| | | | | | | | shufflevectors and selects. Unfortunately, the backend currently doesn't fold masks into the instructions correctly when they come from these shufflevectors. I'll work on that in a future commit. llvm-svn: 285540
* [AVX-512] Replace 64-bit element and 512-bit vector pmin/pmax builtins with ↵Craig Topper2016-10-241-16/+112
| | | | | | native IR like we do for 128/256-bit, but with the addition of masking. llvm-svn: 284956
* [AVX-512] Replace 512-bit pmovzx/sx builtins with native IR.Craig Topper2016-10-231-30/+50
| | | | llvm-svn: 284936
* [Clang][AVX512][BuiltIn]Adding missing intrinsics move_{sd|ss} to clangMichael Zuckerman2016-10-051-0/+28
| | | | | | Differential Revision: http://reviews.llvm.org/D21021 llvm-svn: 283314
* [AVX-512] Use native IR for masked 512-bit add/sub/mul/div ps/pd intrinsics ↵Craig Topper2016-10-021-16/+32
| | | | | | when rounding mode isn't used. llvm-svn: 283073
* [AVX-512] Add _MM_FROUND_NO_EXC to test cases that pass a rounding mode ↵Craig Topper2016-10-011-96/+96
| | | | | | intrinsics. This is preparation for a follow up commit that will check validity of rounding mode argument. llvm-svn: 283053
* [X86] Remove the mm_malloc.h include guard hack from the X86 builtins testsElad Cohen2016-09-281-4/+1
| | | | | | | | | | | | The X86 clang/test/CodeGen/*builtins.c tests define the mm_malloc.h include guard as a hack for avoiding its inclusion (mm_malloc.h requires a hosted environment since it expects stdlib.h to be available - which is not the case in these internal clang codegen tests). This patch removes this hack and instead passes -ffreestanding to clang cc1. Differential Revision: https://reviews.llvm.org/D24825 llvm-svn: 282581
* [avx512] Add aliases to some missing avx512 intrinsics.Ayman Musa2016-09-271-0/+255
| | | | | | Differential Revision:https: //reviews.llvm.org/D24961 llvm-svn: 282488
* [X86] Fix some illegal rounding modes in some builtin test cases to ones ↵Craig Topper2016-09-221-2/+2
| | | | | | that would properly compile to valid assembly. llvm-svn: 282137
* [AVX-512] Remove masked integer mullo builtins and replace with native IR.Craig Topper2016-09-031-2/+4
| | | | llvm-svn: 280597
* [AVX-512] Remove masked integer add/sub builtins and replace with native IR.Craig Topper2016-09-031-8/+16
| | | | llvm-svn: 280596
* [AVX512] integer comparisions enumeration.Asaf Badouh2016-08-071-12/+12
| | | | | | | | | | fix Bug 28842 https://llvm.org/bugs/show_bug.cgi?id=28842 Differential Revision: https://reviews.llvm.org/D22212 llvm-svn: 277955
* After PR28761 use -Wall with -Werror in builtins tests to identifyEric Christopher2016-08-041-1/+1
| | | | | | possible problems in headers. llvm-svn: 277696
* [X86] Add missing __x86_64__ qualifiers on a bunch of intrinsics that assume ↵Craig Topper2016-07-211-0/+36
| | | | | | | | 64-bit GPRs are available. Usages of these intrinsics in a 32-bit build results in assertions in the backend. llvm-svn: 276249
* [AVX512] Replace masked AND/OR/XOR intrinsics with native code and remove ↵Craig Topper2016-07-111-18/+44
| | | | | | the builtins. llvm-svn: 275049
* [X86] Use __butilin_shufflevector for 512-bit shufps intrinsics.Craig Topper2016-07-101-3/+5
| | | | llvm-svn: 275012
* [X86][AVX512] Converted the VBROADCAST intrinsics to generic IRSimon Pilgrim2016-07-051-34/+40
| | | | llvm-svn: 274544
* [X86][AVX512F] add float/double abs intrinsicsAsaf Badouh2016-07-051-4/+41
| | | | | | | | | add abs intrinsics that use native LLVM-IR. change _mm512_mask[z]_and_epi{32|64} to use select intrinsic Differential Revision: http://reviews.llvm.org/D21973 llvm-svn: 274542
* [X86] Use undefined instead of setzero in shufflevector based intrinsics ↵Craig Topper2016-07-041-6/+6
| | | | | | when the second source is unused. Rewrite immediate extractions in shuffle intrinsics to be in ((c >> x) & y) form instead of ((c & z) >> x). This way only x varies between each use instead of having to vary x and z. llvm-svn: 274525
* [X86][AVX512] Converted the VSHUFPD intrinsics to generic IRSimon Pilgrim2016-07-041-3/+5
| | | | llvm-svn: 274523
* [X86][AVX512] Converted the VPERMPD/VPERMQ intrinsics to generic IRSimon Pilgrim2016-07-041-12/+16
| | | | llvm-svn: 274502
* [X86][AVX512] Converted the VPERMILPD/VPERMILPS intrinsics to generic IRSimon Pilgrim2016-07-041-12/+16
| | | | llvm-svn: 274492
* [X86][AVX512] Converted the MOVDDUP/MOVSLDUP/MOVSHDUP masked intrinsics to ↵Simon Pilgrim2016-07-021-18/+24
| | | | | | | | generic IR llvm companion patch imminent llvm-svn: 274442
* Update the expected masked load/store intrinsics names in testsArtur Pilipenko2016-06-281-18/+18
| | | | | | The mangling of their names was changed in order to support arbitrary addrspace pointers as arguments in rL274043. llvm-svn: 274044
* [AVX512] Replace masked unpack builtins with shufflevector and selects.Craig Topper2016-06-231-20/+36
| | | | llvm-svn: 273533
* [AVX512] Replace masked integer cmp and ucmp builtins with native IR.Craig Topper2016-06-221-56/+80
| | | | llvm-svn: 273378
* [AVX512] Use native IR for mask pcmpeq/pcmpgt intrinsics.Craig Topper2016-06-151-8/+12
| | | | llvm-svn: 272787
* [Clang][AVX512][intrinsics] Adding missing intrinsics div_pd and div_psMichael Zuckerman2016-06-141-3/+13
| | | | | | Differential Revision: http://reviews.llvm.org/D20626 llvm-svn: 272658
* [X86][AVX512F] bugfix - sqrtps should get __mask16 as mask parameterAsaf Badouh2016-06-131-2/+2
| | | | | CR: Michael Zuckerman llvm-svn: 272549
* [Clang][X86] Convert non-temporal store builtins to generic ↵Simon Pilgrim2016-06-131-3/+3
| | | | | | | | | | | | | | __builtin_nontemporal_store in headers We can now use __builtin_nontemporal_store instead of target specific builtins for naturally aligned nontemporal stores which avoids the need for handling in CGBuiltin.cpp The scalar integer nontemporal (unaligned) store builtins will have to wait as __builtin_nontemporal_store currently assumes natural alignment and doesn't accept the 'packed struct' trick that we use for normal unaligned load/stores. The nontemporal loads require further backend support before we can safely convert them to __builtin_nontemporal_load Differential Revision: http://reviews.llvm.org/D21272 llvm-svn: 272540
* [AVX512] Implement masked and 512-bit pshufd intrinsics directly with ↵Craig Topper2016-06-111-4/+6
| | | | | | __builtin_shufflevector and __builtin_ia32_select. llvm-svn: 272467
* [AVX512] Emit select instruction instead of using x86 specific instrinsics.Igor Breger2016-06-081-8/+8
| | | | | | | | This will allow us to remove the x86 instrinics from the backend. Differential Revision: http://reviews.llvm.org/D21060 llvm-svn: 272141
* [Clang][AVX512]Adding set4 intrinsicsMichael Zuckerman2016-06-051-0/+56
| | | | | | Differential Revision: http://reviews.llvm.org/D20866 llvm-svn: 271835
* [Clang][AVX512][Intrinsics] Adding two definitions _mm512_setzero and ↵Michael Zuckerman2016-06-051-0/+35
| | | | | | | | _mm512_setzero_epi32 Differential Revision: http://reviews.llvm.org/D20871 llvm-svn: 271832
* [X86][AVX512] add intrinsics of Scalar FP to integerAsaf Badouh2016-06-021-0/+77
| | | | | | Differential Revision: http://reviews.llvm.org/D20861 llvm-svn: 271499
* [Clang][Intrinsics][avx512] Continue Adding round cvt to clangMichael Zuckerman2016-06-011-22/+86
| | | | | | | And remove trailing spaces in intrinsic f test Differential Revision: http://reviews.llvm.org/D20810 llvm-svn: 271398
* [Clang][Intrinsics][avx512] Adding round intrinsics fot max/min/sqrt ↵Michael Zuckerman2016-06-011-0/+126
| | | | | | | | instruction set to clang Differential Revision: http://reviews.llvm.org/D20812 llvm-svn: 271373
* [Clang][Intrinsics][avx512] Adding round roundscale to clangMichael Zuckerman2016-06-011-0/+42
| | | | | | Differential Revision: http://reviews.llvm.org/D20815 llvm-svn: 271368
* [Clang][Intrinsics][avx512] Adding round cvt to clangMichael Zuckerman2016-05-311-0/+134
| | | | | | Differential Revision: http://reviews.llvm.org/D20790 llvm-svn: 271265
* [AVX512] Convert masked load builtins to generic masked load intrinsics ↵Craig Topper2016-05-311-15/+15
| | | | | | | | instead of the x86 specific ones. This will allow the x86 intrinsics to be removed from the backend. llvm-svn: 271253
* [AVX512] Emit generic masked store instrinsics instead of using x86 specific ↵Craig Topper2016-05-311-10/+13
| | | | | | | | intrinsics. This will allow us to remove the x86 instrinics from the backend. llvm-svn: 271246
* [Clang][avx512][builtin] Adding missing intrinsics for cvtMichael Zuckerman2016-05-301-0/+6
| | | | | | Differential Revision: http://reviews.llvm.org/D20618 llvm-svn: 271205
* [AVX512] Add masked v16i32 and v8i64 unaligned store tests.Craig Topper2016-05-281-0/+12
| | | | llvm-svn: 271134
* Adding missing _mm512_castsi512_si256 intrinsic. Michael Zuckerman2016-05-261-0/+7
| | | | llvm-svn: 270851
* [Clang][AVX512][BUILTIN] Adding intrinsics for set1Michael Zuckerman2016-05-261-0/+30
| | | | | | Differential Revision: http://reviews.llvm.org/D20562 llvm-svn: 270825
* [AVX512] Don't rely on value names. They're different in release builds.Benjamin Kramer2016-05-251-9/+9
| | | | llvm-svn: 270704
* [Clang][AVX512][BUILTIN] Add missing intrinsics for castMichael Zuckerman2016-05-251-11/+72
| | | | | | Differential Revision: http://reviews.llvm.org/D20523 llvm-svn: 270699
* [Clang][AVX512][BUILTIN]adding missing intrinsics for movdaq instruction setMichael Zuckerman2016-05-231-0/+12
| | | | | | Differential Revision: http://reviews.llvm.org/D20514 llvm-svn: 270401
OpenPOWER on IntegriCloud