summaryrefslogtreecommitdiffstats
path: root/llvm/test/Analysis/CostModel/X86/shuffle-two-src.ll
Commit message (Collapse)AuthorAgeFilesLines
* [X86][AVX] Reduce v4f64/v4i64 shuffle costs (PR37882)Simon Pilgrim2018-06-211-38/+24
| | | | | | These were being over cautious for costs for one/two op general shuffles - VSHUFPD doesn't have to replicate the same shuffle in both lanes like VSHUFPS does. llvm-svn: 335216
* [CostModel][X86] Split off BtVer2 cost checksSimon Pilgrim2018-04-201-1/+42
| | | | llvm-svn: 330433
* [CostModel][X86] Add some specific cpu targets to the cost modelsSimon Pilgrim2018-04-131-0/+4
| | | | | | We're mostly testing with generic isa attributes, but PR36550 will require testing of specific target's scheduler models as well. llvm-svn: 330056
* [CostModel][X86] Regenerate vector shuffle cost tests with ↵Simon Pilgrim2018-04-061-219/+267
| | | | | | update_analyze_test_checks.py llvm-svn: 329410
* [CostModel][X86][XOP] Improve costs for XOP shufflesSimon Pilgrim2017-08-161-0/+24
| | | | | | VPPERM/VPERMIL2PD/VPERMIL2PS all provide more effective 2-input shuffles than regular AVX instructions llvm-svn: 311005
* [CostModel][X86] Add SSE2 two-src shuffle costsSimon Pilgrim2017-08-101-7/+7
| | | | llvm-svn: 310654
* [CostModel][X86] Add avx1 two-src shuffle costsSimon Pilgrim2017-08-101-17/+17
| | | | llvm-svn: 310650
* [CostModel][X86] Add avx2 two-src shuffle costsSimon Pilgrim2017-08-101-22/+22
| | | | llvm-svn: 310645
* [CostModel][X86] Extend two src shuffle cost testsSimon Pilgrim2017-08-101-17/+195
| | | | | | Cover most 128/256/512/1024-bit cases for vXf64/vXi64, vXf32/vXi32, vXi16 + vXi8 llvm-svn: 310641
* AVX-512 Loop Vectorizer: Cost calculation for interleave load/store patterns.Elena Demikhovsky2017-01-021-0/+68
X86 target does not provide any target specific cost calculation for interleave patterns.It uses the common target-independent calculation, which gives very high numbers. As a result, the scalar version is chosen in many cases. The situation on AVX-512 is even worse, since we have 3-src shuffles that significantly reduce the cost. In this patch I calculate the cost on AVX-512. It will allow to compare interleave pattern with gather/scatter and choose a better solution (PR31426). * Shiffle-broadcast cost will be changed in Simon's upcoming patch. Differential Revision: https://reviews.llvm.org/D28118 llvm-svn: 290810
OpenPOWER on IntegriCloud