Recommit "rL366894: [yaml2obj] - Allow custom fields for the SHT_UNDEF sections."
[llvm-complete.git] / test / tools / llvm-mca / X86 / BdVer2 / simple-test.s
blob4a3412f43d70c7ed3da1bb33fb17e855660c3a67
1 # NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
2 # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=bdver2 -iterations=100 < %s | FileCheck %s
4 add %edi, %eax
6 # CHECK: Iterations: 100
7 # CHECK-NEXT: Instructions: 100
8 # CHECK-NEXT: Total Cycles: 103
9 # CHECK-NEXT: Total uOps: 100
11 # CHECK: Dispatch Width: 4
12 # CHECK-NEXT: uOps Per Cycle: 0.97
13 # CHECK-NEXT: IPC: 0.97
14 # CHECK-NEXT: Block RThroughput: 1.0
16 # CHECK: Instruction Info:
17 # CHECK-NEXT: [1]: #uOps
18 # CHECK-NEXT: [2]: Latency
19 # CHECK-NEXT: [3]: RThroughput
20 # CHECK-NEXT: [4]: MayLoad
21 # CHECK-NEXT: [5]: MayStore
22 # CHECK-NEXT: [6]: HasSideEffects (U)
24 # CHECK: [1] [2] [3] [4] [5] [6] Instructions:
25 # CHECK-NEXT: 1 1 1.00 addl %edi, %eax
27 # CHECK: Resources:
28 # CHECK-NEXT: [0.0] - PdAGLU01
29 # CHECK-NEXT: [0.1] - PdAGLU01
30 # CHECK-NEXT: [1] - PdBranch
31 # CHECK-NEXT: [2] - PdCount
32 # CHECK-NEXT: [3] - PdDiv
33 # CHECK-NEXT: [4] - PdEX0
34 # CHECK-NEXT: [5] - PdEX1
35 # CHECK-NEXT: [6] - PdFPCVT
36 # CHECK-NEXT: [7.0] - PdFPFMA
37 # CHECK-NEXT: [7.1] - PdFPFMA
38 # CHECK-NEXT: [8.0] - PdFPMAL
39 # CHECK-NEXT: [8.1] - PdFPMAL
40 # CHECK-NEXT: [9] - PdFPMMA
41 # CHECK-NEXT: [10] - PdFPSTO
42 # CHECK-NEXT: [11] - PdFPU0
43 # CHECK-NEXT: [12] - PdFPU1
44 # CHECK-NEXT: [13] - PdFPU2
45 # CHECK-NEXT: [14] - PdFPU3
46 # CHECK-NEXT: [15] - PdFPXBR
47 # CHECK-NEXT: [16.0] - PdLoad
48 # CHECK-NEXT: [16.1] - PdLoad
49 # CHECK-NEXT: [17] - PdMul
50 # CHECK-NEXT: [18] - PdStore
52 # CHECK: Resource pressure per iteration:
53 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18]
54 # CHECK-NEXT: - - - - - 1.00 1.00 - - - - - - - - - - - - - - - -
56 # CHECK: Resource pressure by instruction:
57 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18] Instructions:
58 # CHECK-NEXT: - - - - - 1.00 1.00 - - - - - - - - - - - - - - - - addl %edi, %eax