Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / tools / llvm-mca / X86 / SapphireRapids / resources-x86_32.s
blob195908c756b843d12e9eb69f8405be1d8807817e
1 # NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
2 # RUN: llvm-mca -mtriple=i686-unknown-unknown -mcpu=sapphirerapids -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.25 aaa
37 # CHECK-NEXT: 1 100 0.25 aad
38 # CHECK-NEXT: 1 100 0.25 aad $7
39 # CHECK-NEXT: 1 100 0.25 aam
40 # CHECK-NEXT: 1 100 0.25 aam $7
41 # CHECK-NEXT: 1 100 0.25 aas
42 # CHECK-NEXT: 1 100 0.25 U bound %bx, (%eax)
43 # CHECK-NEXT: 1 100 0.25 U bound %ebx, (%eax)
44 # CHECK-NEXT: 1 100 0.25 daa
45 # CHECK-NEXT: 1 100 0.25 das
46 # CHECK-NEXT: 1 100 0.25 U into
47 # CHECK-NEXT: 4 6 0.60 * leave
48 # CHECK-NEXT: 1 1 0.25 U salc
50 # CHECK: Resources:
51 # CHECK-NEXT: [0] - SPRPort00
52 # CHECK-NEXT: [1] - SPRPort01
53 # CHECK-NEXT: [2] - SPRPort02
54 # CHECK-NEXT: [3] - SPRPort03
55 # CHECK-NEXT: [4] - SPRPort04
56 # CHECK-NEXT: [5] - SPRPort05
57 # CHECK-NEXT: [6] - SPRPort06
58 # CHECK-NEXT: [7] - SPRPort07
59 # CHECK-NEXT: [8] - SPRPort08
60 # CHECK-NEXT: [9] - SPRPort09
61 # CHECK-NEXT: [10] - SPRPort10
62 # CHECK-NEXT: [11] - SPRPort11
63 # CHECK-NEXT: [12] - SPRPortInvalid
65 # CHECK: Resource pressure per iteration:
66 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12]
67 # CHECK-NEXT: 3.60 3.60 0.33 0.33 - 3.60 3.60 - - - 0.60 0.33 -
69 # CHECK: Resource pressure by instruction:
70 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] Instructions:
71 # CHECK-NEXT: 0.25 0.25 - - - 0.25 0.25 - - - - - - aaa
72 # CHECK-NEXT: 0.25 0.25 - - - 0.25 0.25 - - - - - - aad
73 # CHECK-NEXT: 0.25 0.25 - - - 0.25 0.25 - - - - - - aad $7
74 # CHECK-NEXT: 0.25 0.25 - - - 0.25 0.25 - - - - - - aam
75 # CHECK-NEXT: 0.25 0.25 - - - 0.25 0.25 - - - - - - aam $7
76 # CHECK-NEXT: 0.25 0.25 - - - 0.25 0.25 - - - - - - aas
77 # CHECK-NEXT: 0.25 0.25 - - - 0.25 0.25 - - - - - - bound %bx, (%eax)
78 # CHECK-NEXT: 0.25 0.25 - - - 0.25 0.25 - - - - - - bound %ebx, (%eax)
79 # CHECK-NEXT: 0.25 0.25 - - - 0.25 0.25 - - - - - - daa
80 # CHECK-NEXT: 0.25 0.25 - - - 0.25 0.25 - - - - - - das
81 # CHECK-NEXT: 0.25 0.25 - - - 0.25 0.25 - - - - - - into
82 # CHECK-NEXT: 0.60 0.60 0.33 0.33 - 0.60 0.60 - - - 0.60 0.33 - leave
83 # CHECK-NEXT: 0.25 0.25 - - - 0.25 0.25 - - - - - - salc