Recommit "rL366894: [yaml2obj] - Allow custom fields for the SHT_UNDEF sections."
[llvm-complete.git] / test / tools / llvm-mca / X86 / SandyBridge / resources-x86_32.s
blob4441391fd9bbb269ad7d73a3bb834bec77f8f4f4
1 # NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
2 # RUN: llvm-mca -mtriple=i686-unknown-unknown -mcpu=sandybridge -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.33 aaa
37 # CHECK-NEXT: 1 100 0.33 aad
38 # CHECK-NEXT: 1 100 0.33 aad $7
39 # CHECK-NEXT: 1 100 0.33 aam
40 # CHECK-NEXT: 1 100 0.33 aam $7
41 # CHECK-NEXT: 1 100 0.33 aas
42 # CHECK-NEXT: 1 100 0.33 U bound %bx, (%eax)
43 # CHECK-NEXT: 1 100 0.33 U bound %ebx, (%eax)
44 # CHECK-NEXT: 1 100 0.33 daa
45 # CHECK-NEXT: 1 100 0.33 das
46 # CHECK-NEXT: 1 100 0.33 U into
47 # CHECK-NEXT: 3 7 0.67 * leave
48 # CHECK-NEXT: 1 1 0.33 U salc
50 # CHECK: Resources:
51 # CHECK-NEXT: [0] - SBDivider
52 # CHECK-NEXT: [1] - SBFPDivider
53 # CHECK-NEXT: [2] - SBPort0
54 # CHECK-NEXT: [3] - SBPort1
55 # CHECK-NEXT: [4] - SBPort4
56 # CHECK-NEXT: [5] - SBPort5
57 # CHECK-NEXT: [6.0] - SBPort23
58 # CHECK-NEXT: [6.1] - SBPort23
60 # CHECK: Resource pressure per iteration:
61 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6.0] [6.1]
62 # CHECK-NEXT: - - 4.67 4.67 - 4.67 0.50 0.50
64 # CHECK: Resource pressure by instruction:
65 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6.0] [6.1] Instructions:
66 # CHECK-NEXT: - - 0.33 0.33 - 0.33 - - aaa
67 # CHECK-NEXT: - - 0.33 0.33 - 0.33 - - aad
68 # CHECK-NEXT: - - 0.33 0.33 - 0.33 - - aad $7
69 # CHECK-NEXT: - - 0.33 0.33 - 0.33 - - aam
70 # CHECK-NEXT: - - 0.33 0.33 - 0.33 - - aam $7
71 # CHECK-NEXT: - - 0.33 0.33 - 0.33 - - aas
72 # CHECK-NEXT: - - 0.33 0.33 - 0.33 - - bound %bx, (%eax)
73 # CHECK-NEXT: - - 0.33 0.33 - 0.33 - - bound %ebx, (%eax)
74 # CHECK-NEXT: - - 0.33 0.33 - 0.33 - - daa
75 # CHECK-NEXT: - - 0.33 0.33 - 0.33 - - das
76 # CHECK-NEXT: - - 0.33 0.33 - 0.33 - - into
77 # CHECK-NEXT: - - 0.67 0.67 - 0.67 0.50 0.50 leave
78 # CHECK-NEXT: - - 0.33 0.33 - 0.33 - - salc