Recommit "rL366894: [yaml2obj] - Allow custom fields for the SHT_UNDEF sections."
[llvm-complete.git] / test / tools / llvm-mca / X86 / Atom / resources-x86_32.s
blobf913a2f3082f579c7e185d45b8ea3ca4ced7ccca
1 # NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
2 # RUN: llvm-mca -mtriple=i686-unknown-unknown -mcpu=atom -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 13 6.50 aaa
37 # CHECK-NEXT: 1 7 3.50 aad
38 # CHECK-NEXT: 1 7 3.50 aad $7
39 # CHECK-NEXT: 1 21 10.50 aam
40 # CHECK-NEXT: 1 21 10.50 aam $7
41 # CHECK-NEXT: 1 13 6.50 aas
42 # CHECK-NEXT: 1 11 5.50 U bound %bx, (%eax)
43 # CHECK-NEXT: 1 11 5.50 U bound %ebx, (%eax)
44 # CHECK-NEXT: 1 18 9.00 daa
45 # CHECK-NEXT: 1 20 10.00 das
46 # CHECK-NEXT: 1 6 3.00 U into
47 # CHECK-NEXT: 1 2 1.00 * leave
48 # CHECK-NEXT: 1 1 0.50 U salc
50 # CHECK: Resources:
51 # CHECK-NEXT: [0] - AtomPort0
52 # CHECK-NEXT: [1] - AtomPort1
54 # CHECK: Resource pressure per iteration:
55 # CHECK-NEXT: [0] [1]
56 # CHECK-NEXT: 75.50 75.50
58 # CHECK: Resource pressure by instruction:
59 # CHECK-NEXT: [0] [1] Instructions:
60 # CHECK-NEXT: 6.50 6.50 aaa
61 # CHECK-NEXT: 3.50 3.50 aad
62 # CHECK-NEXT: 3.50 3.50 aad $7
63 # CHECK-NEXT: 10.50 10.50 aam
64 # CHECK-NEXT: 10.50 10.50 aam $7
65 # CHECK-NEXT: 6.50 6.50 aas
66 # CHECK-NEXT: 5.50 5.50 bound %bx, (%eax)
67 # CHECK-NEXT: 5.50 5.50 bound %ebx, (%eax)
68 # CHECK-NEXT: 9.00 9.00 daa
69 # CHECK-NEXT: 10.00 10.00 das
70 # CHECK-NEXT: 3.00 3.00 into
71 # CHECK-NEXT: 1.00 1.00 leave
72 # CHECK-NEXT: 0.50 0.50 salc