Recommit "rL366894: [yaml2obj] - Allow custom fields for the SHT_UNDEF sections."
[llvm-complete.git] / test / tools / llvm-mca / X86 / cpus.s
blobe90abf85d07287e97f2b26280922037768a66569
1 # NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
2 # RUN: llvm-mca %s -mtriple=x86_64-unknown-unknown -mcpu=x86-64 -resource-pressure=false -instruction-info=false < %s | FileCheck --check-prefix=ALL --check-prefix=BARCELONA %s
3 # 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
4 # 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
5 # 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
6 # 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
7 # 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
8 # 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
9 # 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
10 # 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
11 # 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
12 # 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
13 # 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
15 add %edi, %eax
17 # ALL: Iterations: 100
18 # ALL-NEXT: Instructions: 100
19 # ALL-NEXT: Total Cycles: 103
20 # ALL-NEXT: Total uOps: 100
22 # BARCELONA: Dispatch Width: 4
23 # BARCELONA-NEXT: uOps Per Cycle: 0.97
24 # BARCELONA-NEXT: IPC: 0.97
25 # BARCELONA-NEXT: Block RThroughput: 0.3
27 # BDVER2: Dispatch Width: 4
28 # BDVER2-NEXT: uOps Per Cycle: 0.97
29 # BDVER2-NEXT: IPC: 0.97
30 # BDVER2-NEXT: Block RThroughput: 1.0
32 # BROADWELL: Dispatch Width: 4
33 # BROADWELL-NEXT: uOps Per Cycle: 0.97
34 # BROADWELL-NEXT: IPC: 0.97
35 # BROADWELL-NEXT: Block RThroughput: 0.3
37 # BTVER2: Dispatch Width: 2
38 # BTVER2-NEXT: uOps Per Cycle: 0.97
39 # BTVER2-NEXT: IPC: 0.97
40 # BTVER2-NEXT: Block RThroughput: 0.5
42 # HASWELL: Dispatch Width: 4
43 # HASWELL-NEXT: uOps Per Cycle: 0.97
44 # HASWELL-NEXT: IPC: 0.97
45 # HASWELL-NEXT: Block RThroughput: 0.3
47 # IVYBRIDGE: Dispatch Width: 4
48 # IVYBRIDGE-NEXT: uOps Per Cycle: 0.97
49 # IVYBRIDGE-NEXT: IPC: 0.97
50 # IVYBRIDGE-NEXT: Block RThroughput: 0.3
52 # KNL: Dispatch Width: 4
53 # KNL-NEXT: uOps Per Cycle: 0.97
54 # KNL-NEXT: IPC: 0.97
55 # KNL-NEXT: Block RThroughput: 0.3
57 # SANDYBRIDGE: Dispatch Width: 4
58 # SANDYBRIDGE-NEXT: uOps Per Cycle: 0.97
59 # SANDYBRIDGE-NEXT: IPC: 0.97
60 # SANDYBRIDGE-NEXT: Block RThroughput: 0.3
62 # SKX: Dispatch Width: 6
63 # SKX-NEXT: uOps Per Cycle: 0.97
64 # SKX-NEXT: IPC: 0.97
65 # SKX-NEXT: Block RThroughput: 0.3
67 # SKX-AVX512: Dispatch Width: 6
68 # SKX-AVX512-NEXT: uOps Per Cycle: 0.97
69 # SKX-AVX512-NEXT: IPC: 0.97
70 # SKX-AVX512-NEXT: Block RThroughput: 0.3
72 # SLM: Dispatch Width: 2
73 # SLM-NEXT: uOps Per Cycle: 0.97
74 # SLM-NEXT: IPC: 0.97
75 # SLM-NEXT: Block RThroughput: 0.5
77 # ZNVER1: Dispatch Width: 4
78 # ZNVER1-NEXT: uOps Per Cycle: 0.97
79 # ZNVER1-NEXT: IPC: 0.97
80 # ZNVER1-NEXT: Block RThroughput: 0.3