Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / tools / llvm-mca / X86 / BtVer2 / adc-sequence-readadvance.s
blob4d563adf0cbf614427ab0252ca57de665b9d16d7
1 # NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
2 # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=btver2 -iterations=4 -timeline < %s | FileCheck %s
4 adc 4(%rsp), %eax
6 # CHECK: Iterations: 4
7 # CHECK-NEXT: Instructions: 4
8 # CHECK-NEXT: Total Cycles: 10
9 # CHECK-NEXT: Total uOps: 4
11 # CHECK: Dispatch Width: 2
12 # CHECK-NEXT: uOps Per Cycle: 0.40
13 # CHECK-NEXT: IPC: 0.40
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 4 1.00 * adcl 4(%rsp), %eax
27 # CHECK: Resources:
28 # CHECK-NEXT: [0] - JALU0
29 # CHECK-NEXT: [1] - JALU1
30 # CHECK-NEXT: [2] - JDiv
31 # CHECK-NEXT: [3] - JFPA
32 # CHECK-NEXT: [4] - JFPM
33 # CHECK-NEXT: [5] - JFPU0
34 # CHECK-NEXT: [6] - JFPU1
35 # CHECK-NEXT: [7] - JLAGU
36 # CHECK-NEXT: [8] - JMul
37 # CHECK-NEXT: [9] - JSAGU
38 # CHECK-NEXT: [10] - JSTC
39 # CHECK-NEXT: [11] - JVALU0
40 # CHECK-NEXT: [12] - JVALU1
41 # CHECK-NEXT: [13] - JVIMUL
43 # CHECK: Resource pressure per iteration:
44 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13]
45 # CHECK-NEXT: 1.00 1.00 - - - - - 1.00 - - - - - -
47 # CHECK: Resource pressure by instruction:
48 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] Instructions:
49 # CHECK-NEXT: 1.00 1.00 - - - - - 1.00 - - - - - - adcl 4(%rsp), %eax
51 # CHECK: Timeline view:
52 # CHECK-NEXT: Index 0123456789
54 # CHECK: [0,0] DeeeeER . adcl 4(%rsp), %eax
55 # CHECK-NEXT: [1,0] D=eeeeER . adcl 4(%rsp), %eax
56 # CHECK-NEXT: [2,0] .D=eeeeER. adcl 4(%rsp), %eax
57 # CHECK-NEXT: [3,0] .D==eeeeER adcl 4(%rsp), %eax
59 # CHECK: Average Wait times (based on the timeline view):
60 # CHECK-NEXT: [0]: Executions
61 # CHECK-NEXT: [1]: Average time spent waiting in a scheduler's queue
62 # CHECK-NEXT: [2]: Average time spent waiting in a scheduler's queue while ready
63 # CHECK-NEXT: [3]: Average time elapsed from WB until retire stage
65 # CHECK: [0] [1] [2] [3]
66 # CHECK-NEXT: 0. 4 2.0 0.3 0.0 adcl 4(%rsp), %eax