llvm.org GIT mirror llvm / 736b8af
[llvm-mca] Correctly update the resource strategy for processor resources with multiple units. When looking at the tests committed by Roman at r346587, I noticed that numbers reported by the resource pressure for PdAGU01 were wrong. In particular, according to the aut-generated CHECK lines in tests memcpy-like-test.s and store-throughput.s, resource pressure for PdAGU01 was not uniformly distributed among the two AGEN pipes. It turns out that the reason why pressure was not correctly distributed, was because the "resource selection strategy" object associated with PdAGU01 was not correctly updated on the event of AGEN pipe used. As a result, llvm-mca was not simulating a round-robin pipeline allocation for PdAGU01. Instead, PdAGU1 was always prioritized over PdAGU0. This patch fixes the issue; now processor resource strategy objects for resources declaring multiple units, are correctly notified in the event of "resource used". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@346650 91177308-0d34-0410-b5e6-96231b3b80d8 Andrea Di Biagio 10 months ago
22 changed file(s) with 132 addition(s) and 126 deletion(s). Raw diff Collapse all Expand all
6666
6767 # CHECK: Resource pressure by instruction:
6868 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18] Instructions:
69 # CHECK-NEXT: - - - - - - - - - - - 1.00 - - 1.00 - - - - - - - - vpcmpeqb %xmm0, %xmm0, %xmm1
70 # CHECK-NEXT: - - - - - - - - - - 1.00 - - - - 1.00 - - - - - - - vpcmpeqw %xmm1, %xmm1, %xmm2
69 # CHECK-NEXT: - - - - - - - - - - 1.00 - - - 1.00 - - - - - - - - vpcmpeqb %xmm0, %xmm0, %xmm1
70 # CHECK-NEXT: - - - - - - - - - - - 1.00 - - - 1.00 - - - - - - - vpcmpeqw %xmm1, %xmm1, %xmm2
7171 # CHECK-NEXT: - - - - - - - - - - 1.00 - - - 1.00 - - - - - - - - vpcmpeqd %xmm2, %xmm2, %xmm3
7272 # CHECK-NEXT: - - - - - - - - - - - 1.00 - - - 1.00 - - - - - - - vpcmpeqq %xmm3, %xmm3, %xmm0
7373
6363
6464 # CHECK: Resource pressure per iteration:
6565 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18]
66 # CHECK-NEXT: - - - - - - - - - - - 1.00 - - 0.50 0.50 - - - - - - -
66 # CHECK-NEXT: - - - - - - - - - - 0.50 0.50 - - 0.50 0.50 - - - - - - -
6767
6868 # CHECK: Resource pressure by instruction:
6969 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18] Instructions:
7070 # CHECK-NEXT: - - - - - - - - - - - - - - - - - - - - - - - vpcmpgtb %xmm0, %xmm0, %xmm1
7171 # CHECK-NEXT: - - - - - - - - - - - - - - - - - - - - - - - vpcmpgtw %xmm1, %xmm1, %xmm2
7272 # CHECK-NEXT: - - - - - - - - - - - - - - - - - - - - - - - vpcmpgtd %xmm2, %xmm2, %xmm3
73 # CHECK-NEXT: - - - - - - - - - - - 1.00 - - 0.50 0.50 - - - - - - - vpcmpgtq %xmm3, %xmm3, %xmm0
73 # CHECK-NEXT: - - - - - - - - - - 0.50 0.50 - - 0.50 0.50 - - - - - - - vpcmpgtq %xmm3, %xmm3, %xmm0
7474
7575 # CHECK: Timeline view:
7676 # CHECK-NEXT: Index 0123456
5454
5555 # CHECK: Resource pressure per iteration:
5656 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18]
57 # CHECK-NEXT: - - - - - - - - - - - 2.00 1.00 - 1.50 1.50 - - - - - - -
57 # CHECK-NEXT: - - - - - - - - - - 1.00 1.00 1.00 - 1.50 1.50 - - - - - - -
5858
5959 # CHECK: Resource pressure by instruction:
6060 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18] Instructions:
6161 # CHECK-NEXT: - - - - - - - - - - - - 1.00 - 1.00 - - - - - - - - vpmuldq %xmm0, %xmm0, %xmm1
6262 # CHECK-NEXT: - - - - - - - - - - - 1.00 - - 0.50 0.50 - - - - - - - vpaddd %xmm1, %xmm1, %xmm0
63 # CHECK-NEXT: - - - - - - - - - - - 1.00 - - - 1.00 - - - - - - - vpaddd %xmm0, %xmm0, %xmm3
63 # CHECK-NEXT: - - - - - - - - - - 1.00 - - - - 1.00 - - - - - - - vpaddd %xmm0, %xmm0, %xmm3
6464
6565 # CHECK: Timeline view:
6666 # CHECK-NEXT: 0123456789 0123456789 0123456789
5454
5555 # CHECK: Resource pressure per iteration:
5656 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18]
57 # CHECK-NEXT: - - - - - - - - 1.49 1.51 - - - - 2.00 1.00 - - - - - - -
57 # CHECK-NEXT: - - - - - - - - 1.50 1.50 - - - - 2.00 1.00 - - - - - - -
5858
5959 # CHECK: Resource pressure by instruction:
6060 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18] Instructions:
61 # CHECK-NEXT: - - - - - - - - 0.50 0.50 - - - - - 1.00 - - - - - - - vmulps %xmm0, %xmm1, %xmm2
62 # CHECK-NEXT: - - - - - - - - 0.50 0.50 - - - - 1.00 - - - - - - - - vhaddps %xmm2, %xmm2, %xmm3
63 # CHECK-NEXT: - - - - - - - - 0.49 0.51 - - - - 1.00 - - - - - - - - vhaddps %xmm3, %xmm3, %xmm4
61 # CHECK-NEXT: - - - - - - - - 0.49 0.51 - - - - - 1.00 - - - - - - - vmulps %xmm0, %xmm1, %xmm2
62 # CHECK-NEXT: - - - - - - - - 0.51 0.49 - - - - 1.00 - - - - - - - - vhaddps %xmm2, %xmm2, %xmm3
63 # CHECK-NEXT: - - - - - - - - 0.50 0.50 - - - - 1.00 - - - - - - - - vhaddps %xmm3, %xmm3, %xmm4
6464
6565 # CHECK: Timeline view:
6666 # CHECK-NEXT: 0123456789 012
6464
6565 # CHECK: Resource pressure per iteration:
6666 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18]
67 # CHECK-NEXT: - 8.00 - - - - - - - 4.00 - - - 4.00 3.99 4.01 - - - - 4.00 - 4.00
67 # CHECK-NEXT: 4.00 4.00 - - - - - - 2.00 2.00 - - - 4.00 3.99 4.01 - - - 2.00 2.00 - 4.00
6868
6969 # CHECK: Resource pressure by instruction:
7070 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18] Instructions:
7171 # CHECK-NEXT: - 1.00 - - - - - - - 1.00 - - - - 0.99 0.01 - - - - 1.00 - - vmovaps (%rsi), %xmm0
72 # CHECK-NEXT: - 1.00 - - - - - - - - - - - 1.00 - 1.00 - - - - - - 1.00 vmovaps %xmm0, (%rdi)
73 # CHECK-NEXT: - 1.00 - - - - - - - 1.00 - - - - 1.00 - - - - - 1.00 - - vmovaps 16(%rsi), %xmm0
74 # CHECK-NEXT: - 1.00 - - - - - - - - - - - 1.00 - 1.00 - - - - - - 1.00 vmovaps %xmm0, 16(%rdi)
72 # CHECK-NEXT: 1.00 - - - - - - - - - - - - 1.00 - 1.00 - - - - - - 1.00 vmovaps %xmm0, (%rdi)
73 # CHECK-NEXT: - 1.00 - - - - - - 1.00 - - - - - 1.00 - - - - 1.00 - - - vmovaps 16(%rsi), %xmm0
74 # CHECK-NEXT: 1.00 - - - - - - - - - - - - 1.00 - 1.00 - - - - - - 1.00 vmovaps %xmm0, 16(%rdi)
7575 # CHECK-NEXT: - 1.00 - - - - - - - 1.00 - - - - 1.00 - - - - - 1.00 - - vmovaps 32(%rsi), %xmm0
76 # CHECK-NEXT: - 1.00 - - - - - - - - - - - 1.00 - 1.00 - - - - - - 1.00 vmovaps %xmm0, 32(%rdi)
77 # CHECK-NEXT: - 1.00 - - - - - - - 1.00 - - - - 1.00 - - - - - 1.00 - - vmovaps 48(%rsi), %xmm0
78 # CHECK-NEXT: - 1.00 - - - - - - - - - - - 1.00 - 1.00 - - - - - - 1.00 vmovaps %xmm0, 48(%rdi)
76 # CHECK-NEXT: 1.00 - - - - - - - - - - - - 1.00 - 1.00 - - - - - - 1.00 vmovaps %xmm0, 32(%rdi)
77 # CHECK-NEXT: - 1.00 - - - - - - 1.00 - - - - - 1.00 - - - - 1.00 - - - vmovaps 48(%rsi), %xmm0
78 # CHECK-NEXT: 1.00 - - - - - - - - - - - - 1.00 - 1.00 - - - - - - 1.00 vmovaps %xmm0, 48(%rdi)
7979
8080 # CHECK: Timeline view:
8181 # CHECK-NEXT: 0123456789
125125 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18] Instructions:
126126 # CHECK-NEXT: - 1.00 - - - - - - - - - - - - - - - - - - 1.00 - - movb (%rax), %spl
127127 # CHECK-NEXT: 1.00 - - - - - - - - - - - - - - - - - - 1.00 - - - movb (%rcx), %bpl
128 # CHECK-NEXT: 1.00 - - - - - - - - - - - - - - - - - - 1.00 - - - movb (%rdx), %sil
129 # CHECK-NEXT: - 1.00 - - - - - - - - - - - - - - - - - - 1.00 - - movb (%rbx), %dil
128 # CHECK-NEXT: - 1.00 - - - - - - - - - - - - - - - - - - 1.00 - - movb (%rdx), %sil
129 # CHECK-NEXT: 1.00 - - - - - - - - - - - - - - - - - - 1.00 - - - movb (%rbx), %dil
130130
131131 # CHECK: Timeline view:
132132 # CHECK-NEXT: Index 012345678
224224 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18] Instructions:
225225 # CHECK-NEXT: - 1.00 - - - - - - - - - - - - - - - - - - 1.00 - - movw (%rax), %sp
226226 # CHECK-NEXT: 1.00 - - - - - - - - - - - - - - - - - - 1.00 - - - movw (%rcx), %bp
227 # CHECK-NEXT: 1.00 - - - - - - - - - - - - - - - - - - 1.00 - - - movw (%rdx), %si
228 # CHECK-NEXT: - 1.00 - - - - - - - - - - - - - - - - - - 1.00 - - movw (%rbx), %di
227 # CHECK-NEXT: - 1.00 - - - - - - - - - - - - - - - - - - 1.00 - - movw (%rdx), %si
228 # CHECK-NEXT: 1.00 - - - - - - - - - - - - - - - - - - 1.00 - - - movw (%rbx), %di
229229
230230 # CHECK: Timeline view:
231231 # CHECK-NEXT: Index 012345678
323323 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18] Instructions:
324324 # CHECK-NEXT: - 1.00 - - - - - - - - - - - - - - - - - - 1.00 - - movl (%rax), %esp
325325 # CHECK-NEXT: 1.00 - - - - - - - - - - - - - - - - - - 1.00 - - - movl (%rcx), %ebp
326 # CHECK-NEXT: 1.00 - - - - - - - - - - - - - - - - - - 1.00 - - - movl (%rdx), %esi
327 # CHECK-NEXT: - 1.00 - - - - - - - - - - - - - - - - - - 1.00 - - movl (%rbx), %edi
326 # CHECK-NEXT: - 1.00 - - - - - - - - - - - - - - - - - - 1.00 - - movl (%rdx), %esi
327 # CHECK-NEXT: 1.00 - - - - - - - - - - - - - - - - - - 1.00 - - - movl (%rbx), %edi
328328
329329 # CHECK: Timeline view:
330330 # CHECK-NEXT: Index 012345678
422422 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18] Instructions:
423423 # CHECK-NEXT: - 1.00 - - - - - - - - - - - - - - - - - - 1.00 - - movq (%rax), %rsp
424424 # CHECK-NEXT: 1.00 - - - - - - - - - - - - - - - - - - 1.00 - - - movq (%rcx), %rbp
425 # CHECK-NEXT: 1.00 - - - - - - - - - - - - - - - - - - 1.00 - - - movq (%rdx), %rsi
426 # CHECK-NEXT: - 1.00 - - - - - - - - - - - - - - - - - - 1.00 - - movq (%rbx), %rdi
425 # CHECK-NEXT: - 1.00 - - - - - - - - - - - - - - - - - - 1.00 - - movq (%rdx), %rsi
426 # CHECK-NEXT: 1.00 - - - - - - - - - - - - - - - - - - 1.00 - - - movq (%rbx), %rdi
427427
428428 # CHECK: Timeline view:
429429 # CHECK-NEXT: Index 012345678
521521 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18] Instructions:
522522 # CHECK-NEXT: - 1.00 - - - - - - - - - 1.00 - - - 1.00 - - - - 1.00 - - movd (%rax), %mm0
523523 # CHECK-NEXT: 1.00 - - - - - - - - - 1.00 - - - 1.00 - - - - 1.00 - - - movd (%rcx), %mm1
524 # CHECK-NEXT: 1.00 - - - - - - - - - 1.00 - - - - 1.00 - - - 1.00 - - - movd (%rdx), %mm2
525 # CHECK-NEXT: - 1.00 - - - - - - - - - 1.00 - - 1.00 - - - - - 1.00 - - movd (%rbx), %mm3
524 # CHECK-NEXT: - 1.00 - - - - - - - - - 1.00 - - - 1.00 - - - - 1.00 - - movd (%rdx), %mm2
525 # CHECK-NEXT: 1.00 - - - - - - - - - 1.00 - - - 1.00 - - - - 1.00 - - - movd (%rbx), %mm3
526526
527527 # CHECK: Timeline view:
528528 # CHECK-NEXT: Index 012345678
620620 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18] Instructions:
621621 # CHECK-NEXT: - 1.00 - - - - - - - 1.00 - - - - - 1.00 - - - - 1.00 - - movaps (%rax), %xmm0
622622 # CHECK-NEXT: 1.00 - - - - - - - 1.00 - - - - - 1.00 - - - - 1.00 - - - movaps (%rcx), %xmm1
623 # CHECK-NEXT: 1.00 - - - - - - - 1.00 - - - - - - 1.00 - - - 1.00 - - - movaps (%rdx), %xmm2
624 # CHECK-NEXT: - 1.00 - - - - - - - 1.00 - - - - 1.00 - - - - - 1.00 - - movaps (%rbx), %xmm3
623 # CHECK-NEXT: - 1.00 - - - - - - - 1.00 - - - - - 1.00 - - - - 1.00 - - movaps (%rdx), %xmm2
624 # CHECK-NEXT: 1.00 - - - - - - - 1.00 - - - - - 1.00 - - - - 1.00 - - - movaps (%rbx), %xmm3
625625
626626 # CHECK: Timeline view:
627627 # CHECK-NEXT: Index 012345678
719719 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18] Instructions:
720720 # CHECK-NEXT: - 1.00 - - - - - - - 1.00 - - - - - 1.00 - - - - 1.00 - - vmovaps (%rax), %ymm0
721721 # CHECK-NEXT: 1.00 - - - - - - - 1.00 - - - - - 1.00 - - - - 1.00 - - - vmovaps (%rcx), %ymm1
722 # CHECK-NEXT: 1.00 - - - - - - - 1.00 - - - - - - 1.00 - - - 1.00 - - - vmovaps (%rdx), %ymm2
723 # CHECK-NEXT: - 1.00 - - - - - - - 1.00 - - - - 1.00 - - - - - 1.00 - - vmovaps (%rbx), %ymm3
722 # CHECK-NEXT: - 1.00 - - - - - - - 1.00 - - - - - 1.00 - - - - 1.00 - - vmovaps (%rdx), %ymm2
723 # CHECK-NEXT: 1.00 - - - - - - - 1.00 - - - - - 1.00 - - - - 1.00 - - - vmovaps (%rbx), %ymm3
724724
725725 # CHECK: Timeline view:
726726 # CHECK-NEXT: Index 012345678
6464
6565 # CHECK: Resource pressure per iteration:
6666 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18]
67 # CHECK-NEXT: 4.05 3.95 - - - - - - 3.95 0.05 - - - 4.00 3.95 4.05 - - - 3.95 0.05 - 4.00
67 # CHECK-NEXT: 4.00 4.00 - - - - - - 2.00 2.00 - - - 4.00 3.95 4.05 - - - 2.00 2.00 - 4.00
6868
6969 # CHECK: Resource pressure by instruction:
7070 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18] Instructions:
71 # CHECK-NEXT: - 1.00 - - - - - - 0.97 0.03 - - - - 0.97 0.03 - - - 0.97 0.03 - - vmovaps (%rsi), %xmm0
72 # CHECK-NEXT: 1.00 - - - - - - - - - - - - 1.00 - 1.00 - - - - - - 1.00 vmovaps %xmm0, (%rdi)
71 # CHECK-NEXT: 0.97 0.03 - - - - - - - 1.00 - - - - 0.97 0.03 - - - - 1.00 - - vmovaps (%rsi), %xmm0
72 # CHECK-NEXT: - 1.00 - - - - - - - - - - - 1.00 - 1.00 - - - - - - 1.00 vmovaps %xmm0, (%rdi)
7373 # CHECK-NEXT: 1.00 - - - - - - - 1.00 - - - - - 1.00 - - - - 1.00 - - - vmovaps 16(%rsi), %xmm0
7474 # CHECK-NEXT: 0.02 0.98 - - - - - - - - - - - 1.00 - 1.00 - - - - - - 1.00 vmovaps %xmm0, 16(%rdi)
75 # CHECK-NEXT: 0.02 0.98 - - - - - - 1.00 - - - - - 0.98 0.02 - - - 1.00 - - - vmovaps 32(%rsi), %xmm0
76 # CHECK-NEXT: 1.00 - - - - - - - - - - - - 1.00 - 1.00 - - - - - - 1.00 vmovaps %xmm0, 32(%rdi)
77 # CHECK-NEXT: 0.98 0.02 - - - - - - 0.98 0.02 - - - - 1.00 - - - - 0.98 0.02 - - vmovaps 48(%rsi), %xmm0
75 # CHECK-NEXT: 0.98 0.02 - - - - - - - 1.00 - - - - 0.98 0.02 - - - - 1.00 - - vmovaps 32(%rsi), %xmm0
76 # CHECK-NEXT: - 1.00 - - - - - - - - - - - 1.00 - 1.00 - - - - - - 1.00 vmovaps %xmm0, 32(%rdi)
77 # CHECK-NEXT: 1.00 - - - - - - - 1.00 - - - - - 1.00 - - - - 1.00 - - - vmovaps 48(%rsi), %xmm0
7878 # CHECK-NEXT: 0.03 0.97 - - - - - - - - - - - 1.00 - 1.00 - - - - - - 1.00 vmovaps %xmm0, 48(%rdi)
7979
8080 # CHECK: Timeline view:
111111 # CHECK-NEXT: - - - - - - - - - - 0.50 0.50 - - 0.50 0.50 - - - - - - - pcmpeqw %mm2, %mm2
112112 # CHECK-NEXT: - - - - - - - - - - 0.50 0.50 - - 0.50 0.50 - - - - - - - pcmpeqb %xmm2, %xmm2
113113 # CHECK-NEXT: - - - - - - - - - - 0.50 0.50 - - 0.50 0.50 - - - - - - - pcmpeqd %xmm2, %xmm2
114 # CHECK-NEXT: - - - - - - - - - - 0.50 0.50 - - - 1.00 - - - - - - - pcmpeqq %xmm2, %xmm2
114 # CHECK-NEXT: - - - - - - - - - - - 1.00 - - - 1.00 - - - - - - - pcmpeqq %xmm2, %xmm2
115115 # CHECK-NEXT: - - - - - - - - - - 0.50 0.50 - - 0.50 0.50 - - - - - - - pcmpeqw %xmm2, %xmm2
116116 # CHECK-NEXT: - - - - - - - - - - 0.50 0.50 - - 0.50 0.50 - - - - - - - vpcmpeqb %xmm3, %xmm3, %xmm3
117 # CHECK-NEXT: - - - - - - - - - - 0.50 0.50 - - 1.00 - - - - - - - - vpcmpeqd %xmm3, %xmm3, %xmm3
117 # CHECK-NEXT: - - - - - - - - - - 1.00 - - - 1.00 - - - - - - - - vpcmpeqd %xmm3, %xmm3, %xmm3
118118 # CHECK-NEXT: - - - - - - - - - - 0.50 0.50 - - 0.50 0.50 - - - - - - - vpcmpeqq %xmm3, %xmm3, %xmm3
119119 # CHECK-NEXT: - - - - - - - - - - 0.50 0.50 - - 0.50 0.50 - - - - - - - vpcmpeqw %xmm3, %xmm3, %xmm3
120120 # CHECK-NEXT: - - - - - - - - - - 0.50 0.50 - - 0.50 0.50 - - - - - - - vpcmpeqb %xmm3, %xmm3, %xmm5
6060
6161 # CHECK: Resource pressure per iteration:
6262 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18]
63 # CHECK-NEXT: - 2.00 - - - 1.50 1.50 - - - - - - - - - - - - - 2.00 1.00 -
63 # CHECK-NEXT: 1.00 1.00 - - - 1.50 1.50 - - - - - - - - - - - - 1.00 1.00 1.00 -
6464
6565 # CHECK: Resource pressure by instruction:
6666 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18] Instructions:
6767 # CHECK-NEXT: - - - - - - 1.00 - - - - - - - - - - - - - - 1.00 - imull %edx, %ecx
6868 # CHECK-NEXT: - 1.00 - - - 1.00 - - - - - - - - - - - - - - 1.00 - - lzcntw (%rsp), %cx
69 # CHECK-NEXT: - 1.00 - - - 0.50 0.50 - - - - - - - - - - - - - 1.00 - - lzcntw 2(%rsp), %cx
69 # CHECK-NEXT: 1.00 - - - - 0.50 0.50 - - - - - - - - - - - - 1.00 - - - lzcntw 2(%rsp), %cx
7070
7171 # CHECK: Timeline view:
7272 # CHECK-NEXT: 0123456789
7171
7272 # CHECK: Resource pressure per iteration:
7373 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18]
74 # CHECK-NEXT: - - - - - - - - 32.71 32.29 - 2.00 3.00 1.00 6.00 6.00 - - - - - - -
74 # CHECK-NEXT: - - - - - - - - 32.29 32.71 1.00 1.00 3.00 1.00 6.00 6.00 - - - - - - -
7575
7676 # CHECK: Resource pressure by instruction:
7777 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18] Instructions:
78 # CHECK-NEXT: - - - - - - - - - - - 1.00 2.00 - 2.00 1.00 - - - - - - - vpmulld %xmm0, %xmm1, %xmm2
79 # CHECK-NEXT: - - - - - - - - - - - 1.00 - - - 1.00 - - - - - - - vpand %xmm0, %xmm1, %xmm2
78 # CHECK-NEXT: - - - - - - - - - - 0.02 0.98 2.00 - 2.00 1.00 - - - - - - - vpmulld %xmm0, %xmm1, %xmm2
79 # CHECK-NEXT: - - - - - - - - - - 0.98 0.02 - - - 1.00 - - - - - - - vpand %xmm0, %xmm1, %xmm2
8080 # CHECK-NEXT: - - - - - - - - - - - - - 1.00 - 1.00 - - - - - - - vcvttps2dq %xmm0, %xmm2
8181 # CHECK-NEXT: - - - - - - - - - - - - 1.00 - 1.00 - - - - - - - - vpclmulqdq $0, %xmm0, %xmm1, %xmm2
8282 # CHECK-NEXT: - - - - - - - - 0.50 0.50 - - - - 1.00 - - - - - - - - vaddps %xmm0, %xmm1, %xmm2
8383 # CHECK-NEXT: - - - - - - - - 10.71 10.29 - - - - - 1.00 - - - - - - - vsqrtps %xmm0, %xmm2
8484 # CHECK-NEXT: - - - - - - - - 0.50 0.50 - - - - 2.00 - - - - - - - - vaddps %ymm0, %ymm1, %ymm2
85 # CHECK-NEXT: - - - - - - - - 21.00 21.00 - - - - - 2.00 - - - - - - - vsqrtps %ymm0, %ymm2
85 # CHECK-NEXT: - - - - - - - - 20.58 21.42 - - - - - 2.00 - - - - - - - vsqrtps %ymm0, %ymm2
8686
8787 # CHECK: Timeline view:
8888 # CHECK-NEXT: 0123456789 0123456789 012345678
7171
7272 # CHECK: Resource pressure per iteration:
7373 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18]
74 # CHECK-NEXT: - - - - - - - - 0.67 1.33 - - - - 1.00 1.00 - - - - - - -
74 # CHECK-NEXT: - - - - - - - - 1.00 1.00 - - - - 1.00 1.00 - - - - - - -
7575
7676 # CHECK: Resource pressure by instruction:
7777 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18] Instructions:
7878 # CHECK-NEXT: - - - - - - - - - - - - - - - - - - - - - - - vxorps %xmm0, %xmm0, %xmm0
79 # CHECK-NEXT: - - - - - - - - 0.33 0.67 - - - - - 1.00 - - - - - - - vmovaps %xmm0, %xmm1
80 # CHECK-NEXT: - - - - - - - - 0.33 0.67 - - - - 1.00 - - - - - - - - vaddps %xmm1, %xmm1, %xmm2
79 # CHECK-NEXT: - - - - - - - - - 1.00 - - - - - 1.00 - - - - - - - vmovaps %xmm0, %xmm1
80 # CHECK-NEXT: - - - - - - - - 1.00 - - - - - 1.00 - - - - - - - - vaddps %xmm1, %xmm1, %xmm2
8181
8282 # CHECK: Timeline view:
8383 # CHECK-NEXT: 0
8181
8282 # CHECK: Resource pressure per iteration:
8383 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18]
84 # CHECK-NEXT: - - - - - - - - 2.67 1.33 - 3.00 - - 3.33 3.67 - - - - - - -
84 # CHECK-NEXT: - - - - - - - - 2.00 2.00 1.33 1.67 - - 3.33 3.67 - - - - - - -
8585
8686 # CHECK: Resource pressure by instruction:
8787 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18] Instructions:
8888 # CHECK-NEXT: - - - - - - - - - - - - - - - - - - - - - - - pxor %mm0, %mm0
89 # CHECK-NEXT: - - - - - - - - - - - 1.00 - - - 1.00 - - - - - - - movq %mm0, %mm1
89 # CHECK-NEXT: - - - - - - - - - - 0.67 0.33 - - - 1.00 - - - - - - - movq %mm0, %mm1
9090 # CHECK-NEXT: - - - - - - - - - - - - - - - - - - - - - - - xorps %xmm0, %xmm0
91 # CHECK-NEXT: - - - - - - - - 0.67 0.33 - - - - 0.33 0.67 - - - - - - - movaps %xmm0, %xmm1
92 # CHECK-NEXT: - - - - - - - - 0.67 0.33 - - - - 0.33 0.67 - - - - - - - movups %xmm1, %xmm2
93 # CHECK-NEXT: - - - - - - - - 0.67 0.33 - - - - 1.00 - - - - - - - - movapd %xmm2, %xmm3
94 # CHECK-NEXT: - - - - - - - - 0.67 0.33 - - - - 0.33 0.67 - - - - - - - movupd %xmm3, %xmm4
95 # CHECK-NEXT: - - - - - - - - - - - 1.00 - - 1.00 - - - - - - - - movdqa %xmm4, %xmm5
91 # CHECK-NEXT: - - - - - - - - - 1.00 - - - - 0.33 0.67 - - - - - - - movaps %xmm0, %xmm1
92 # CHECK-NEXT: - - - - - - - - 1.00 - - - - - 0.33 0.67 - - - - - - - movups %xmm1, %xmm2
93 # CHECK-NEXT: - - - - - - - - - 1.00 - - - - 1.00 - - - - - - - - movapd %xmm2, %xmm3
94 # CHECK-NEXT: - - - - - - - - 1.00 - - - - - 0.33 0.67 - - - - - - - movupd %xmm3, %xmm4
95 # CHECK-NEXT: - - - - - - - - - - 0.67 0.33 - - 1.00 - - - - - - - - movdqa %xmm4, %xmm5
9696 # CHECK-NEXT: - - - - - - - - - - - 1.00 - - 0.33 0.67 - - - - - - - movdqu %xmm5, %xmm0
9797
9898 # CHECK: Timeline view:
7676
7777 # CHECK: Resource pressure per iteration:
7878 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18]
79 # CHECK-NEXT: - - - - - - - - 2.00 2.00 1.33 0.67 - - 3.00 3.00 - - - - - - -
79 # CHECK-NEXT: - - - - - - - - 2.00 2.00 1.00 1.00 - - 3.00 3.00 - - - - - - -
8080
8181 # CHECK: Resource pressure by instruction:
8282 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18] Instructions:
8383 # CHECK-NEXT: - - - - - - - - - - - - - - - - - - - - - - - vxorps %xmm0, %xmm0, %xmm0
84 # CHECK-NEXT: - - - - - - - - 0.67 0.33 - - - - 0.67 0.33 - - - - - - - vmovaps %xmm0, %xmm1
85 # CHECK-NEXT: - - - - - - - - 0.33 0.67 - - - - 0.67 0.33 - - - - - - - vmovups %xmm1, %xmm2
86 # CHECK-NEXT: - - - - - - - - 0.33 0.67 - - - - 0.33 0.67 - - - - - - - vmovapd %xmm2, %xmm3
84 # CHECK-NEXT: - - - - - - - - 0.33 0.67 - - - - 0.67 0.33 - - - - - - - vmovaps %xmm0, %xmm1
85 # CHECK-NEXT: - - - - - - - - 1.00 - - - - - 0.67 0.33 - - - - - - - vmovups %xmm1, %xmm2
86 # CHECK-NEXT: - - - - - - - - - 1.00 - - - - 0.33 0.67 - - - - - - - vmovapd %xmm2, %xmm3
8787 # CHECK-NEXT: - - - - - - - - 0.67 0.33 - - - - 0.33 0.67 - - - - - - - vmovupd %xmm3, %xmm4
88 # CHECK-NEXT: - - - - - - - - - - 0.67 0.33 - - 0.33 0.67 - - - - - - - vmovdqa %xmm4, %xmm5
89 # CHECK-NEXT: - - - - - - - - - - 0.67 0.33 - - 0.67 0.33 - - - - - - - vmovdqu %xmm5, %xmm0
88 # CHECK-NEXT: - - - - - - - - - - - 1.00 - - 0.33 0.67 - - - - - - - vmovdqa %xmm4, %xmm5
89 # CHECK-NEXT: - - - - - - - - - - 1.00 - - - 0.67 0.33 - - - - - - - vmovdqu %xmm5, %xmm0
9090
9191 # CHECK: Timeline view:
9292 # CHECK-NEXT: 0123456
6868
6969 # CHECK: Resource pressure per iteration:
7070 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18]
71 # CHECK-NEXT: - - - - - - - - - 2.00 - - - - 1.00 1.00 - - - - - - -
71 # CHECK-NEXT: - - - - - - - - 1.00 1.00 - - - - 1.00 1.00 - - - - - - -
7272
7373 # CHECK: Resource pressure by instruction:
7474 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18] Instructions:
7575 # CHECK-NEXT: - - - - - - - - - 1.00 - - - - 1.00 - - - - - - - - vaddps %xmm0, %xmm0, %xmm0
76 # CHECK-NEXT: - - - - - - - - - 1.00 - - - - - 1.00 - - - - - - - vmulps %xmm0, %xmm0, %xmm0
76 # CHECK-NEXT: - - - - - - - - 1.00 - - - - - - 1.00 - - - - - - - vmulps %xmm0, %xmm0, %xmm0
7777
7878 # CHECK: Timeline view:
7979 # CHECK-NEXT: 0123456789 0123456789 012
6868
6969 # CHECK: Resource pressure per iteration:
7070 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18]
71 # CHECK-NEXT: - - - - - - - - - 2.00 - - - - 1.00 1.00 - - - - - - -
71 # CHECK-NEXT: - - - - - - - - 1.00 1.00 - - - - 1.00 1.00 - - - - - - -
7272
7373 # CHECK: Resource pressure by instruction:
7474 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18] Instructions:
7575 # CHECK-NEXT: - - - - - - - - - 1.00 - - - - 1.00 - - - - - - - - vaddps %xmm0, %xmm0, %xmm0
76 # CHECK-NEXT: - - - - - - - - - 1.00 - - - - - 1.00 - - - - - - - vmulps %xmm0, %xmm0, %xmm0
76 # CHECK-NEXT: - - - - - - - - 1.00 - - - - - - 1.00 - - - - - - - vmulps %xmm0, %xmm0, %xmm0
7777
7878 # CHECK: Timeline view:
7979 # CHECK-NEXT: 0123456789 0123456789 012
119119
120120 # CHECK: Resource pressure per iteration:
121121 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18]
122 # CHECK-NEXT: - 4.00 - - - - - - - - - - - - - - - - - - - - 4.00
122 # CHECK-NEXT: 2.00 2.00 - - - - - - - - - - - - - - - - - - - - 4.00
123123
124124 # CHECK: Resource pressure by instruction:
125125 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18] Instructions:
126126 # CHECK-NEXT: - 1.00 - - - - - - - - - - - - - - - - - - - - 1.00 movb %spl, (%rax)
127 # CHECK-NEXT: - 1.00 - - - - - - - - - - - - - - - - - - - - 1.00 movb %bpl, (%rcx)
127 # CHECK-NEXT: 1.00 - - - - - - - - - - - - - - - - - - - - - 1.00 movb %bpl, (%rcx)
128128 # CHECK-NEXT: - 1.00 - - - - - - - - - - - - - - - - - - - - 1.00 movb %sil, (%rdx)
129 # CHECK-NEXT: - 1.00 - - - - - - - - - - - - - - - - - - - - 1.00 movb %dil, (%rbx)
129 # CHECK-NEXT: 1.00 - - - - - - - - - - - - - - - - - - - - - 1.00 movb %dil, (%rbx)
130130
131131 # CHECK: Timeline view:
132132 # CHECK-NEXT: Index 0123456
218218
219219 # CHECK: Resource pressure per iteration:
220220 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18]
221 # CHECK-NEXT: - 4.00 - - - - - - - - - - - - - - - - - - - - 4.00
221 # CHECK-NEXT: 2.00 2.00 - - - - - - - - - - - - - - - - - - - - 4.00
222222
223223 # CHECK: Resource pressure by instruction:
224224 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18] Instructions:
225225 # CHECK-NEXT: - 1.00 - - - - - - - - - - - - - - - - - - - - 1.00 movw %sp, (%rax)
226 # CHECK-NEXT: - 1.00 - - - - - - - - - - - - - - - - - - - - 1.00 movw %bp, (%rcx)
226 # CHECK-NEXT: 1.00 - - - - - - - - - - - - - - - - - - - - - 1.00 movw %bp, (%rcx)
227227 # CHECK-NEXT: - 1.00 - - - - - - - - - - - - - - - - - - - - 1.00 movw %si, (%rdx)
228 # CHECK-NEXT: - 1.00 - - - - - - - - - - - - - - - - - - - - 1.00 movw %di, (%rbx)
228 # CHECK-NEXT: 1.00 - - - - - - - - - - - - - - - - - - - - - 1.00 movw %di, (%rbx)
229229
230230 # CHECK: Timeline view:
231231 # CHECK-NEXT: Index 0123456
317317
318318 # CHECK: Resource pressure per iteration:
319319 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18]
320 # CHECK-NEXT: - 4.00 - - - - - - - - - - - - - - - - - - - - 4.00
320 # CHECK-NEXT: 2.00 2.00 - - - - - - - - - - - - - - - - - - - - 4.00
321321
322322 # CHECK: Resource pressure by instruction:
323323 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18] Instructions:
324324 # CHECK-NEXT: - 1.00 - - - - - - - - - - - - - - - - - - - - 1.00 movl %esp, (%rax)
325 # CHECK-NEXT: - 1.00 - - - - - - - - - - - - - - - - - - - - 1.00 movl %ebp, (%rcx)
325 # CHECK-NEXT: 1.00 - - - - - - - - - - - - - - - - - - - - - 1.00 movl %ebp, (%rcx)
326326 # CHECK-NEXT: - 1.00 - - - - - - - - - - - - - - - - - - - - 1.00 movl %esi, (%rdx)
327 # CHECK-NEXT: - 1.00 - - - - - - - - - - - - - - - - - - - - 1.00 movl %edi, (%rbx)
327 # CHECK-NEXT: 1.00 - - - - - - - - - - - - - - - - - - - - - 1.00 movl %edi, (%rbx)
328328
329329 # CHECK: Timeline view:
330330 # CHECK-NEXT: Index 0123456
416416
417417 # CHECK: Resource pressure per iteration:
418418 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18]
419 # CHECK-NEXT: - 4.00 - - - - - - - - - - - - - - - - - - - - 4.00
419 # CHECK-NEXT: 2.00 2.00 - - - - - - - - - - - - - - - - - - - - 4.00
420420
421421 # CHECK: Resource pressure by instruction:
422422 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18] Instructions:
423423 # CHECK-NEXT: - 1.00 - - - - - - - - - - - - - - - - - - - - 1.00 movq %rsp, (%rax)
424 # CHECK-NEXT: - 1.00 - - - - - - - - - - - - - - - - - - - - 1.00 movq %rbp, (%rcx)
424 # CHECK-NEXT: 1.00 - - - - - - - - - - - - - - - - - - - - - 1.00 movq %rbp, (%rcx)
425425 # CHECK-NEXT: - 1.00 - - - - - - - - - - - - - - - - - - - - 1.00 movq %rsi, (%rdx)
426 # CHECK-NEXT: - 1.00 - - - - - - - - - - - - - - - - - - - - 1.00 movq %rdi, (%rbx)
426 # CHECK-NEXT: 1.00 - - - - - - - - - - - - - - - - - - - - - 1.00 movq %rdi, (%rbx)
427427
428428 # CHECK: Timeline view:
429429 # CHECK-NEXT: Index 0123456
515515
516516 # CHECK: Resource pressure per iteration:
517517 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18]
518 # CHECK-NEXT: - 4.00 - - - - - - - - - - - 4.00 - 4.00 - - - - - - 4.00
518 # CHECK-NEXT: 2.00 2.00 - - - - - - - - - - - 4.00 - 4.00 - - - - - - 4.00
519519
520520 # CHECK: Resource pressure by instruction:
521521 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18] Instructions:
522522 # CHECK-NEXT: - 1.00 - - - - - - - - - - - 1.00 - 1.00 - - - - - - 1.00 movd %mm0, (%rax)
523 # CHECK-NEXT: - 1.00 - - - - - - - - - - - 1.00 - 1.00 - - - - - - 1.00 movd %mm1, (%rcx)
523 # CHECK-NEXT: 1.00 - - - - - - - - - - - - 1.00 - 1.00 - - - - - - 1.00 movd %mm1, (%rcx)
524524 # CHECK-NEXT: - 1.00 - - - - - - - - - - - 1.00 - 1.00 - - - - - - 1.00 movd %mm2, (%rdx)
525 # CHECK-NEXT: - 1.00 - - - - - - - - - - - 1.00 - 1.00 - - - - - - 1.00 movd %mm3, (%rbx)
525 # CHECK-NEXT: 1.00 - - - - - - - - - - - - 1.00 - 1.00 - - - - - - 1.00 movd %mm3, (%rbx)
526526
527527 # CHECK: Timeline view:
528528 # CHECK-NEXT: 0
615615
616616 # CHECK: Resource pressure per iteration:
617617 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18]
618 # CHECK-NEXT: - 4.00 - - - - - - - - - - - 4.00 - 4.00 - - - - - - 4.00
618 # CHECK-NEXT: 2.00 2.00 - - - - - - - - - - - 4.00 - 4.00 - - - - - - 4.00
619619
620620 # CHECK: Resource pressure by instruction:
621621 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18] Instructions:
622622 # CHECK-NEXT: - 1.00 - - - - - - - - - - - 1.00 - 1.00 - - - - - - 1.00 movaps %xmm0, (%rax)
623 # CHECK-NEXT: - 1.00 - - - - - - - - - - - 1.00 - 1.00 - - - - - - 1.00 movaps %xmm1, (%rcx)
623 # CHECK-NEXT: 1.00 - - - - - - - - - - - - 1.00 - 1.00 - - - - - - 1.00 movaps %xmm1, (%rcx)
624624 # CHECK-NEXT: - 1.00 - - - - - - - - - - - 1.00 - 1.00 - - - - - - 1.00 movaps %xmm2, (%rdx)
625 # CHECK-NEXT: - 1.00 - - - - - - - - - - - 1.00 - 1.00 - - - - - - 1.00 movaps %xmm3, (%rbx)
625 # CHECK-NEXT: 1.00 - - - - - - - - - - - - 1.00 - 1.00 - - - - - - 1.00 movaps %xmm3, (%rbx)
626626
627627 # CHECK: Timeline view:
628628 # CHECK-NEXT: Index 0123456
714714
715715 # CHECK: Resource pressure per iteration:
716716 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18]
717 # CHECK-NEXT: - 4.00 - - - - - - - - - - - 4.00 - 4.00 - - - - - - 4.00
717 # CHECK-NEXT: 2.00 2.00 - - - - - - - - - - - 4.00 - 4.00 - - - - - - 4.00
718718
719719 # CHECK: Resource pressure by instruction:
720720 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18] Instructions:
721721 # CHECK-NEXT: - 1.00 - - - - - - - - - - - 1.00 - 1.00 - - - - - - 1.00 vmovaps %ymm0, (%rax)
722 # CHECK-NEXT: - 1.00 - - - - - - - - - - - 1.00 - 1.00 - - - - - - 1.00 vmovaps %ymm1, (%rcx)
722 # CHECK-NEXT: 1.00 - - - - - - - - - - - - 1.00 - 1.00 - - - - - - 1.00 vmovaps %ymm1, (%rcx)
723723 # CHECK-NEXT: - 1.00 - - - - - - - - - - - 1.00 - 1.00 - - - - - - 1.00 vmovaps %ymm2, (%rdx)
724 # CHECK-NEXT: - 1.00 - - - - - - - - - - - 1.00 - 1.00 - - - - - - 1.00 vmovaps %ymm3, (%rbx)
724 # CHECK-NEXT: 1.00 - - - - - - - - - - - - 1.00 - 1.00 - - - - - - 1.00 vmovaps %ymm3, (%rbx)
725725
726726 # CHECK: Timeline view:
727727 # CHECK-NEXT: Index 0123456
5252
5353 # CHECK: Resource pressure per iteration:
5454 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18]
55 # CHECK-NEXT: - 1.00 - - - 0.50 0.50 - 2.00 2.00 - - - - 1.00 1.00 - - - - 1.00 - -
55 # CHECK-NEXT: 0.50 0.50 - - - 0.50 0.50 - 2.00 2.00 - - - - 1.00 1.00 - - - 0.50 0.50 - -
5656
5757 # CHECK: Resource pressure by instruction:
5858 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18] Instructions:
5959 # CHECK-NEXT: - - - - - 0.50 0.50 - - - - - - - - - - - - - - - - leaq 8(%rsp,%rdi,2), %rax
60 # CHECK-NEXT: - 1.00 - - - - - - 2.00 2.00 - - - - 1.00 1.00 - - - - 1.00 - - vbroadcastss (%rax), %ymm0
60 # CHECK-NEXT: 0.50 0.50 - - - - - - 2.00 2.00 - - - - 1.00 1.00 - - - 0.50 0.50 - - vbroadcastss (%rax), %ymm0
6161
6262 # CHECK: Timeline view:
6363 # CHECK-NEXT: 012
6060
6161 # CHECK: Resource pressure per iteration:
6262 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18]
63 # CHECK-NEXT: - - - - - - - - 0.04 4.96 - - - 1.00 4.00 7.00 - - - - - - -
63 # CHECK-NEXT: - - - - - - - - 2.50 2.50 - - - 1.00 4.00 7.00 - - - - - - -
6464
6565 # CHECK: Resource pressure by instruction:
6666 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18] Instructions:
67 # CHECK-NEXT: - - - - - - - - - 1.00 - - - - - 2.00 - - - - - - - vmulps %ymm0, %ymm1, %ymm2
67 # CHECK-NEXT: - - - - - - - - 0.66 0.34 - - - - - 2.00 - - - - - - - vmulps %ymm0, %ymm1, %ymm2
6868 # CHECK-NEXT: - - - - - - - - - - - - - 1.00 - 1.00 - - - - - - - vfrczpd %xmm1, %xmm2
69 # CHECK-NEXT: - - - - - - - - 0.01 0.99 - - - - - 2.00 - - - - - - - vmulps %ymm2, %ymm3, %ymm4
70 # CHECK-NEXT: - - - - - - - - 0.01 0.99 - - - - 2.00 - - - - - - - - vaddps %ymm4, %ymm5, %ymm6
71 # CHECK-NEXT: - - - - - - - - 0.02 0.98 - - - - - 2.00 - - - - - - - vmulps %ymm6, %ymm3, %ymm4
72 # CHECK-NEXT: - - - - - - - - - 1.00 - - - - 2.00 - - - - - - - - vaddps %ymm4, %ymm5, %ymm0
69 # CHECK-NEXT: - - - - - - - - 0.34 0.66 - - - - - 2.00 - - - - - - - vmulps %ymm2, %ymm3, %ymm4
70 # CHECK-NEXT: - - - - - - - - 0.66 0.34 - - - - 2.00 - - - - - - - - vaddps %ymm4, %ymm5, %ymm6
71 # CHECK-NEXT: - - - - - - - - 0.50 0.50 - - - - - 2.00 - - - - - - - vmulps %ymm6, %ymm3, %ymm4
72 # CHECK-NEXT: - - - - - - - - 0.34 0.66 - - - - 2.00 - - - - - - - - vaddps %ymm4, %ymm5, %ymm0
7373
7474 # CHECK: Timeline view:
7575 # CHECK-NEXT: 0123456789 0123456789
6060
6161 # CHECK: Resource pressure per iteration:
6262 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18]
63 # CHECK-NEXT: - - - - - - - - 4.54 4.46 - - - - 4.99 6.01 - - - - - - -
63 # CHECK-NEXT: - - - - - - - - 4.42 4.58 - - - - 4.99 6.01 - - - - - - -
6464
6565 # CHECK: Resource pressure by instruction:
6666 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18] Instructions:
67 # CHECK-NEXT: - - - - - - - - 0.52 0.48 - - - - - 2.00 - - - - - - - vmulps %ymm0, %ymm1, %ymm2
68 # CHECK-NEXT: - - - - - - - - 2.00 2.00 - - - - 0.99 0.01 - - - - - - - vpermil2pd $16, %xmm3, %xmm5, %xmm1, %xmm2
69 # CHECK-NEXT: - - - - - - - - 0.50 0.50 - - - - - 2.00 - - - - - - - vmulps %ymm2, %ymm3, %ymm4
70 # CHECK-NEXT: - - - - - - - - 0.50 0.50 - - - - 2.00 - - - - - - - - vaddps %ymm4, %ymm5, %ymm6
71 # CHECK-NEXT: - - - - - - - - 0.50 0.50 - - - - - 2.00 - - - - - - - vmulps %ymm6, %ymm3, %ymm4
72 # CHECK-NEXT: - - - - - - - - 0.52 0.48 - - - - 2.00 - - - - - - - - vaddps %ymm4, %ymm5, %ymm0
67 # CHECK-NEXT: - - - - - - - - 0.77 0.23 - - - - - 2.00 - - - - - - - vmulps %ymm0, %ymm1, %ymm2
68 # CHECK-NEXT: - - - - - - - - 1.64 2.36 - - - - 0.99 0.01 - - - - - - - vpermil2pd $16, %xmm3, %xmm5, %xmm1, %xmm2
69 # CHECK-NEXT: - - - - - - - - 0.99 0.01 - - - - - 2.00 - - - - - - - vmulps %ymm2, %ymm3, %ymm4
70 # CHECK-NEXT: - - - - - - - - 0.01 0.99 - - - - 2.00 - - - - - - - - vaddps %ymm4, %ymm5, %ymm6
71 # CHECK-NEXT: - - - - - - - - 0.80 0.20 - - - - - 2.00 - - - - - - - vmulps %ymm6, %ymm3, %ymm4
72 # CHECK-NEXT: - - - - - - - - 0.21 0.79 - - - - 2.00 - - - - - - - - vaddps %ymm4, %ymm5, %ymm0
7373
7474 # CHECK: Timeline view:
7575 # CHECK-NEXT: 0123456789 012
8787
8888 # CHECK: Resource pressure per iteration:
8989 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18]
90 # CHECK-NEXT: - - - - - - - - 2.52 2.48 - - - - 3.00 3.00 - - - - - - -
90 # CHECK-NEXT: - - - - - - - - 2.01 2.99 - - - - 3.00 3.00 - - - - - - -
9191
9292 # CHECK: Resource pressure by instruction:
9393 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18] Instructions:
94 # CHECK-NEXT: - - - - - - - - 0.50 0.50 - - - - 2.00 - - - - - - - - vaddps %ymm0, %ymm0, %ymm1
94 # CHECK-NEXT: - - - - - - - - 0.99 0.01 - - - - 2.00 - - - - - - - - vaddps %ymm0, %ymm0, %ymm1
9595 # CHECK-NEXT: - - - - - - - - 1.00 1.00 - - - - 0.98 1.02 - - - - - - - vxorps %ymm1, %ymm1, %ymm1
96 # CHECK-NEXT: - - - - - - - - 1.02 0.98 - - - - 0.02 1.98 - - - - - - - vblendps $2, %ymm1, %ymm2, %ymm3
96 # CHECK-NEXT: - - - - - - - - 0.02 1.98 - - - - 0.02 1.98 - - - - - - - vblendps $2, %ymm1, %ymm2, %ymm3
9797
9898 # CHECK: Timeline view:
9999 # CHECK-NEXT: 012
172172
173173 # CHECK: Resource pressure per iteration:
174174 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18]
175 # CHECK-NEXT: - - - - - - - - 2.52 2.48 - - - - 3.00 3.00 - - - - - - -
175 # CHECK-NEXT: - - - - - - - - 2.01 2.99 - - - - 3.00 3.00 - - - - - - -
176176
177177 # CHECK: Resource pressure by instruction:
178178 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18] Instructions:
179 # CHECK-NEXT: - - - - - - - - 0.50 0.50 - - - - 2.00 - - - - - - - - vaddpd %ymm0, %ymm0, %ymm1
179 # CHECK-NEXT: - - - - - - - - 0.99 0.01 - - - - 2.00 - - - - - - - - vaddpd %ymm0, %ymm0, %ymm1
180180 # CHECK-NEXT: - - - - - - - - 1.00 1.00 - - - - 0.98 1.02 - - - - - - - vxorpd %ymm1, %ymm1, %ymm1
181 # CHECK-NEXT: - - - - - - - - 1.02 0.98 - - - - 0.02 1.98 - - - - - - - vblendpd $2, %ymm1, %ymm2, %ymm3
181 # CHECK-NEXT: - - - - - - - - 0.02 1.98 - - - - 0.02 1.98 - - - - - - - vblendpd $2, %ymm1, %ymm2, %ymm3
182182
183183 # CHECK: Timeline view:
184184 # CHECK-NEXT: 012
256256
257257 # CHECK: Resource pressure per iteration:
258258 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18]
259 # CHECK-NEXT: - - - - - - - - 1.50 1.50 - - - - 2.00 2.00 - - - - - - -
259 # CHECK-NEXT: - - - - - - - - 2.00 1.00 - - - - 2.00 2.00 - - - - - - -
260260
261261 # CHECK: Resource pressure by instruction:
262262 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18] Instructions:
263 # CHECK-NEXT: - - - - - - - - 0.50 0.50 - - - - 2.00 - - - - - - - - vaddps %ymm0, %ymm1, %ymm2
264 # CHECK-NEXT: - - - - - - - - 1.00 1.00 - - - - - 2.00 - - - - - - - vandnps %ymm2, %ymm2, %ymm3
263 # CHECK-NEXT: - - - - - - - - - 1.00 - - - - 2.00 - - - - - - - - vaddps %ymm0, %ymm1, %ymm2
264 # CHECK-NEXT: - - - - - - - - 2.00 - - - - - - 2.00 - - - - - - - vandnps %ymm2, %ymm2, %ymm3
265265
266266 # CHECK: Timeline view:
267267 # CHECK-NEXT: 01
335335
336336 # CHECK: Resource pressure per iteration:
337337 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18]
338 # CHECK-NEXT: - - - - - - - - 1.50 1.50 - - - - 2.00 2.00 - - - - - - -
338 # CHECK-NEXT: - - - - - - - - 2.00 1.00 - - - - 2.00 2.00 - - - - - - -
339339
340340 # CHECK: Resource pressure by instruction:
341341 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18] Instructions:
342 # CHECK-NEXT: - - - - - - - - 0.50 0.50 - - - - 2.00 - - - - - - - - vaddps %ymm0, %ymm1, %ymm2
343 # CHECK-NEXT: - - - - - - - - 1.00 1.00 - - - - - 2.00 - - - - - - - vandnps %ymm2, %ymm2, %ymm3
342 # CHECK-NEXT: - - - - - - - - - 1.00 - - - - 2.00 - - - - - - - - vaddps %ymm0, %ymm1, %ymm2
343 # CHECK-NEXT: - - - - - - - - 2.00 - - - - - - 2.00 - - - - - - - vandnps %ymm2, %ymm2, %ymm3
344344
345345 # CHECK: Timeline view:
346346 # CHECK-NEXT: 01
414414
415415 # CHECK: Resource pressure per iteration:
416416 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18]
417 # CHECK-NEXT: - - - - - - - - - 2.00 - - - - 2.00 1.00 - - - - - - -
417 # CHECK-NEXT: - - - - - - - - 1.00 1.00 - - - - 2.00 1.00 - - - - - - -
418418
419419 # CHECK: Resource pressure by instruction:
420420 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18] Instructions:
421421 # CHECK-NEXT: - - - - - - - - - 1.00 - - - - - 1.00 - - - - - - - vperm2f128 $136, %ymm0, %ymm0, %ymm1
422 # CHECK-NEXT: - - - - - - - - - 1.00 - - - - 2.00 - - - - - - - - vaddps %ymm1, %ymm1, %ymm0
422 # CHECK-NEXT: - - - - - - - - 1.00 - - - - - 2.00 - - - - - - - - vaddps %ymm1, %ymm1, %ymm0
423423
424424 # CHECK: Timeline view:
425425 # CHECK-NEXT: 0123456789
219219
220220 # CHECK: Resource pressure per iteration:
221221 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18]
222 # CHECK-NEXT: - - - - - - - - - - 8.00 11.00 - - 9.00 10.00 - - - - - - -
222 # CHECK-NEXT: - - - - - - - - - - 9.00 10.00 - - 9.00 10.00 - - - - - - -
223223
224224 # CHECK: Resource pressure by instruction:
225225 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18] Instructions:
236236 # CHECK-NEXT: - - - - - - - - - - - - - - - - - - - - - - - pcmpgtw %xmm2, %xmm2
237237 # CHECK-NEXT: - - - - - - - - - - - - - - - - - - - - - - - vpcmpgtb %xmm3, %xmm3, %xmm3
238238 # CHECK-NEXT: - - - - - - - - - - - - - - - - - - - - - - - vpcmpgtd %xmm3, %xmm3, %xmm3
239 # CHECK-NEXT: - - - - - - - - - - - 1.00 - - 1.00 - - - - - - - - vpcmpgtq %xmm3, %xmm3, %xmm3
239 # CHECK-NEXT: - - - - - - - - - - 1.00 - - - 1.00 - - - - - - - - vpcmpgtq %xmm3, %xmm3, %xmm3
240240 # CHECK-NEXT: - - - - - - - - - - - - - - - - - - - - - - - vpcmpgtw %xmm3, %xmm3, %xmm3
241241 # CHECK-NEXT: - - - - - - - - - - - - - - - - - - - - - - - vpcmpgtb %xmm3, %xmm3, %xmm5
242242 # CHECK-NEXT: - - - - - - - - - - - - - - - - - - - - - - - vpcmpgtd %xmm3, %xmm3, %xmm5
258258 # CHECK-NEXT: - - - - - - - - - - - - - - - - - - - - - - - vpsubd %xmm3, %xmm3, %xmm5
259259 # CHECK-NEXT: - - - - - - - - - - - - - - - - - - - - - - - vpsubq %xmm3, %xmm3, %xmm5
260260 # CHECK-NEXT: - - - - - - - - - - - - - - - - - - - - - - - vpsubw %xmm3, %xmm3, %xmm5
261 # CHECK-NEXT: - - - - - - - - - - - 1.00 - - 1.00 - - - - - - - - psubsb %mm2, %mm2
261 # CHECK-NEXT: - - - - - - - - - - 1.00 - - - 1.00 - - - - - - - - psubsb %mm2, %mm2
262262 # CHECK-NEXT: - - - - - - - - - - - 1.00 - - - 1.00 - - - - - - - psubsw %mm2, %mm2
263263 # CHECK-NEXT: - - - - - - - - - - 1.00 - - - 1.00 - - - - - - - - psubsb %xmm2, %xmm2
264 # CHECK-NEXT: - - - - - - - - - - 1.00 - - - - 1.00 - - - - - - - psubsw %xmm2, %xmm2
265 # CHECK-NEXT: - - - - - - - - - - - 1.00 - - 1.00 - - - - - - - - vpsubsb %xmm3, %xmm3, %xmm3
264 # CHECK-NEXT: - - - - - - - - - - - 1.00 - - - 1.00 - - - - - - - psubsw %xmm2, %xmm2
265 # CHECK-NEXT: - - - - - - - - - - 1.00 - - - 1.00 - - - - - - - - vpsubsb %xmm3, %xmm3, %xmm3
266266 # CHECK-NEXT: - - - - - - - - - - - 1.00 - - - 1.00 - - - - - - - vpsubsw %xmm3, %xmm3, %xmm3
267267 # CHECK-NEXT: - - - - - - - - - - 1.00 - - - 1.00 - - - - - - - - vpsubsb %xmm3, %xmm3, %xmm5
268 # CHECK-NEXT: - - - - - - - - - - 1.00 - - - - 1.00 - - - - - - - vpsubsw %xmm3, %xmm3, %xmm5
269 # CHECK-NEXT: - - - - - - - - - - - 1.00 - - 1.00 - - - - - - - - psubusb %mm2, %mm2
268 # CHECK-NEXT: - - - - - - - - - - - 1.00 - - - 1.00 - - - - - - - vpsubsw %xmm3, %xmm3, %xmm5
269 # CHECK-NEXT: - - - - - - - - - - 1.00 - - - 1.00 - - - - - - - - psubusb %mm2, %mm2
270270 # CHECK-NEXT: - - - - - - - - - - - 1.00 - - - 1.00 - - - - - - - psubusw %mm2, %mm2
271271 # CHECK-NEXT: - - - - - - - - - - 1.00 - - - 1.00 - - - - - - - - psubusb %xmm2, %xmm2
272 # CHECK-NEXT: - - - - - - - - - - 1.00 - - - - 1.00 - - - - - - - psubusw %xmm2, %xmm2
273 # CHECK-NEXT: - - - - - - - - - - - 1.00 - - 1.00 - - - - - - - - vpsubusb %xmm3, %xmm3, %xmm3
272 # CHECK-NEXT: - - - - - - - - - - - 1.00 - - - 1.00 - - - - - - - psubusw %xmm2, %xmm2
273 # CHECK-NEXT: - - - - - - - - - - 1.00 - - - 1.00 - - - - - - - - vpsubusb %xmm3, %xmm3, %xmm3
274274 # CHECK-NEXT: - - - - - - - - - - - 1.00 - - - 1.00 - - - - - - - vpsubusw %xmm3, %xmm3, %xmm3
275275 # CHECK-NEXT: - - - - - - - - - - 1.00 - - - 1.00 - - - - - - - - vpsubsb %xmm3, %xmm3, %xmm5
276 # CHECK-NEXT: - - - - - - - - - - 1.00 - - - - 1.00 - - - - - - - vpsubsw %xmm3, %xmm3, %xmm5
276 # CHECK-NEXT: - - - - - - - - - - - 1.00 - - - 1.00 - - - - - - - vpsubsw %xmm3, %xmm3, %xmm5
277277 # CHECK-NEXT: - - - - - - - - - - - - - - - - - - - - - - - andnps %xmm0, %xmm0
278278 # CHECK-NEXT: - - - - - - - - - - - - - - - - - - - - - - - andnpd %xmm1, %xmm1
279279 # CHECK-NEXT: - - - - - - - - - - - - - - - - - - - - - - - vandnps %xmm2, %xmm2, %xmm2
146146
147147 void ResourceManager::use(const ResourceRef &RR) {
148148 // Mark the sub-resource referenced by RR as used.
149 ResourceState &RS = *Resources[getResourceStateIndex(RR.first)];
149 unsigned RSID = getResourceStateIndex(RR.first);
150 ResourceState &RS = *Resources[RSID];
150151 RS.markSubResourceAsUsed(RR.second);
152 // Remember to update the resource strategy for non-group resources with
153 // multiple units.
154 if (RS.getNumUnits() > 1)
155 Strategies[RSID]->used(RR.second);
156
151157 // If there are still available units in RR.first,
152158 // then we are done.
153159 if (RS.isReady())