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