[ARM] Adjust how NEON shifts are lowered
[llvm-core.git] / test / tools / llvm-mca / X86 / option-all-stats-2.s
blobc0a953621d2fc4cb713f95097cc902cb548cc3e4
1 # NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
2 # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=btver2 -all-stats -dispatch-stats=false < %s | FileCheck %s -check-prefix=ALL
3 # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=btver2 -all-stats < %s | FileCheck %s -check-prefix=ALL -check-prefix=FULL
4 # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=btver2 -all-stats -dispatch-stats < %s | FileCheck %s -check-prefix=ALL -check-prefix=FULL
5 # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=btver2 -dispatch-stats -all-stats < %s | FileCheck %s -check-prefix=ALL -check-prefix=FULL
6 # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=btver2 -dispatch-stats=false -all-stats < %s | FileCheck %s -check-prefix=ALL -check-prefix=FULL
8 add %eax, %eax
10 # ALL: Iterations: 100
11 # ALL-NEXT: Instructions: 100
12 # ALL-NEXT: Total Cycles: 103
13 # ALL-NEXT: Total uOps: 100
15 # ALL: Dispatch Width: 2
16 # ALL-NEXT: uOps Per Cycle: 0.97
17 # ALL-NEXT: IPC: 0.97
18 # ALL-NEXT: Block RThroughput: 0.5
20 # ALL: Instruction Info:
21 # ALL-NEXT: [1]: #uOps
22 # ALL-NEXT: [2]: Latency
23 # ALL-NEXT: [3]: RThroughput
24 # ALL-NEXT: [4]: MayLoad
25 # ALL-NEXT: [5]: MayStore
26 # ALL-NEXT: [6]: HasSideEffects (U)
28 # ALL: [1] [2] [3] [4] [5] [6] Instructions:
29 # ALL-NEXT: 1 1 0.50 addl %eax, %eax
31 # FULL: Dynamic Dispatch Stall Cycles:
32 # FULL-NEXT: RAT - Register unavailable: 0
33 # FULL-NEXT: RCU - Retire tokens unavailable: 0
34 # FULL-NEXT: SCHEDQ - Scheduler full: 61 (59.2%)
35 # FULL-NEXT: LQ - Load queue full: 0
36 # FULL-NEXT: SQ - Store queue full: 0
37 # FULL-NEXT: GROUP - Static restrictions on the dispatch group: 0
39 # FULL: Dispatch Logic - number of cycles where we saw N micro opcodes dispatched:
40 # FULL-NEXT: [# dispatched], [# cycles]
41 # FULL-NEXT: 0, 22 (21.4%)
42 # FULL-NEXT: 1, 62 (60.2%)
43 # FULL-NEXT: 2, 19 (18.4%)
45 # ALL: Schedulers - number of cycles where we saw N micro opcodes issued:
46 # ALL-NEXT: [# issued], [# cycles]
47 # ALL-NEXT: 0, 3 (2.9%)
48 # ALL-NEXT: 1, 100 (97.1%)
50 # ALL: Scheduler's queue usage:
51 # ALL-NEXT: [1] Resource name.
52 # ALL-NEXT: [2] Average number of used buffer entries.
53 # ALL-NEXT: [3] Maximum number of used buffer entries.
54 # ALL-NEXT: [4] Total number of buffer entries.
56 # ALL: [1] [2] [3] [4]
57 # ALL-NEXT: JALU01 15 20 20
58 # ALL-NEXT: JFPU01 0 0 18
59 # ALL-NEXT: JLSAGU 0 0 12
61 # ALL: Retire Control Unit - number of cycles where we saw N instructions retired:
62 # ALL-NEXT: [# retired], [# cycles]
63 # ALL-NEXT: 0, 3 (2.9%)
64 # ALL-NEXT: 1, 100 (97.1%)
66 # ALL: Total ROB Entries: 64
67 # ALL-NEXT: Max Used ROB Entries: 22 ( 34.4% )
68 # ALL-NEXT: Average Used ROB Entries per cy: 17 ( 26.6% )
70 # ALL: Register File statistics:
71 # ALL-NEXT: Total number of mappings created: 200
72 # ALL-NEXT: Max number of mappings used: 44
74 # ALL: * Register File #1 -- JFpuPRF:
75 # ALL-NEXT: Number of physical registers: 72
76 # ALL-NEXT: Total number of mappings created: 0
77 # ALL-NEXT: Max number of mappings used: 0
79 # ALL: * Register File #2 -- JIntegerPRF:
80 # ALL-NEXT: Number of physical registers: 64
81 # ALL-NEXT: Total number of mappings created: 200
82 # ALL-NEXT: Max number of mappings used: 44
84 # ALL: Resources:
85 # ALL-NEXT: [0] - JALU0
86 # ALL-NEXT: [1] - JALU1
87 # ALL-NEXT: [2] - JDiv
88 # ALL-NEXT: [3] - JFPA
89 # ALL-NEXT: [4] - JFPM
90 # ALL-NEXT: [5] - JFPU0
91 # ALL-NEXT: [6] - JFPU1
92 # ALL-NEXT: [7] - JLAGU
93 # ALL-NEXT: [8] - JMul
94 # ALL-NEXT: [9] - JSAGU
95 # ALL-NEXT: [10] - JSTC
96 # ALL-NEXT: [11] - JVALU0
97 # ALL-NEXT: [12] - JVALU1
98 # ALL-NEXT: [13] - JVIMUL
100 # ALL: Resource pressure per iteration:
101 # ALL-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13]
102 # ALL-NEXT: 0.50 0.50 - - - - - - - - - - - -
104 # ALL: Resource pressure by instruction:
105 # ALL-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] Instructions:
106 # ALL-NEXT: 0.50 0.50 - - - - - - - - - - - - addl %eax, %eax