summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/xop-builtins.c
Commit message (Collapse)AuthorAgeFilesLines
* [X86] Replace VPCOM/VPCOMU with generic integer comparisons (clang)Simon Pilgrim2019-01-201-8/+16
| | | | | | | | | | These intrinsics can always be replaced with generic integer comparisons without any regression in codegen, even for -O0/-fast-isel cases. Noticed while cleaning up vector integer comparison costs for PR40376. A future commit will remove/autoupgrade the existing VPCOM/VPCOMU llvm intrinsics. llvm-svn: 351687
* [X86] Auto upgrade XOP/AVX512 rotation intrinsics to generic funnel shift ↵Simon Pilgrim2018-12-201-8/+8
| | | | | | | | | | | | intrinsics (clang) This emits FSHL/FSHR generic intrinsics for the XOP VPROT and AVX512 VPROL/VPROR rotation intrinsics. LLVM counterpart: https://reviews.llvm.org/D55938 Differential Revision: https://reviews.llvm.org/D55937 llvm-svn: 349796
* [X86] Replace XOP vpcmov builtins with native vector logical operations.Craig Topper2017-02-181-2/+8
| | | | llvm-svn: 295570
* [X86] Remove the mm_malloc.h include guard hack from the X86 builtins testsElad Cohen2016-09-281-4/+2
| | | | | | | | | | | | 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
* After PR28761 use -Wall with -Werror in builtins tests to identifyEric Christopher2016-08-041-2/+2
| | | | | | possible problems in headers. llvm-svn: 277696
* [X86][XOP] Refreshed builtin tests ready for creation of llvm fast-isel testsSimon Pilgrim2016-06-181-64/+67
| | | | llvm-svn: 273090
* [X86] Stripped backend codegen testsSimon Pilgrim2015-12-031-66/+64
| | | | | | | | | | As discussed on the ml, backend tests need to be put in llvm/test/CodeGen/X86 as fast-isel tests using IR that is as close to what is generated here as possible. The llvm tests will (re)added in a future commit I will update PR24580 on this new plan llvm-svn: 254594
* Canonicalize some of the x86 builtin tests and either remove or commentEric Christopher2015-10-141-2/+2
| | | | | | about optimization options. llvm-svn: 250271
* [X86] LLVM now prints XOP immediates as unsigned after r250147. Fix expected ↵Craig Topper2015-10-131-1/+1
| | | | | | check string accordingly. llvm-svn: 250149
* [X86] Reapplied r246204, r246206, r246211, r246223Simon Pilgrim2015-08-291-1/+67
| | | | | | | | (Re)added debug codegen test for F16C, FMA4, XOP + 3DNow! intrinsics Part of PR24590 llvm-svn: 246363
* Revert "[X86][XOP] Added debug codegen test for XOP intrinsics"Renato Golin2015-08-281-66/+1
| | | | | | This reverts commit r246211, as it broke all ARM/AArch64 bots. llvm-svn: 246321
* [X86][XOP] Added debug codegen test for XOP intrinsicsSimon Pilgrim2015-08-271-1/+66
| | | | | | Part of PR24590 llvm-svn: 246211
* Add XOP frcz instrinsics.Craig Topper2012-06-151-0/+30
| | | | llvm-svn: 158492
* Add XOP permute intrinsics.Craig Topper2012-06-121-0/+20
| | | | llvm-svn: 158351
* Add XOP shift and compare intrinsics.Craig Topper2012-06-111-0/+80
| | | | llvm-svn: 158300
* Add XOP vprot* instruction intrinsicsCraig Topper2012-06-101-0/+40
| | | | llvm-svn: 158292
* More XOP intrinsicsCraig Topper2012-06-101-0/+90
| | | | llvm-svn: 158287
* Begin adding XOP intrinsicsCraig Topper2012-06-101-0/+66
llvm-svn: 158286
OpenPOWER on IntegriCloud