1 # NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
2 # RUN: llvm-mca -mtriple=riscv64 -mcpu=sifive-x280 -timeline -iterations=1 < %s | FileCheck %s
5 vsetvli zero
, a0
, e8
, m1
, tu
, mu
9 # CHECK-NEXT: Instructions: 3
10 # CHECK-NEXT: Total Cycles: 22
11 # CHECK-NEXT: Total uOps: 3
13 # CHECK: Dispatch Width: 2
14 # CHECK-NEXT: uOps Per Cycle: 0.14
15 # CHECK-NEXT: IPC: 0.14
16 # CHECK-NEXT: Block RThroughput: 20.0
18 # CHECK: Instruction Info:
19 # CHECK-NEXT: [1]: #uOps
20 # CHECK-NEXT: [2]: Latency
21 # CHECK-NEXT: [3]: RThroughput
22 # CHECK-NEXT: [4]: MayLoad
23 # CHECK-NEXT: [5]: MayStore
24 # CHECK-NEXT: [6]: HasSideEffects (U)
26 # CHECK: [1] [2] [3] [4] [5] [6] Instructions:
27 # CHECK-NEXT: 1 4 17.00 vadd.vv v12, v12, v12
28 # CHECK-NEXT: 1 3 1.00 U vsetvli zero, a0, e8, m1, tu, mu
29 # CHECK-NEXT: 1 4 3.00 vadd.vv v12, v12, v12
32 # CHECK-NEXT: [0] - SiFive7FDiv
33 # CHECK-NEXT: [1] - SiFive7IDiv
34 # CHECK-NEXT: [2] - SiFive7PipeA
35 # CHECK-NEXT: [3] - SiFive7PipeB
36 # CHECK-NEXT: [4] - SiFive7VA
37 # CHECK-NEXT: [5] - SiFive7VCQ
38 # CHECK-NEXT: [6] - SiFive7VL
39 # CHECK-NEXT: [7] - SiFive7VS
41 # CHECK: Resource pressure per iteration:
42 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7]
43 # CHECK-NEXT: - - 1.00 - 20.00 2.00 - -
45 # CHECK: Resource pressure by instruction:
46 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] Instructions:
47 # CHECK-NEXT: - - - - 17.00 1.00 - - vadd.vv v12, v12, v12
48 # CHECK-NEXT: - - 1.00 - - - - - vsetvli zero, a0, e8, m1, tu, mu
49 # CHECK-NEXT: - - - - 3.00 1.00 - - vadd.vv v12, v12, v12
51 # CHECK: Timeline view:
52 # CHECK-NEXT: 0123456789
53 # CHECK-NEXT: Index 0123456789 01
55 # CHECK: [0,0] DeeeE. . . .. vadd.vv v12, v12, v12
56 # CHECK-NEXT: [0,1] .DeeE. . . .. vsetvli zero, a0, e8, m1, tu, mu
57 # CHECK-NEXT: [0,2] . . . . DeeeE vadd.vv v12, v12, v12
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. 1 0.0 0.0 0.0 vadd.vv v12, v12, v12
67 # CHECK-NEXT: 1. 1 0.0 0.0 0.0 vsetvli zero, a0, e8, m1, tu, mu
68 # CHECK-NEXT: 2. 1 0.0 0.0 0.0 vadd.vv v12, v12, v12
69 # CHECK-NEXT: 1 0.0 0.0 0.0 <total>