Recommit "rL366894: [yaml2obj] - Allow custom fields for the SHT_UNDEF sections."
[llvm-complete.git] / test / tools / llvm-mca / X86 / BdVer2 / resources-x86_32.s
blob7bf65268f717973406bb2288c663f7061b169291
1 # NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
2 # RUN: llvm-mca -mtriple=i686-unknown-unknown -mcpu=bdver2 -instruction-tables < %s | FileCheck %s
4 aaa
6 aad
7 aad $7
9 aam
10 aam $7
12 aas
14 bound %bx, (%eax)
15 bound %ebx, (%eax)
17 daa
19 das
21 into
23 leave
25 salc
27 # CHECK: Instruction Info:
28 # CHECK-NEXT: [1]: #uOps
29 # CHECK-NEXT: [2]: Latency
30 # CHECK-NEXT: [3]: RThroughput
31 # CHECK-NEXT: [4]: MayLoad
32 # CHECK-NEXT: [5]: MayStore
33 # CHECK-NEXT: [6]: HasSideEffects (U)
35 # CHECK: [1] [2] [3] [4] [5] [6] Instructions:
36 # CHECK-NEXT: 1 100 0.50 aaa
37 # CHECK-NEXT: 1 100 0.50 aad
38 # CHECK-NEXT: 1 100 0.50 aad $7
39 # CHECK-NEXT: 1 100 0.50 aam
40 # CHECK-NEXT: 1 100 0.50 aam $7
41 # CHECK-NEXT: 1 100 0.50 aas
42 # CHECK-NEXT: 1 100 0.50 U bound %bx, (%eax)
43 # CHECK-NEXT: 1 100 0.50 U bound %ebx, (%eax)
44 # CHECK-NEXT: 1 100 0.50 daa
45 # CHECK-NEXT: 1 100 0.50 das
46 # CHECK-NEXT: 1 100 0.50 U into
47 # CHECK-NEXT: 1 1 1.00 * leave
48 # CHECK-NEXT: 1 1 1.00 U salc
50 # CHECK: Resources:
51 # CHECK-NEXT: [0.0] - PdAGLU01
52 # CHECK-NEXT: [0.1] - PdAGLU01
53 # CHECK-NEXT: [1] - PdBranch
54 # CHECK-NEXT: [2] - PdCount
55 # CHECK-NEXT: [3] - PdDiv
56 # CHECK-NEXT: [4] - PdEX0
57 # CHECK-NEXT: [5] - PdEX1
58 # CHECK-NEXT: [6] - PdFPCVT
59 # CHECK-NEXT: [7.0] - PdFPFMA
60 # CHECK-NEXT: [7.1] - PdFPFMA
61 # CHECK-NEXT: [8.0] - PdFPMAL
62 # CHECK-NEXT: [8.1] - PdFPMAL
63 # CHECK-NEXT: [9] - PdFPMMA
64 # CHECK-NEXT: [10] - PdFPSTO
65 # CHECK-NEXT: [11] - PdFPU0
66 # CHECK-NEXT: [12] - PdFPU1
67 # CHECK-NEXT: [13] - PdFPU2
68 # CHECK-NEXT: [14] - PdFPU3
69 # CHECK-NEXT: [15] - PdFPXBR
70 # CHECK-NEXT: [16.0] - PdLoad
71 # CHECK-NEXT: [16.1] - PdLoad
72 # CHECK-NEXT: [17] - PdMul
73 # CHECK-NEXT: [18] - PdStore
75 # CHECK: Resource pressure per iteration:
76 # 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]
77 # CHECK-NEXT: - - - - - 7.50 7.50 - - - - - - - - - - - - - - - -
79 # CHECK: Resource pressure by instruction:
80 # 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:
81 # CHECK-NEXT: - - - - - 0.50 0.50 - - - - - - - - - - - - - - - - aaa
82 # CHECK-NEXT: - - - - - 0.50 0.50 - - - - - - - - - - - - - - - - aad
83 # CHECK-NEXT: - - - - - 0.50 0.50 - - - - - - - - - - - - - - - - aad $7
84 # CHECK-NEXT: - - - - - 0.50 0.50 - - - - - - - - - - - - - - - - aam
85 # CHECK-NEXT: - - - - - 0.50 0.50 - - - - - - - - - - - - - - - - aam $7
86 # CHECK-NEXT: - - - - - 0.50 0.50 - - - - - - - - - - - - - - - - aas
87 # CHECK-NEXT: - - - - - 0.50 0.50 - - - - - - - - - - - - - - - - bound %bx, (%eax)
88 # CHECK-NEXT: - - - - - 0.50 0.50 - - - - - - - - - - - - - - - - bound %ebx, (%eax)
89 # CHECK-NEXT: - - - - - 0.50 0.50 - - - - - - - - - - - - - - - - daa
90 # CHECK-NEXT: - - - - - 0.50 0.50 - - - - - - - - - - - - - - - - das
91 # CHECK-NEXT: - - - - - 0.50 0.50 - - - - - - - - - - - - - - - - into
92 # CHECK-NEXT: - - - - - 1.00 1.00 - - - - - - - - - - - - - - - - leave
93 # CHECK-NEXT: - - - - - 1.00 1.00 - - - - - - - - - - - - - - - - salc