| Simon Pilgrim | 96855ec | 2018-04-22 14:43:12 +0000 | [diff] [blame^] | 1 | # NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py |
| Andrea Di Biagio | 0104362 | 2018-03-30 13:38:37 +0000 | [diff] [blame] | 2 | # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=sandybridge -iterations=1 -timeline -resource-pressure=false < %s | FileCheck %s -check-prefix=SANDY |
| 3 | |
| 4 | # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=ivybridge -iterations=1 -timeline -resource-pressure=false < %s | FileCheck %s -check-prefix=IVY |
| 5 | |
| 6 | # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=haswell -iterations=1 -timeline -resource-pressure=false < %s | FileCheck %s -check-prefix=HASWELL |
| 7 | |
| 8 | # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=broadwell -iterations=1 -timeline -resource-pressure=false < %s | FileCheck %s -check-prefix=BDWELL |
| 9 | |
| 10 | # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=skylake -iterations=1 -timeline -resource-pressure=false < %s | FileCheck %s -check-prefix=SKYLAKE |
| 11 | |
| 12 | # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=btver2 -iterations=1 -timeline -resource-pressure=false < %s | FileCheck %s -check-prefix=BTVER2 |
| 13 | |
| 14 | # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=znver1 -iterations=1 -timeline -resource-pressure=false < %s | FileCheck %s -check-prefix=ZNVER1 |
| 15 | |
| 16 | vaddps %xmm0, %xmm0, %xmm1 |
| 17 | vblendvps %xmm1, (%rdi), %xmm2, %xmm3 |
| 18 | |
| 19 | |
| Simon Pilgrim | 96855ec | 2018-04-22 14:43:12 +0000 | [diff] [blame^] | 20 | # SANDY: [0,0] DeeeER . vaddps %xmm0, %xmm0, %xmm1 |
| 21 | # SANDY-NEXT: [0,1] DeeeeeeeeER vblendvps %xmm1, (%rdi), %xmm2, %xmm3 |
| Andrea Di Biagio | 0104362 | 2018-03-30 13:38:37 +0000 | [diff] [blame] | 22 | |
| Simon Pilgrim | 96855ec | 2018-04-22 14:43:12 +0000 | [diff] [blame^] | 23 | # IVY: [0,0] DeeeER . vaddps %xmm0, %xmm0, %xmm1 |
| 24 | # IVY-NEXT: [0,1] DeeeeeeeeER vblendvps %xmm1, (%rdi), %xmm2, %xmm3 |
| Andrea Di Biagio | 0104362 | 2018-03-30 13:38:37 +0000 | [diff] [blame] | 25 | |
| Simon Pilgrim | 96855ec | 2018-04-22 14:43:12 +0000 | [diff] [blame^] | 26 | # HASWELL: [0,0] DeeeER . vaddps %xmm0, %xmm0, %xmm1 |
| 27 | # HASWELL-NEXT: [0,1] DeeeeeeeeER vblendvps %xmm1, (%rdi), %xmm2, %xmm3 |
| Andrea Di Biagio | 0104362 | 2018-03-30 13:38:37 +0000 | [diff] [blame] | 28 | |
| Simon Pilgrim | 96855ec | 2018-04-22 14:43:12 +0000 | [diff] [blame^] | 29 | # BDWELL: [0,0] DeeeER . vaddps %xmm0, %xmm0, %xmm1 |
| 30 | # BDWELL-NEXT: [0,1] DeeeeeeeER vblendvps %xmm1, (%rdi), %xmm2, %xmm3 |
| Andrea Di Biagio | 0104362 | 2018-03-30 13:38:37 +0000 | [diff] [blame] | 31 | |
| Simon Pilgrim | 96855ec | 2018-04-22 14:43:12 +0000 | [diff] [blame^] | 32 | # SKYLAKE: [0,0] DeeeeER . vaddps %xmm0, %xmm0, %xmm1 |
| 33 | # SKYLAKE-NEXT: [0,1] DeeeeeeeeER vblendvps %xmm1, (%rdi), %xmm2, %xmm3 |
| Andrea Di Biagio | 0104362 | 2018-03-30 13:38:37 +0000 | [diff] [blame] | 34 | |
| Simon Pilgrim | 96855ec | 2018-04-22 14:43:12 +0000 | [diff] [blame^] | 35 | # BTVER2: [0,0] DeeeER . vaddps %xmm0, %xmm0, %xmm1 |
| 36 | # BTVER2-NEXT: [0,1] .DeeeeeeeER vblendvps %xmm1, (%rdi), %xmm2, %xmm3 |
| Andrea Di Biagio | 0104362 | 2018-03-30 13:38:37 +0000 | [diff] [blame] | 37 | |
| Simon Pilgrim | 96855ec | 2018-04-22 14:43:12 +0000 | [diff] [blame^] | 38 | # ZNVER1: [0,0] DeeeER . vaddps %xmm0, %xmm0, %xmm1 |
| 39 | # ZNVER1-NEXT: [0,1] DeeeeeeeeER vblendvps %xmm1, (%rdi), %xmm2, %xmm3 |