Revert r354244 "[DAGCombiner] Eliminate dead stores to stack."
[llvm-complete.git] / test / tools / llvm-mca / X86 / cpus.s
blob49169f1a6fe23244ff6184f44571f18052fedcf0
1 # NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
2 # RUN: llvm-mca %s -mtriple=x86_64-unknown-unknown -mcpu=bdver2 -resource-pressure=false -instruction-info=false < %s | FileCheck --check-prefix=ALL --check-prefix=BDVER2 %s
3 # RUN: llvm-mca %s -mtriple=x86_64-unknown-unknown -mcpu=btver2 -resource-pressure=false -instruction-info=false < %s | FileCheck --check-prefix=ALL --check-prefix=BTVER2 %s
4 # RUN: llvm-mca %s -mtriple=x86_64-unknown-unknown -mcpu=znver1 -resource-pressure=false -instruction-info=false < %s | FileCheck --check-prefix=ALL --check-prefix=ZNVER1 %s
5 # RUN: llvm-mca %s -mtriple=x86_64-unknown-unknown -mcpu=sandybridge -resource-pressure=false -instruction-info=false < %s | FileCheck --check-prefix=ALL --check-prefix=SANDYBRIDGE %s
6 # RUN: llvm-mca %s -mtriple=x86_64-unknown-unknown -mcpu=ivybridge -resource-pressure=false -instruction-info=false < %s | FileCheck --check-prefix=ALL --check-prefix=IVYBRIDGE %s
7 # RUN: llvm-mca %s -mtriple=x86_64-unknown-unknown -mcpu=haswell -resource-pressure=false -instruction-info=false < %s | FileCheck --check-prefix=ALL --check-prefix=HASWELL %s
8 # RUN: llvm-mca %s -mtriple=x86_64-unknown-unknown -mcpu=broadwell -resource-pressure=false -instruction-info=false < %s | FileCheck --check-prefix=ALL --check-prefix=BROADWELL %s
9 # RUN: llvm-mca %s -mtriple=x86_64-unknown-unknown -mcpu=knl -resource-pressure=false -instruction-info=false < %s | FileCheck --check-prefix=ALL --check-prefix=KNL %s
10 # RUN: llvm-mca %s -mtriple=x86_64-unknown-unknown -mcpu=skylake -resource-pressure=false -instruction-info=false < %s | FileCheck --check-prefix=ALL --check-prefix=SKX %s
11 # RUN: llvm-mca %s -mtriple=x86_64-unknown-unknown -mcpu=skylake-avx512 -resource-pressure=false -instruction-info=false < %s | FileCheck --check-prefix=ALL --check-prefix=SKX-AVX512 %s
12 # RUN: llvm-mca %s -mtriple=x86_64-unknown-unknown -mcpu=slm -resource-pressure=false -instruction-info=false < %s | FileCheck --check-prefix=ALL --check-prefix=SLM %s
14 add %edi, %eax
16 # ALL: Iterations: 100
17 # ALL-NEXT: Instructions: 100
18 # ALL-NEXT: Total Cycles: 103
19 # ALL-NEXT: Total uOps: 100
21 # BDVER2: Dispatch Width: 4
22 # BDVER2-NEXT: uOps Per Cycle: 0.97
23 # BDVER2-NEXT: IPC: 0.97
24 # BDVER2-NEXT: Block RThroughput: 0.5
26 # BROADWELL: Dispatch Width: 4
27 # BROADWELL-NEXT: uOps Per Cycle: 0.97
28 # BROADWELL-NEXT: IPC: 0.97
29 # BROADWELL-NEXT: Block RThroughput: 0.3
31 # BTVER2: Dispatch Width: 2
32 # BTVER2-NEXT: uOps Per Cycle: 0.97
33 # BTVER2-NEXT: IPC: 0.97
34 # BTVER2-NEXT: Block RThroughput: 0.5
36 # HASWELL: Dispatch Width: 4
37 # HASWELL-NEXT: uOps Per Cycle: 0.97
38 # HASWELL-NEXT: IPC: 0.97
39 # HASWELL-NEXT: Block RThroughput: 0.3
41 # IVYBRIDGE: Dispatch Width: 4
42 # IVYBRIDGE-NEXT: uOps Per Cycle: 0.97
43 # IVYBRIDGE-NEXT: IPC: 0.97
44 # IVYBRIDGE-NEXT: Block RThroughput: 0.3
46 # KNL: Dispatch Width: 4
47 # KNL-NEXT: uOps Per Cycle: 0.97
48 # KNL-NEXT: IPC: 0.97
49 # KNL-NEXT: Block RThroughput: 0.3
51 # SANDYBRIDGE: Dispatch Width: 4
52 # SANDYBRIDGE-NEXT: uOps Per Cycle: 0.97
53 # SANDYBRIDGE-NEXT: IPC: 0.97
54 # SANDYBRIDGE-NEXT: Block RThroughput: 0.3
56 # SKX: Dispatch Width: 6
57 # SKX-NEXT: uOps Per Cycle: 0.97
58 # SKX-NEXT: IPC: 0.97
59 # SKX-NEXT: Block RThroughput: 0.3
61 # SKX-AVX512: Dispatch Width: 6
62 # SKX-AVX512-NEXT: uOps Per Cycle: 0.97
63 # SKX-AVX512-NEXT: IPC: 0.97
64 # SKX-AVX512-NEXT: Block RThroughput: 0.3
66 # SLM: Dispatch Width: 2
67 # SLM-NEXT: uOps Per Cycle: 0.97
68 # SLM-NEXT: IPC: 0.97
69 # SLM-NEXT: Block RThroughput: 0.5
71 # ZNVER1: Dispatch Width: 4
72 # ZNVER1-NEXT: uOps Per Cycle: 0.97
73 # ZNVER1-NEXT: IPC: 0.97
74 # ZNVER1-NEXT: Block RThroughput: 0.3