• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
2# RUN: llvm-mca -mtriple=s390x-linux-gnu -mcpu=z14 -timeline -timeline-max-iterations=3 < %s | FileCheck %s
3
4stmg	%r6, %r15, 48(%r15)
5lmg	%r6, %r15, 48(%r15)
6
7# CHECK:      Iterations:        100
8# CHECK-NEXT: Instructions:      200
9# CHECK-NEXT: Total Cycles:      1004
10# CHECK-NEXT: Total uOps:        600
11
12# CHECK:      Dispatch Width:    6
13# CHECK-NEXT: uOps Per Cycle:    0.60
14# CHECK-NEXT: IPC:               0.20
15# CHECK-NEXT: Block RThroughput: 3.5
16
17# CHECK:      Instruction Info:
18# CHECK-NEXT: [1]: #uOps
19# CHECK-NEXT: [2]: Latency
20# CHECK-NEXT: [3]: RThroughput
21# CHECK-NEXT: [4]: MayLoad
22# CHECK-NEXT: [5]: MayStore
23# CHECK-NEXT: [6]: HasSideEffects (U)
24
25# CHECK:      [1]    [2]    [3]    [4]    [5]    [6]    Instructions:
26# CHECK-NEXT:  3      1     1.50           *            stmg	%r6, %r15, 48(%r15)
27# CHECK-NEXT:  3      10    2.50    *                   lmg	%r6, %r15, 48(%r15)
28
29# CHECK:      Resources:
30# CHECK-NEXT: [0.0] - Z14_FXaUnit
31# CHECK-NEXT: [0.1] - Z14_FXaUnit
32# CHECK-NEXT: [1.0] - Z14_FXbUnit
33# CHECK-NEXT: [1.1] - Z14_FXbUnit
34# CHECK-NEXT: [2.0] - Z14_LSUnit
35# CHECK-NEXT: [2.1] - Z14_LSUnit
36# CHECK-NEXT: [3]   - Z14_MCD
37# CHECK-NEXT: [4.0] - Z14_VBUnit
38# CHECK-NEXT: [4.1] - Z14_VBUnit
39# CHECK-NEXT: [5.0] - Z14_VecFPdUnit
40# CHECK-NEXT: [5.1] - Z14_VecFPdUnit
41# CHECK-NEXT: [6.0] - Z14_VecUnit
42# CHECK-NEXT: [6.1] - Z14_VecUnit
43
44# CHECK:      Resource pressure per iteration:
45# CHECK-NEXT: [0.0]  [0.1]  [1.0]  [1.1]  [2.0]  [2.1]  [3]    [4.0]  [4.1]  [5.0]  [5.1]  [6.0]  [6.1]
46# CHECK-NEXT:  -      -     1.50   1.50   2.06   4.94    -      -      -      -      -      -      -
47
48# CHECK:      Resource pressure by instruction:
49# CHECK-NEXT: [0.0]  [0.1]  [1.0]  [1.1]  [2.0]  [2.1]  [3]    [4.0]  [4.1]  [5.0]  [5.1]  [6.0]  [6.1]  Instructions:
50# CHECK-NEXT:  -      -     1.50   1.50   1.96   0.04    -      -      -      -      -      -      -     stmg	%r6, %r15, 48(%r15)
51# CHECK-NEXT:  -      -      -      -     0.10   4.90    -      -      -      -      -      -      -     lmg	%r6, %r15, 48(%r15)
52
53# CHECK:      Timeline view:
54# CHECK-NEXT:                     0123456789          0123
55# CHECK-NEXT: Index     0123456789          0123456789
56
57# CHECK:      [0,0]     DeER .    .    .    .    .    .  .   stmg	%r6, %r15, 48(%r15)
58# CHECK-NEXT: [0,1]     .DeeeeeeeeeeER .    .    .    .  .   lmg	%r6, %r15, 48(%r15)
59# CHECK-NEXT: [1,0]     . D=========eER.    .    .    .  .   stmg	%r6, %r15, 48(%r15)
60# CHECK-NEXT: [1,1]     .  D========eeeeeeeeeeER .    .  .   lmg	%r6, %r15, 48(%r15)
61# CHECK-NEXT: [2,0]     .   D=================eER.    .  .   stmg	%r6, %r15, 48(%r15)
62# CHECK-NEXT: [2,1]     .    D================eeeeeeeeeeER   lmg	%r6, %r15, 48(%r15)
63
64# CHECK:      Average Wait times (based on the timeline view):
65# CHECK-NEXT: [0]: Executions
66# CHECK-NEXT: [1]: Average time spent waiting in a scheduler's queue
67# CHECK-NEXT: [2]: Average time spent waiting in a scheduler's queue while ready
68# CHECK-NEXT: [3]: Average time elapsed from WB until retire stage
69
70# CHECK:            [0]    [1]    [2]    [3]
71# CHECK-NEXT: 0.     3     9.7    0.3    0.0       stmg	%r6, %r15, 48(%r15)
72# CHECK-NEXT: 1.     3     9.0    0.3    0.0       lmg	%r6, %r15, 48(%r15)
73# CHECK-NEXT:        3     9.3    0.3    0.0       <total>
74