diff --git a/test/tools/llvm-mca/X86/Znver3/reg-move-elimination-gpr.s b/test/tools/llvm-mca/X86/Znver3/reg-move-elimination-gpr.s index cf4f44b8a0d..3ff035cd1cd 100644 --- a/test/tools/llvm-mca/X86/Znver3/reg-move-elimination-gpr.s +++ b/test/tools/llvm-mca/X86/Znver3/reg-move-elimination-gpr.s @@ -1,5 +1,5 @@ # NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py -# RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=znver3 -iterations=1 -timeline -register-file-stats < %s | FileCheck %s +# RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=znver3 -iterations=1000 -timeline -register-file-stats < %s | FileCheck %s # LLVM-MCA-BEGIN mov %eax, %ecx @@ -73,14 +73,14 @@ xchgq %r15, %rax # CHECK: [0] Code Region -# CHECK: Iterations: 1 -# CHECK-NEXT: Instructions: 14 -# CHECK-NEXT: Total Cycles: 4 -# CHECK-NEXT: Total uOps: 14 +# CHECK: Iterations: 1000 +# CHECK-NEXT: Instructions: 14000 +# CHECK-NEXT: Total Cycles: 2335 +# CHECK-NEXT: Total uOps: 14000 # CHECK: Dispatch Width: 6 -# CHECK-NEXT: uOps Per Cycle: 3.50 -# CHECK-NEXT: IPC: 3.50 +# CHECK-NEXT: uOps Per Cycle: 6.00 +# CHECK-NEXT: IPC: 6.00 # CHECK-NEXT: Block RThroughput: 3.5 # CHECK: Instruction Info: @@ -120,8 +120,8 @@ xchgq %r15, %rax # CHECK-NEXT: Number of physical registers: 192 # CHECK-NEXT: Total number of mappings created: 0 # CHECK-NEXT: Max number of mappings used: 0 -# CHECK-NEXT: Number of optimizable moves: 14 -# CHECK-NEXT: Number of moves eliminated: 14 (100.0%) +# CHECK-NEXT: Number of optimizable moves: 14000 +# CHECK-NEXT: Number of moves eliminated: 14000 (100.0%) # CHECK-NEXT: Number of zero moves: 0 (0.0%) # CHECK-NEXT: Max moves eliminated per cycle: 6 @@ -172,22 +172,149 @@ xchgq %r15, %rax # CHECK-NEXT: - - - - - - - - - - - - - - - - - - - - - - - movl %r15d, %eax # CHECK: Timeline view: -# CHECK-NEXT: Index 0123 +# CHECK-NEXT: 0123456789 +# CHECK-NEXT: Index 0123456789 01234 -# CHECK: [0,0] DR . movl %eax, %ecx -# CHECK-NEXT: [0,1] DR . movl %ecx, %edx -# CHECK-NEXT: [0,2] DR . movl %edx, %ebp -# CHECK-NEXT: [0,3] DR . movl %ebp, %esi -# CHECK-NEXT: [0,4] DR . movl %esi, %edi -# CHECK-NEXT: [0,5] DR . movl %edi, %r8d -# CHECK-NEXT: [0,6] .DR. movl %r8d, %r9d -# CHECK-NEXT: [0,7] .DR. movl %r9d, %r10d -# CHECK-NEXT: [0,8] .DR. movl %r10d, %r11d -# CHECK-NEXT: [0,9] .DR. movl %r11d, %r12d -# CHECK-NEXT: [0,10] .DR. movl %r12d, %r13d -# CHECK-NEXT: [0,11] .DR. movl %r13d, %r14d -# CHECK-NEXT: [0,12] . DR movl %r14d, %r15d -# CHECK-NEXT: [0,13] . DR movl %r15d, %eax +# CHECK: [0,0] DR . . . . . movl %eax, %ecx +# CHECK-NEXT: [0,1] DR . . . . . movl %ecx, %edx +# CHECK-NEXT: [0,2] DR . . . . . movl %edx, %ebp +# CHECK-NEXT: [0,3] DR . . . . . movl %ebp, %esi +# CHECK-NEXT: [0,4] DR . . . . . movl %esi, %edi +# CHECK-NEXT: [0,5] DR . . . . . movl %edi, %r8d +# CHECK-NEXT: [0,6] .DR . . . . . movl %r8d, %r9d +# CHECK-NEXT: [0,7] .DR . . . . . movl %r9d, %r10d +# CHECK-NEXT: [0,8] .DR . . . . . movl %r10d, %r11d +# CHECK-NEXT: [0,9] .DR . . . . . movl %r11d, %r12d +# CHECK-NEXT: [0,10] .DR . . . . . movl %r12d, %r13d +# CHECK-NEXT: [0,11] .DR . . . . . movl %r13d, %r14d +# CHECK-NEXT: [0,12] . DR . . . . . movl %r14d, %r15d +# CHECK-NEXT: [0,13] . DR . . . . . movl %r15d, %eax +# CHECK-NEXT: [1,0] . DR . . . . . movl %eax, %ecx +# CHECK-NEXT: [1,1] . DR . . . . . movl %ecx, %edx +# CHECK-NEXT: [1,2] . DR . . . . . movl %edx, %ebp +# CHECK-NEXT: [1,3] . DR . . . . . movl %ebp, %esi +# CHECK-NEXT: [1,4] . DR. . . . . movl %esi, %edi +# CHECK-NEXT: [1,5] . DR. . . . . movl %edi, %r8d +# CHECK-NEXT: [1,6] . DR. . . . . movl %r8d, %r9d +# CHECK-NEXT: [1,7] . DR. . . . . movl %r9d, %r10d +# CHECK-NEXT: [1,8] . DR. . . . . movl %r10d, %r11d +# CHECK-NEXT: [1,9] . DR. . . . . movl %r11d, %r12d +# CHECK-NEXT: [1,10] . DR . . . . movl %r12d, %r13d +# CHECK-NEXT: [1,11] . DR . . . . movl %r13d, %r14d +# CHECK-NEXT: [1,12] . DR . . . . movl %r14d, %r15d +# CHECK-NEXT: [1,13] . DR . . . . movl %r15d, %eax +# CHECK-NEXT: [2,0] . DR . . . . movl %eax, %ecx +# CHECK-NEXT: [2,1] . DR . . . . movl %ecx, %edx +# CHECK-NEXT: [2,2] . DR . . . . movl %edx, %ebp +# CHECK-NEXT: [2,3] . DR . . . . movl %ebp, %esi +# CHECK-NEXT: [2,4] . DR . . . . movl %esi, %edi +# CHECK-NEXT: [2,5] . DR . . . . movl %edi, %r8d +# CHECK-NEXT: [2,6] . DR . . . . movl %r8d, %r9d +# CHECK-NEXT: [2,7] . DR . . . . movl %r9d, %r10d +# CHECK-NEXT: [2,8] . .DR . . . . movl %r10d, %r11d +# CHECK-NEXT: [2,9] . .DR . . . . movl %r11d, %r12d +# CHECK-NEXT: [2,10] . .DR . . . . movl %r12d, %r13d +# CHECK-NEXT: [2,11] . .DR . . . . movl %r13d, %r14d +# CHECK-NEXT: [2,12] . .DR . . . . movl %r14d, %r15d +# CHECK-NEXT: [2,13] . .DR . . . . movl %r15d, %eax +# CHECK-NEXT: [3,0] . . DR . . . . movl %eax, %ecx +# CHECK-NEXT: [3,1] . . DR . . . . movl %ecx, %edx +# CHECK-NEXT: [3,2] . . DR . . . . movl %edx, %ebp +# CHECK-NEXT: [3,3] . . DR . . . . movl %ebp, %esi +# CHECK-NEXT: [3,4] . . DR . . . . movl %esi, %edi +# CHECK-NEXT: [3,5] . . DR . . . . movl %edi, %r8d +# CHECK-NEXT: [3,6] . . DR. . . . movl %r8d, %r9d +# CHECK-NEXT: [3,7] . . DR. . . . movl %r9d, %r10d +# CHECK-NEXT: [3,8] . . DR. . . . movl %r10d, %r11d +# CHECK-NEXT: [3,9] . . DR. . . . movl %r11d, %r12d +# CHECK-NEXT: [3,10] . . DR. . . . movl %r12d, %r13d +# CHECK-NEXT: [3,11] . . DR. . . . movl %r13d, %r14d +# CHECK-NEXT: [3,12] . . DR . . . movl %r14d, %r15d +# CHECK-NEXT: [3,13] . . DR . . . movl %r15d, %eax +# CHECK-NEXT: [4,0] . . DR . . . movl %eax, %ecx +# CHECK-NEXT: [4,1] . . DR . . . movl %ecx, %edx +# CHECK-NEXT: [4,2] . . DR . . . movl %edx, %ebp +# CHECK-NEXT: [4,3] . . DR . . . movl %ebp, %esi +# CHECK-NEXT: [4,4] . . DR . . . movl %esi, %edi +# CHECK-NEXT: [4,5] . . DR . . . movl %edi, %r8d +# CHECK-NEXT: [4,6] . . DR . . . movl %r8d, %r9d +# CHECK-NEXT: [4,7] . . DR . . . movl %r9d, %r10d +# CHECK-NEXT: [4,8] . . DR . . . movl %r10d, %r11d +# CHECK-NEXT: [4,9] . . DR . . . movl %r11d, %r12d +# CHECK-NEXT: [4,10] . . .DR . . . movl %r12d, %r13d +# CHECK-NEXT: [4,11] . . .DR . . . movl %r13d, %r14d +# CHECK-NEXT: [4,12] . . .DR . . . movl %r14d, %r15d +# CHECK-NEXT: [4,13] . . .DR . . . movl %r15d, %eax +# CHECK-NEXT: [5,0] . . .DR . . . movl %eax, %ecx +# CHECK-NEXT: [5,1] . . .DR . . . movl %ecx, %edx +# CHECK-NEXT: [5,2] . . . DR . . . movl %edx, %ebp +# CHECK-NEXT: [5,3] . . . DR . . . movl %ebp, %esi +# CHECK-NEXT: [5,4] . . . DR . . . movl %esi, %edi +# CHECK-NEXT: [5,5] . . . DR . . . movl %edi, %r8d +# CHECK-NEXT: [5,6] . . . DR . . . movl %r8d, %r9d +# CHECK-NEXT: [5,7] . . . DR . . . movl %r9d, %r10d +# CHECK-NEXT: [5,8] . . . DR. . . movl %r10d, %r11d +# CHECK-NEXT: [5,9] . . . DR. . . movl %r11d, %r12d +# CHECK-NEXT: [5,10] . . . DR. . . movl %r12d, %r13d +# CHECK-NEXT: [5,11] . . . DR. . . movl %r13d, %r14d +# CHECK-NEXT: [5,12] . . . DR. . . movl %r14d, %r15d +# CHECK-NEXT: [5,13] . . . DR. . . movl %r15d, %eax +# CHECK-NEXT: [6,0] . . . DR . . movl %eax, %ecx +# CHECK-NEXT: [6,1] . . . DR . . movl %ecx, %edx +# CHECK-NEXT: [6,2] . . . DR . . movl %edx, %ebp +# CHECK-NEXT: [6,3] . . . DR . . movl %ebp, %esi +# CHECK-NEXT: [6,4] . . . DR . . movl %esi, %edi +# CHECK-NEXT: [6,5] . . . DR . . movl %edi, %r8d +# CHECK-NEXT: [6,6] . . . DR . . movl %r8d, %r9d +# CHECK-NEXT: [6,7] . . . DR . . movl %r9d, %r10d +# CHECK-NEXT: [6,8] . . . DR . . movl %r10d, %r11d +# CHECK-NEXT: [6,9] . . . DR . . movl %r11d, %r12d +# CHECK-NEXT: [6,10] . . . DR . . movl %r12d, %r13d +# CHECK-NEXT: [6,11] . . . DR . . movl %r13d, %r14d +# CHECK-NEXT: [6,12] . . . .DR . . movl %r14d, %r15d +# CHECK-NEXT: [6,13] . . . .DR . . movl %r15d, %eax +# CHECK-NEXT: [7,0] . . . .DR . . movl %eax, %ecx +# CHECK-NEXT: [7,1] . . . .DR . . movl %ecx, %edx +# CHECK-NEXT: [7,2] . . . .DR . . movl %edx, %ebp +# CHECK-NEXT: [7,3] . . . .DR . . movl %ebp, %esi +# CHECK-NEXT: [7,4] . . . . DR . . movl %esi, %edi +# CHECK-NEXT: [7,5] . . . . DR . . movl %edi, %r8d +# CHECK-NEXT: [7,6] . . . . DR . . movl %r8d, %r9d +# CHECK-NEXT: [7,7] . . . . DR . . movl %r9d, %r10d +# CHECK-NEXT: [7,8] . . . . DR . . movl %r10d, %r11d +# CHECK-NEXT: [7,9] . . . . DR . . movl %r11d, %r12d +# CHECK-NEXT: [7,10] . . . . DR. . movl %r12d, %r13d +# CHECK-NEXT: [7,11] . . . . DR. . movl %r13d, %r14d +# CHECK-NEXT: [7,12] . . . . DR. . movl %r14d, %r15d +# CHECK-NEXT: [7,13] . . . . DR. . movl %r15d, %eax +# CHECK-NEXT: [8,0] . . . . DR. . movl %eax, %ecx +# CHECK-NEXT: [8,1] . . . . DR. . movl %ecx, %edx +# CHECK-NEXT: [8,2] . . . . DR . movl %edx, %ebp +# CHECK-NEXT: [8,3] . . . . DR . movl %ebp, %esi +# CHECK-NEXT: [8,4] . . . . DR . movl %esi, %edi +# CHECK-NEXT: [8,5] . . . . DR . movl %edi, %r8d +# CHECK-NEXT: [8,6] . . . . DR . movl %r8d, %r9d +# CHECK-NEXT: [8,7] . . . . DR . movl %r9d, %r10d +# CHECK-NEXT: [8,8] . . . . DR . movl %r10d, %r11d +# CHECK-NEXT: [8,9] . . . . DR . movl %r11d, %r12d +# CHECK-NEXT: [8,10] . . . . DR . movl %r12d, %r13d +# CHECK-NEXT: [8,11] . . . . DR . movl %r13d, %r14d +# CHECK-NEXT: [8,12] . . . . DR . movl %r14d, %r15d +# CHECK-NEXT: [8,13] . . . . DR . movl %r15d, %eax +# CHECK-NEXT: [9,0] . . . . .DR . movl %eax, %ecx +# CHECK-NEXT: [9,1] . . . . .DR . movl %ecx, %edx +# CHECK-NEXT: [9,2] . . . . .DR . movl %edx, %ebp +# CHECK-NEXT: [9,3] . . . . .DR . movl %ebp, %esi +# CHECK-NEXT: [9,4] . . . . .DR . movl %esi, %edi +# CHECK-NEXT: [9,5] . . . . .DR . movl %edi, %r8d +# CHECK-NEXT: [9,6] . . . . . DR. movl %r8d, %r9d +# CHECK-NEXT: [9,7] . . . . . DR. movl %r9d, %r10d +# CHECK-NEXT: [9,8] . . . . . DR. movl %r10d, %r11d +# CHECK-NEXT: [9,9] . . . . . DR. movl %r11d, %r12d +# CHECK-NEXT: [9,10] . . . . . DR. movl %r12d, %r13d +# CHECK-NEXT: [9,11] . . . . . DR. movl %r13d, %r14d +# CHECK-NEXT: [9,12] . . . . . DR movl %r14d, %r15d +# CHECK-NEXT: [9,13] . . . . . DR movl %r15d, %eax # CHECK: Average Wait times (based on the timeline view): # CHECK-NEXT: [0]: Executions @@ -196,32 +323,32 @@ xchgq %r15, %rax # CHECK-NEXT: [3]: Average time elapsed from WB until retire stage # CHECK: [0] [1] [2] [3] -# CHECK-NEXT: 0. 1 0.0 0.0 0.0 movl %eax, %ecx -# CHECK-NEXT: 1. 1 0.0 0.0 0.0 movl %ecx, %edx -# CHECK-NEXT: 2. 1 0.0 0.0 0.0 movl %edx, %ebp -# CHECK-NEXT: 3. 1 0.0 0.0 0.0 movl %ebp, %esi -# CHECK-NEXT: 4. 1 0.0 0.0 0.0 movl %esi, %edi -# CHECK-NEXT: 5. 1 0.0 0.0 0.0 movl %edi, %r8d -# CHECK-NEXT: 6. 1 0.0 0.0 0.0 movl %r8d, %r9d -# CHECK-NEXT: 7. 1 0.0 0.0 0.0 movl %r9d, %r10d -# CHECK-NEXT: 8. 1 0.0 0.0 0.0 movl %r10d, %r11d -# CHECK-NEXT: 9. 1 0.0 0.0 0.0 movl %r11d, %r12d -# CHECK-NEXT: 10. 1 0.0 0.0 0.0 movl %r12d, %r13d -# CHECK-NEXT: 11. 1 0.0 0.0 0.0 movl %r13d, %r14d -# CHECK-NEXT: 12. 1 0.0 0.0 0.0 movl %r14d, %r15d -# CHECK-NEXT: 13. 1 0.0 0.0 0.0 movl %r15d, %eax -# CHECK-NEXT: 1 0.0 0.0 0.0 +# CHECK-NEXT: 0. 10 0.0 0.0 0.0 movl %eax, %ecx +# CHECK-NEXT: 1. 10 0.0 0.0 0.0 movl %ecx, %edx +# CHECK-NEXT: 2. 10 0.0 0.0 0.0 movl %edx, %ebp +# CHECK-NEXT: 3. 10 0.0 0.0 0.0 movl %ebp, %esi +# CHECK-NEXT: 4. 10 0.0 0.0 0.0 movl %esi, %edi +# CHECK-NEXT: 5. 10 0.0 0.0 0.0 movl %edi, %r8d +# CHECK-NEXT: 6. 10 0.0 0.0 0.0 movl %r8d, %r9d +# CHECK-NEXT: 7. 10 0.0 0.0 0.0 movl %r9d, %r10d +# CHECK-NEXT: 8. 10 0.0 0.0 0.0 movl %r10d, %r11d +# CHECK-NEXT: 9. 10 0.0 0.0 0.0 movl %r11d, %r12d +# CHECK-NEXT: 10. 10 0.0 0.0 0.0 movl %r12d, %r13d +# CHECK-NEXT: 11. 10 0.0 0.0 0.0 movl %r13d, %r14d +# CHECK-NEXT: 12. 10 0.0 0.0 0.0 movl %r14d, %r15d +# CHECK-NEXT: 13. 10 0.0 0.0 0.0 movl %r15d, %eax +# CHECK-NEXT: 10 0.0 0.0 0.0 # CHECK: [1] Code Region -# CHECK: Iterations: 1 -# CHECK-NEXT: Instructions: 14 -# CHECK-NEXT: Total Cycles: 4 -# CHECK-NEXT: Total uOps: 14 +# CHECK: Iterations: 1000 +# CHECK-NEXT: Instructions: 14000 +# CHECK-NEXT: Total Cycles: 2335 +# CHECK-NEXT: Total uOps: 14000 # CHECK: Dispatch Width: 6 -# CHECK-NEXT: uOps Per Cycle: 3.50 -# CHECK-NEXT: IPC: 3.50 +# CHECK-NEXT: uOps Per Cycle: 6.00 +# CHECK-NEXT: IPC: 6.00 # CHECK-NEXT: Block RThroughput: 3.5 # CHECK: Instruction Info: @@ -261,8 +388,8 @@ xchgq %r15, %rax # CHECK-NEXT: Number of physical registers: 192 # CHECK-NEXT: Total number of mappings created: 0 # CHECK-NEXT: Max number of mappings used: 0 -# CHECK-NEXT: Number of optimizable moves: 14 -# CHECK-NEXT: Number of moves eliminated: 14 (100.0%) +# CHECK-NEXT: Number of optimizable moves: 14000 +# CHECK-NEXT: Number of moves eliminated: 14000 (100.0%) # CHECK-NEXT: Number of zero moves: 0 (0.0%) # CHECK-NEXT: Max moves eliminated per cycle: 6 @@ -313,22 +440,149 @@ xchgq %r15, %rax # CHECK-NEXT: - - - - - - - - - - - - - - - - - - - - - - - movq %r15, %rax # CHECK: Timeline view: -# CHECK-NEXT: Index 0123 +# CHECK-NEXT: 0123456789 +# CHECK-NEXT: Index 0123456789 01234 -# CHECK: [0,0] DR . movq %rax, %rcx -# CHECK-NEXT: [0,1] DR . movq %rcx, %rdx -# CHECK-NEXT: [0,2] DR . movq %rdx, %rbp -# CHECK-NEXT: [0,3] DR . movq %rbp, %rsi -# CHECK-NEXT: [0,4] DR . movq %rsi, %rdi -# CHECK-NEXT: [0,5] DR . movq %rdi, %r8 -# CHECK-NEXT: [0,6] .DR. movq %r8, %r9 -# CHECK-NEXT: [0,7] .DR. movq %r9, %r10 -# CHECK-NEXT: [0,8] .DR. movq %r10, %r11 -# CHECK-NEXT: [0,9] .DR. movq %r11, %r12 -# CHECK-NEXT: [0,10] .DR. movq %r12, %r13 -# CHECK-NEXT: [0,11] .DR. movq %r13, %r14 -# CHECK-NEXT: [0,12] . DR movq %r14, %r15 -# CHECK-NEXT: [0,13] . DR movq %r15, %rax +# CHECK: [0,0] DR . . . . . movq %rax, %rcx +# CHECK-NEXT: [0,1] DR . . . . . movq %rcx, %rdx +# CHECK-NEXT: [0,2] DR . . . . . movq %rdx, %rbp +# CHECK-NEXT: [0,3] DR . . . . . movq %rbp, %rsi +# CHECK-NEXT: [0,4] DR . . . . . movq %rsi, %rdi +# CHECK-NEXT: [0,5] DR . . . . . movq %rdi, %r8 +# CHECK-NEXT: [0,6] .DR . . . . . movq %r8, %r9 +# CHECK-NEXT: [0,7] .DR . . . . . movq %r9, %r10 +# CHECK-NEXT: [0,8] .DR . . . . . movq %r10, %r11 +# CHECK-NEXT: [0,9] .DR . . . . . movq %r11, %r12 +# CHECK-NEXT: [0,10] .DR . . . . . movq %r12, %r13 +# CHECK-NEXT: [0,11] .DR . . . . . movq %r13, %r14 +# CHECK-NEXT: [0,12] . DR . . . . . movq %r14, %r15 +# CHECK-NEXT: [0,13] . DR . . . . . movq %r15, %rax +# CHECK-NEXT: [1,0] . DR . . . . . movq %rax, %rcx +# CHECK-NEXT: [1,1] . DR . . . . . movq %rcx, %rdx +# CHECK-NEXT: [1,2] . DR . . . . . movq %rdx, %rbp +# CHECK-NEXT: [1,3] . DR . . . . . movq %rbp, %rsi +# CHECK-NEXT: [1,4] . DR. . . . . movq %rsi, %rdi +# CHECK-NEXT: [1,5] . DR. . . . . movq %rdi, %r8 +# CHECK-NEXT: [1,6] . DR. . . . . movq %r8, %r9 +# CHECK-NEXT: [1,7] . DR. . . . . movq %r9, %r10 +# CHECK-NEXT: [1,8] . DR. . . . . movq %r10, %r11 +# CHECK-NEXT: [1,9] . DR. . . . . movq %r11, %r12 +# CHECK-NEXT: [1,10] . DR . . . . movq %r12, %r13 +# CHECK-NEXT: [1,11] . DR . . . . movq %r13, %r14 +# CHECK-NEXT: [1,12] . DR . . . . movq %r14, %r15 +# CHECK-NEXT: [1,13] . DR . . . . movq %r15, %rax +# CHECK-NEXT: [2,0] . DR . . . . movq %rax, %rcx +# CHECK-NEXT: [2,1] . DR . . . . movq %rcx, %rdx +# CHECK-NEXT: [2,2] . DR . . . . movq %rdx, %rbp +# CHECK-NEXT: [2,3] . DR . . . . movq %rbp, %rsi +# CHECK-NEXT: [2,4] . DR . . . . movq %rsi, %rdi +# CHECK-NEXT: [2,5] . DR . . . . movq %rdi, %r8 +# CHECK-NEXT: [2,6] . DR . . . . movq %r8, %r9 +# CHECK-NEXT: [2,7] . DR . . . . movq %r9, %r10 +# CHECK-NEXT: [2,8] . .DR . . . . movq %r10, %r11 +# CHECK-NEXT: [2,9] . .DR . . . . movq %r11, %r12 +# CHECK-NEXT: [2,10] . .DR . . . . movq %r12, %r13 +# CHECK-NEXT: [2,11] . .DR . . . . movq %r13, %r14 +# CHECK-NEXT: [2,12] . .DR . . . . movq %r14, %r15 +# CHECK-NEXT: [2,13] . .DR . . . . movq %r15, %rax +# CHECK-NEXT: [3,0] . . DR . . . . movq %rax, %rcx +# CHECK-NEXT: [3,1] . . DR . . . . movq %rcx, %rdx +# CHECK-NEXT: [3,2] . . DR . . . . movq %rdx, %rbp +# CHECK-NEXT: [3,3] . . DR . . . . movq %rbp, %rsi +# CHECK-NEXT: [3,4] . . DR . . . . movq %rsi, %rdi +# CHECK-NEXT: [3,5] . . DR . . . . movq %rdi, %r8 +# CHECK-NEXT: [3,6] . . DR. . . . movq %r8, %r9 +# CHECK-NEXT: [3,7] . . DR. . . . movq %r9, %r10 +# CHECK-NEXT: [3,8] . . DR. . . . movq %r10, %r11 +# CHECK-NEXT: [3,9] . . DR. . . . movq %r11, %r12 +# CHECK-NEXT: [3,10] . . DR. . . . movq %r12, %r13 +# CHECK-NEXT: [3,11] . . DR. . . . movq %r13, %r14 +# CHECK-NEXT: [3,12] . . DR . . . movq %r14, %r15 +# CHECK-NEXT: [3,13] . . DR . . . movq %r15, %rax +# CHECK-NEXT: [4,0] . . DR . . . movq %rax, %rcx +# CHECK-NEXT: [4,1] . . DR . . . movq %rcx, %rdx +# CHECK-NEXT: [4,2] . . DR . . . movq %rdx, %rbp +# CHECK-NEXT: [4,3] . . DR . . . movq %rbp, %rsi +# CHECK-NEXT: [4,4] . . DR . . . movq %rsi, %rdi +# CHECK-NEXT: [4,5] . . DR . . . movq %rdi, %r8 +# CHECK-NEXT: [4,6] . . DR . . . movq %r8, %r9 +# CHECK-NEXT: [4,7] . . DR . . . movq %r9, %r10 +# CHECK-NEXT: [4,8] . . DR . . . movq %r10, %r11 +# CHECK-NEXT: [4,9] . . DR . . . movq %r11, %r12 +# CHECK-NEXT: [4,10] . . .DR . . . movq %r12, %r13 +# CHECK-NEXT: [4,11] . . .DR . . . movq %r13, %r14 +# CHECK-NEXT: [4,12] . . .DR . . . movq %r14, %r15 +# CHECK-NEXT: [4,13] . . .DR . . . movq %r15, %rax +# CHECK-NEXT: [5,0] . . .DR . . . movq %rax, %rcx +# CHECK-NEXT: [5,1] . . .DR . . . movq %rcx, %rdx +# CHECK-NEXT: [5,2] . . . DR . . . movq %rdx, %rbp +# CHECK-NEXT: [5,3] . . . DR . . . movq %rbp, %rsi +# CHECK-NEXT: [5,4] . . . DR . . . movq %rsi, %rdi +# CHECK-NEXT: [5,5] . . . DR . . . movq %rdi, %r8 +# CHECK-NEXT: [5,6] . . . DR . . . movq %r8, %r9 +# CHECK-NEXT: [5,7] . . . DR . . . movq %r9, %r10 +# CHECK-NEXT: [5,8] . . . DR. . . movq %r10, %r11 +# CHECK-NEXT: [5,9] . . . DR. . . movq %r11, %r12 +# CHECK-NEXT: [5,10] . . . DR. . . movq %r12, %r13 +# CHECK-NEXT: [5,11] . . . DR. . . movq %r13, %r14 +# CHECK-NEXT: [5,12] . . . DR. . . movq %r14, %r15 +# CHECK-NEXT: [5,13] . . . DR. . . movq %r15, %rax +# CHECK-NEXT: [6,0] . . . DR . . movq %rax, %rcx +# CHECK-NEXT: [6,1] . . . DR . . movq %rcx, %rdx +# CHECK-NEXT: [6,2] . . . DR . . movq %rdx, %rbp +# CHECK-NEXT: [6,3] . . . DR . . movq %rbp, %rsi +# CHECK-NEXT: [6,4] . . . DR . . movq %rsi, %rdi +# CHECK-NEXT: [6,5] . . . DR . . movq %rdi, %r8 +# CHECK-NEXT: [6,6] . . . DR . . movq %r8, %r9 +# CHECK-NEXT: [6,7] . . . DR . . movq %r9, %r10 +# CHECK-NEXT: [6,8] . . . DR . . movq %r10, %r11 +# CHECK-NEXT: [6,9] . . . DR . . movq %r11, %r12 +# CHECK-NEXT: [6,10] . . . DR . . movq %r12, %r13 +# CHECK-NEXT: [6,11] . . . DR . . movq %r13, %r14 +# CHECK-NEXT: [6,12] . . . .DR . . movq %r14, %r15 +# CHECK-NEXT: [6,13] . . . .DR . . movq %r15, %rax +# CHECK-NEXT: [7,0] . . . .DR . . movq %rax, %rcx +# CHECK-NEXT: [7,1] . . . .DR . . movq %rcx, %rdx +# CHECK-NEXT: [7,2] . . . .DR . . movq %rdx, %rbp +# CHECK-NEXT: [7,3] . . . .DR . . movq %rbp, %rsi +# CHECK-NEXT: [7,4] . . . . DR . . movq %rsi, %rdi +# CHECK-NEXT: [7,5] . . . . DR . . movq %rdi, %r8 +# CHECK-NEXT: [7,6] . . . . DR . . movq %r8, %r9 +# CHECK-NEXT: [7,7] . . . . DR . . movq %r9, %r10 +# CHECK-NEXT: [7,8] . . . . DR . . movq %r10, %r11 +# CHECK-NEXT: [7,9] . . . . DR . . movq %r11, %r12 +# CHECK-NEXT: [7,10] . . . . DR. . movq %r12, %r13 +# CHECK-NEXT: [7,11] . . . . DR. . movq %r13, %r14 +# CHECK-NEXT: [7,12] . . . . DR. . movq %r14, %r15 +# CHECK-NEXT: [7,13] . . . . DR. . movq %r15, %rax +# CHECK-NEXT: [8,0] . . . . DR. . movq %rax, %rcx +# CHECK-NEXT: [8,1] . . . . DR. . movq %rcx, %rdx +# CHECK-NEXT: [8,2] . . . . DR . movq %rdx, %rbp +# CHECK-NEXT: [8,3] . . . . DR . movq %rbp, %rsi +# CHECK-NEXT: [8,4] . . . . DR . movq %rsi, %rdi +# CHECK-NEXT: [8,5] . . . . DR . movq %rdi, %r8 +# CHECK-NEXT: [8,6] . . . . DR . movq %r8, %r9 +# CHECK-NEXT: [8,7] . . . . DR . movq %r9, %r10 +# CHECK-NEXT: [8,8] . . . . DR . movq %r10, %r11 +# CHECK-NEXT: [8,9] . . . . DR . movq %r11, %r12 +# CHECK-NEXT: [8,10] . . . . DR . movq %r12, %r13 +# CHECK-NEXT: [8,11] . . . . DR . movq %r13, %r14 +# CHECK-NEXT: [8,12] . . . . DR . movq %r14, %r15 +# CHECK-NEXT: [8,13] . . . . DR . movq %r15, %rax +# CHECK-NEXT: [9,0] . . . . .DR . movq %rax, %rcx +# CHECK-NEXT: [9,1] . . . . .DR . movq %rcx, %rdx +# CHECK-NEXT: [9,2] . . . . .DR . movq %rdx, %rbp +# CHECK-NEXT: [9,3] . . . . .DR . movq %rbp, %rsi +# CHECK-NEXT: [9,4] . . . . .DR . movq %rsi, %rdi +# CHECK-NEXT: [9,5] . . . . .DR . movq %rdi, %r8 +# CHECK-NEXT: [9,6] . . . . . DR. movq %r8, %r9 +# CHECK-NEXT: [9,7] . . . . . DR. movq %r9, %r10 +# CHECK-NEXT: [9,8] . . . . . DR. movq %r10, %r11 +# CHECK-NEXT: [9,9] . . . . . DR. movq %r11, %r12 +# CHECK-NEXT: [9,10] . . . . . DR. movq %r12, %r13 +# CHECK-NEXT: [9,11] . . . . . DR. movq %r13, %r14 +# CHECK-NEXT: [9,12] . . . . . DR movq %r14, %r15 +# CHECK-NEXT: [9,13] . . . . . DR movq %r15, %rax # CHECK: Average Wait times (based on the timeline view): # CHECK-NEXT: [0]: Executions @@ -337,32 +591,32 @@ xchgq %r15, %rax # CHECK-NEXT: [3]: Average time elapsed from WB until retire stage # CHECK: [0] [1] [2] [3] -# CHECK-NEXT: 0. 1 0.0 0.0 0.0 movq %rax, %rcx -# CHECK-NEXT: 1. 1 0.0 0.0 0.0 movq %rcx, %rdx -# CHECK-NEXT: 2. 1 0.0 0.0 0.0 movq %rdx, %rbp -# CHECK-NEXT: 3. 1 0.0 0.0 0.0 movq %rbp, %rsi -# CHECK-NEXT: 4. 1 0.0 0.0 0.0 movq %rsi, %rdi -# CHECK-NEXT: 5. 1 0.0 0.0 0.0 movq %rdi, %r8 -# CHECK-NEXT: 6. 1 0.0 0.0 0.0 movq %r8, %r9 -# CHECK-NEXT: 7. 1 0.0 0.0 0.0 movq %r9, %r10 -# CHECK-NEXT: 8. 1 0.0 0.0 0.0 movq %r10, %r11 -# CHECK-NEXT: 9. 1 0.0 0.0 0.0 movq %r11, %r12 -# CHECK-NEXT: 10. 1 0.0 0.0 0.0 movq %r12, %r13 -# CHECK-NEXT: 11. 1 0.0 0.0 0.0 movq %r13, %r14 -# CHECK-NEXT: 12. 1 0.0 0.0 0.0 movq %r14, %r15 -# CHECK-NEXT: 13. 1 0.0 0.0 0.0 movq %r15, %rax -# CHECK-NEXT: 1 0.0 0.0 0.0 +# CHECK-NEXT: 0. 10 0.0 0.0 0.0 movq %rax, %rcx +# CHECK-NEXT: 1. 10 0.0 0.0 0.0 movq %rcx, %rdx +# CHECK-NEXT: 2. 10 0.0 0.0 0.0 movq %rdx, %rbp +# CHECK-NEXT: 3. 10 0.0 0.0 0.0 movq %rbp, %rsi +# CHECK-NEXT: 4. 10 0.0 0.0 0.0 movq %rsi, %rdi +# CHECK-NEXT: 5. 10 0.0 0.0 0.0 movq %rdi, %r8 +# CHECK-NEXT: 6. 10 0.0 0.0 0.0 movq %r8, %r9 +# CHECK-NEXT: 7. 10 0.0 0.0 0.0 movq %r9, %r10 +# CHECK-NEXT: 8. 10 0.0 0.0 0.0 movq %r10, %r11 +# CHECK-NEXT: 9. 10 0.0 0.0 0.0 movq %r11, %r12 +# CHECK-NEXT: 10. 10 0.0 0.0 0.0 movq %r12, %r13 +# CHECK-NEXT: 11. 10 0.0 0.0 0.0 movq %r13, %r14 +# CHECK-NEXT: 12. 10 0.0 0.0 0.0 movq %r14, %r15 +# CHECK-NEXT: 13. 10 0.0 0.0 0.0 movq %r15, %rax +# CHECK-NEXT: 10 0.0 0.0 0.0 # CHECK: [2] Code Region -# CHECK: Iterations: 1 -# CHECK-NEXT: Instructions: 14 -# CHECK-NEXT: Total Cycles: 27 -# CHECK-NEXT: Total uOps: 28 +# CHECK: Iterations: 1000 +# CHECK-NEXT: Instructions: 14000 +# CHECK-NEXT: Total Cycles: 27996 +# CHECK-NEXT: Total uOps: 28000 # CHECK: Dispatch Width: 6 -# CHECK-NEXT: uOps Per Cycle: 1.04 -# CHECK-NEXT: IPC: 0.52 +# CHECK-NEXT: uOps Per Cycle: 1.00 +# CHECK-NEXT: IPC: 0.50 # CHECK-NEXT: Block RThroughput: 28.0 # CHECK: Instruction Info: @@ -390,8 +644,8 @@ xchgq %r15, %rax # CHECK-NEXT: 2 0 2.00 xchgl %r15d, %eax # CHECK: Register File statistics: -# CHECK-NEXT: Total number of mappings created: 28 -# CHECK-NEXT: Max number of mappings used: 20 +# CHECK-NEXT: Total number of mappings created: 28000 +# CHECK-NEXT: Max number of mappings used: 192 # CHECK: * Register File #1 -- Zn3FpPRF: # CHECK-NEXT: Number of physical registers: 160 @@ -400,8 +654,8 @@ xchgq %r15, %rax # CHECK: * Register File #2 -- Zn3IntegerPRF: # CHECK-NEXT: Number of physical registers: 192 -# CHECK-NEXT: Total number of mappings created: 28 -# CHECK-NEXT: Max number of mappings used: 20 +# CHECK-NEXT: Total number of mappings created: 28000 +# CHECK-NEXT: Max number of mappings used: 192 # CHECK: Resources: # CHECK-NEXT: [0] - Zn3AGU0 @@ -430,43 +684,69 @@ xchgq %r15, %rax # CHECK: Resource pressure per iteration: # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12.0] [12.1] [13] [14.0] [14.1] [14.2] [15.0] [15.1] [15.2] [16.0] [16.1] -# CHECK-NEXT: - - - 24.00 24.00 32.00 32.00 - - - - - - - - - - - - - - - - +# CHECK-NEXT: - - - 28.00 28.00 28.00 28.00 - - - - - - - - - - - - - - - - # CHECK: Resource pressure by instruction: # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12.0] [12.1] [13] [14.0] [14.1] [14.2] [15.0] [15.1] [15.2] [16.0] [16.1] Instructions: -# CHECK-NEXT: - - - - - - 8.00 - - - - - - - - - - - - - - - - xchgl %ecx, %eax -# CHECK-NEXT: - - - - - 8.00 - - - - - - - - - - - - - - - - - xchgl %ecx, %edx -# CHECK-NEXT: - - - - 8.00 - - - - - - - - - - - - - - - - - - xchgl %edx, %ebp -# CHECK-NEXT: - - - 8.00 - - - - - - - - - - - - - - - - - - - xchgl %ebp, %esi -# CHECK-NEXT: - - - - - - 8.00 - - - - - - - - - - - - - - - - xchgl %esi, %edi -# CHECK-NEXT: - - - - - 8.00 - - - - - - - - - - - - - - - - - xchgl %edi, %r8d -# CHECK-NEXT: - - - - 8.00 - - - - - - - - - - - - - - - - - - xchgl %r8d, %r9d -# CHECK-NEXT: - - - 8.00 - - - - - - - - - - - - - - - - - - - xchgl %r9d, %r10d -# CHECK-NEXT: - - - - - - 8.00 - - - - - - - - - - - - - - - - xchgl %r10d, %r11d -# CHECK-NEXT: - - - - - 8.00 - - - - - - - - - - - - - - - - - xchgl %r11d, %r12d -# CHECK-NEXT: - - - - 8.00 - - - - - - - - - - - - - - - - - - xchgl %r12d, %r13d -# CHECK-NEXT: - - - 8.00 - - - - - - - - - - - - - - - - - - - xchgl %r13d, %r14d -# CHECK-NEXT: - - - - - - 8.00 - - - - - - - - - - - - - - - - xchgl %r14d, %r15d -# CHECK-NEXT: - - - - - 8.00 - - - - - - - - - - - - - - - - - xchgl %r15d, %eax +# CHECK-NEXT: - - - - 4.00 - 4.00 - - - - - - - - - - - - - - - - xchgl %ecx, %eax +# CHECK-NEXT: - - - 4.00 - 4.00 - - - - - - - - - - - - - - - - - xchgl %ecx, %edx +# CHECK-NEXT: - - - - 4.00 - 4.00 - - - - - - - - - - - - - - - - xchgl %edx, %ebp +# CHECK-NEXT: - - - 4.00 - 4.00 - - - - - - - - - - - - - - - - - xchgl %ebp, %esi +# CHECK-NEXT: - - - - 4.00 - 4.00 - - - - - - - - - - - - - - - - xchgl %esi, %edi +# CHECK-NEXT: - - - 4.00 - 4.00 - - - - - - - - - - - - - - - - - xchgl %edi, %r8d +# CHECK-NEXT: - - - - 4.00 - 4.00 - - - - - - - - - - - - - - - - xchgl %r8d, %r9d +# CHECK-NEXT: - - - 4.00 - 4.00 - - - - - - - - - - - - - - - - - xchgl %r9d, %r10d +# CHECK-NEXT: - - - - 4.00 - 4.00 - - - - - - - - - - - - - - - - xchgl %r10d, %r11d +# CHECK-NEXT: - - - 4.00 - 4.00 - - - - - - - - - - - - - - - - - xchgl %r11d, %r12d +# CHECK-NEXT: - - - - 4.00 - 4.00 - - - - - - - - - - - - - - - - xchgl %r12d, %r13d +# CHECK-NEXT: - - - 4.00 - 4.00 - - - - - - - - - - - - - - - - - xchgl %r13d, %r14d +# CHECK-NEXT: - - - - 4.00 - 4.00 - - - - - - - - - - - - - - - - xchgl %r14d, %r15d +# CHECK-NEXT: - - - 4.00 - 4.00 - - - - - - - - - - - - - - - - - xchgl %r15d, %eax # CHECK: Timeline view: -# CHECK-NEXT: 0123456789 -# CHECK-NEXT: Index 0123456789 0123456 +# CHECK-NEXT: 0123456789 0123456789 0123456789 012345 +# CHECK-NEXT: Index 0123456789 0123456789 0123456789 0123456789 -# CHECK: [0,0] DER . . . . .. xchgl %ecx, %eax -# CHECK-NEXT: [0,1] DER . . . . .. xchgl %ecx, %edx -# CHECK-NEXT: [0,2] DER . . . . .. xchgl %edx, %ebp -# CHECK-NEXT: [0,3] .DER . . . . .. xchgl %ebp, %esi -# CHECK-NEXT: [0,4] .D=======ER . . .. xchgl %esi, %edi -# CHECK-NEXT: [0,5] .D=======ER . . .. xchgl %edi, %r8d -# CHECK-NEXT: [0,6] . D======ER . . .. xchgl %r8d, %r9d -# CHECK-NEXT: [0,7] . D=======ER . . .. xchgl %r9d, %r10d -# CHECK-NEXT: [0,8] . D==============ER . .. xchgl %r10d, %r11d -# CHECK-NEXT: [0,9] . D=============ER . .. xchgl %r11d, %r12d -# CHECK-NEXT: [0,10] . D=============ER . .. xchgl %r12d, %r13d -# CHECK-NEXT: [0,11] . D==============ER. .. xchgl %r13d, %r14d -# CHECK-NEXT: [0,12] . D====================ER xchgl %r14d, %r15d -# CHECK-NEXT: [0,13] . D====================ER xchgl %r15d, %eax +# CHECK: [0,0] DER . . . . . . . . . . . . . . . xchgl %ecx, %eax +# CHECK-NEXT: [0,1] DER . . . . . . . . . . . . . . . xchgl %ecx, %edx +# CHECK-NEXT: [0,2] DER . . . . . . . . . . . . . . . xchgl %edx, %ebp +# CHECK-NEXT: [0,3] .DER . . . . . . . . . . . . . . . xchgl %ebp, %esi +# CHECK-NEXT: [0,4] .D=======ER . . . . . . . . . . . . . xchgl %esi, %edi +# CHECK-NEXT: [0,5] .D=======ER . . . . . . . . . . . . . xchgl %edi, %r8d +# CHECK-NEXT: [0,6] . D======ER . . . . . . . . . . . . . xchgl %r8d, %r9d +# CHECK-NEXT: [0,7] . D=======ER . . . . . . . . . . . . . xchgl %r9d, %r10d +# CHECK-NEXT: [0,8] . D==============ER . . . . . . . . . . . . xchgl %r10d, %r11d +# CHECK-NEXT: [0,9] . D=============ER . . . . . . . . . . . . xchgl %r11d, %r12d +# CHECK-NEXT: [0,10] . D=============ER . . . . . . . . . . . . xchgl %r12d, %r13d +# CHECK-NEXT: [0,11] . D==============ER. . . . . . . . . . . . xchgl %r13d, %r14d +# CHECK-NEXT: [0,12] . D====================ER . . . . . . . . . . xchgl %r14d, %r15d +# CHECK-NEXT: [0,13] . D====================ER . . . . . . . . . . xchgl %r15d, %eax +# CHECK-NEXT: [1,0] . D====================ER . . . . . . . . . . xchgl %ecx, %eax +# CHECK-NEXT: [1,1] . D====================ER . . . . . . . . . . xchgl %ecx, %edx +# CHECK-NEXT: [1,2] . D===========================ER. . . . . . . . . xchgl %edx, %ebp +# CHECK-NEXT: [1,3] . D===========================ER. . . . . . . . . xchgl %ebp, %esi +# CHECK-NEXT: [1,4] . .D==========================ER. . . . . . . . . xchgl %esi, %edi +# CHECK-NEXT: [1,5] . .D===========================ER . . . . . . . . xchgl %edi, %r8d +# CHECK-NEXT: [1,6] . .D==================================ER . . . . . . . xchgl %r8d, %r9d +# CHECK-NEXT: [1,7] . . D=================================ER . . . . . . . xchgl %r9d, %r10d +# CHECK-NEXT: [1,8] . . D=================================ER . . . . . . . xchgl %r10d, %r11d +# CHECK-NEXT: [1,9] . . D==================================ER . . . . . . . xchgl %r11d, %r12d +# CHECK-NEXT: [1,10] . . D========================================ER . . . . . xchgl %r12d, %r13d +# CHECK-NEXT: [1,11] . . D========================================ER . . . . . xchgl %r13d, %r14d +# CHECK-NEXT: [1,12] . . D========================================ER . . . . . xchgl %r14d, %r15d +# CHECK-NEXT: [1,13] . . D========================================ER . . . . . xchgl %r15d, %eax +# CHECK-NEXT: [2,0] . . D===============================================ER . . . . xchgl %ecx, %eax +# CHECK-NEXT: [2,1] . . D===============================================ER . . . . xchgl %ecx, %edx +# CHECK-NEXT: [2,2] . . D==============================================ER . . . . xchgl %edx, %ebp +# CHECK-NEXT: [2,3] . . D===============================================ER. . . . xchgl %ebp, %esi +# CHECK-NEXT: [2,4] . . D======================================================ER . . xchgl %esi, %edi +# CHECK-NEXT: [2,5] . . .D=====================================================ER . . xchgl %edi, %r8d +# CHECK-NEXT: [2,6] . . .D=====================================================ER . . xchgl %r8d, %r9d +# CHECK-NEXT: [2,7] . . .D======================================================ER . . xchgl %r9d, %r10d +# CHECK-NEXT: [2,8] . . . D============================================================ER. xchgl %r10d, %r11d +# CHECK-NEXT: [2,9] . . . D============================================================ER. xchgl %r11d, %r12d +# CHECK-NEXT: [2,10] . . . D============================================================ER. xchgl %r12d, %r13d +# CHECK-NEXT: [2,11] . . . D============================================================ER xchgl %r13d, %r14d # CHECK: Average Wait times (based on the timeline view): # CHECK-NEXT: [0]: Executions @@ -475,32 +755,32 @@ xchgq %r15, %rax # CHECK-NEXT: [3]: Average time elapsed from WB until retire stage # CHECK: [0] [1] [2] [3] -# CHECK-NEXT: 0. 1 1.0 1.0 0.0 xchgl %ecx, %eax -# CHECK-NEXT: 1. 1 1.0 0.0 0.0 xchgl %ecx, %edx -# CHECK-NEXT: 2. 1 1.0 0.0 0.0 xchgl %edx, %ebp -# CHECK-NEXT: 3. 1 1.0 1.0 0.0 xchgl %ebp, %esi -# CHECK-NEXT: 4. 1 8.0 7.0 0.0 xchgl %esi, %edi -# CHECK-NEXT: 5. 1 8.0 0.0 0.0 xchgl %edi, %r8d -# CHECK-NEXT: 6. 1 7.0 0.0 0.0 xchgl %r8d, %r9d -# CHECK-NEXT: 7. 1 8.0 1.0 0.0 xchgl %r9d, %r10d -# CHECK-NEXT: 8. 1 15.0 7.0 0.0 xchgl %r10d, %r11d -# CHECK-NEXT: 9. 1 14.0 0.0 0.0 xchgl %r11d, %r12d -# CHECK-NEXT: 10. 1 14.0 0.0 0.0 xchgl %r12d, %r13d -# CHECK-NEXT: 11. 1 15.0 1.0 0.0 xchgl %r13d, %r14d -# CHECK-NEXT: 12. 1 21.0 7.0 0.0 xchgl %r14d, %r15d -# CHECK-NEXT: 13. 1 21.0 0.0 0.0 xchgl %r15d, %eax -# CHECK-NEXT: 1 9.6 1.8 0.0 +# CHECK-NEXT: 0. 10 102.7 2.9 0.0 xchgl %ecx, %eax +# CHECK-NEXT: 1. 10 102.8 0.5 0.0 xchgl %ecx, %edx +# CHECK-NEXT: 2. 10 105.3 3.5 0.0 xchgl %edx, %ebp +# CHECK-NEXT: 3. 10 105.5 0.5 0.0 xchgl %ebp, %esi +# CHECK-NEXT: 4. 10 108.3 3.5 0.0 xchgl %esi, %edi +# CHECK-NEXT: 5. 10 108.5 0.5 0.0 xchgl %edi, %r8d +# CHECK-NEXT: 6. 10 111.0 3.5 0.0 xchgl %r8d, %r9d +# CHECK-NEXT: 7. 10 111.1 0.5 0.0 xchgl %r9d, %r10d +# CHECK-NEXT: 8. 10 113.7 3.5 0.0 xchgl %r10d, %r11d +# CHECK-NEXT: 9. 10 113.8 0.5 0.0 xchgl %r11d, %r12d +# CHECK-NEXT: 10. 10 116.3 3.5 0.0 xchgl %r12d, %r13d +# CHECK-NEXT: 11. 10 116.5 0.5 0.0 xchgl %r13d, %r14d +# CHECK-NEXT: 12. 10 119.0 3.5 0.0 xchgl %r14d, %r15d +# CHECK-NEXT: 13. 10 119.1 0.5 0.0 xchgl %r15d, %eax +# CHECK-NEXT: 10 111.0 2.0 0.0 # CHECK: [3] Code Region -# CHECK: Iterations: 1 -# CHECK-NEXT: Instructions: 14 -# CHECK-NEXT: Total Cycles: 27 -# CHECK-NEXT: Total uOps: 28 +# CHECK: Iterations: 1000 +# CHECK-NEXT: Instructions: 14000 +# CHECK-NEXT: Total Cycles: 27996 +# CHECK-NEXT: Total uOps: 28000 # CHECK: Dispatch Width: 6 -# CHECK-NEXT: uOps Per Cycle: 1.04 -# CHECK-NEXT: IPC: 0.52 +# CHECK-NEXT: uOps Per Cycle: 1.00 +# CHECK-NEXT: IPC: 0.50 # CHECK-NEXT: Block RThroughput: 28.0 # CHECK: Instruction Info: @@ -528,8 +808,8 @@ xchgq %r15, %rax # CHECK-NEXT: 2 0 2.00 xchgq %r15, %rax # CHECK: Register File statistics: -# CHECK-NEXT: Total number of mappings created: 28 -# CHECK-NEXT: Max number of mappings used: 20 +# CHECK-NEXT: Total number of mappings created: 28000 +# CHECK-NEXT: Max number of mappings used: 192 # CHECK: * Register File #1 -- Zn3FpPRF: # CHECK-NEXT: Number of physical registers: 160 @@ -538,8 +818,8 @@ xchgq %r15, %rax # CHECK: * Register File #2 -- Zn3IntegerPRF: # CHECK-NEXT: Number of physical registers: 192 -# CHECK-NEXT: Total number of mappings created: 28 -# CHECK-NEXT: Max number of mappings used: 20 +# CHECK-NEXT: Total number of mappings created: 28000 +# CHECK-NEXT: Max number of mappings used: 192 # CHECK: Resources: # CHECK-NEXT: [0] - Zn3AGU0 @@ -568,43 +848,69 @@ xchgq %r15, %rax # CHECK: Resource pressure per iteration: # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12.0] [12.1] [13] [14.0] [14.1] [14.2] [15.0] [15.1] [15.2] [16.0] [16.1] -# CHECK-NEXT: - - - 24.00 24.00 32.00 32.00 - - - - - - - - - - - - - - - - +# CHECK-NEXT: - - - 28.00 28.00 28.00 28.00 - - - - - - - - - - - - - - - - # CHECK: Resource pressure by instruction: # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12.0] [12.1] [13] [14.0] [14.1] [14.2] [15.0] [15.1] [15.2] [16.0] [16.1] Instructions: -# CHECK-NEXT: - - - - - - 8.00 - - - - - - - - - - - - - - - - xchgq %rcx, %rax -# CHECK-NEXT: - - - - - 8.00 - - - - - - - - - - - - - - - - - xchgq %rcx, %rdx -# CHECK-NEXT: - - - - 8.00 - - - - - - - - - - - - - - - - - - xchgq %rdx, %rbp -# CHECK-NEXT: - - - 8.00 - - - - - - - - - - - - - - - - - - - xchgq %rbp, %rsi -# CHECK-NEXT: - - - - - - 8.00 - - - - - - - - - - - - - - - - xchgq %rsi, %rdi -# CHECK-NEXT: - - - - - 8.00 - - - - - - - - - - - - - - - - - xchgq %rdi, %r8 -# CHECK-NEXT: - - - - 8.00 - - - - - - - - - - - - - - - - - - xchgq %r8, %r9 -# CHECK-NEXT: - - - 8.00 - - - - - - - - - - - - - - - - - - - xchgq %r9, %r10 -# CHECK-NEXT: - - - - - - 8.00 - - - - - - - - - - - - - - - - xchgq %r10, %r11 -# CHECK-NEXT: - - - - - 8.00 - - - - - - - - - - - - - - - - - xchgq %r11, %r12 -# CHECK-NEXT: - - - - 8.00 - - - - - - - - - - - - - - - - - - xchgq %r12, %r13 -# CHECK-NEXT: - - - 8.00 - - - - - - - - - - - - - - - - - - - xchgq %r13, %r14 -# CHECK-NEXT: - - - - - - 8.00 - - - - - - - - - - - - - - - - xchgq %r14, %r15 -# CHECK-NEXT: - - - - - 8.00 - - - - - - - - - - - - - - - - - xchgq %r15, %rax +# CHECK-NEXT: - - - - 4.00 - 4.00 - - - - - - - - - - - - - - - - xchgq %rcx, %rax +# CHECK-NEXT: - - - 4.00 - 4.00 - - - - - - - - - - - - - - - - - xchgq %rcx, %rdx +# CHECK-NEXT: - - - - 4.00 - 4.00 - - - - - - - - - - - - - - - - xchgq %rdx, %rbp +# CHECK-NEXT: - - - 4.00 - 4.00 - - - - - - - - - - - - - - - - - xchgq %rbp, %rsi +# CHECK-NEXT: - - - - 4.00 - 4.00 - - - - - - - - - - - - - - - - xchgq %rsi, %rdi +# CHECK-NEXT: - - - 4.00 - 4.00 - - - - - - - - - - - - - - - - - xchgq %rdi, %r8 +# CHECK-NEXT: - - - - 4.00 - 4.00 - - - - - - - - - - - - - - - - xchgq %r8, %r9 +# CHECK-NEXT: - - - 4.00 - 4.00 - - - - - - - - - - - - - - - - - xchgq %r9, %r10 +# CHECK-NEXT: - - - - 4.00 - 4.00 - - - - - - - - - - - - - - - - xchgq %r10, %r11 +# CHECK-NEXT: - - - 4.00 - 4.00 - - - - - - - - - - - - - - - - - xchgq %r11, %r12 +# CHECK-NEXT: - - - - 4.00 - 4.00 - - - - - - - - - - - - - - - - xchgq %r12, %r13 +# CHECK-NEXT: - - - 4.00 - 4.00 - - - - - - - - - - - - - - - - - xchgq %r13, %r14 +# CHECK-NEXT: - - - - 4.00 - 4.00 - - - - - - - - - - - - - - - - xchgq %r14, %r15 +# CHECK-NEXT: - - - 4.00 - 4.00 - - - - - - - - - - - - - - - - - xchgq %r15, %rax # CHECK: Timeline view: -# CHECK-NEXT: 0123456789 -# CHECK-NEXT: Index 0123456789 0123456 +# CHECK-NEXT: 0123456789 0123456789 0123456789 012345 +# CHECK-NEXT: Index 0123456789 0123456789 0123456789 0123456789 -# CHECK: [0,0] DER . . . . .. xchgq %rcx, %rax -# CHECK-NEXT: [0,1] DER . . . . .. xchgq %rcx, %rdx -# CHECK-NEXT: [0,2] DER . . . . .. xchgq %rdx, %rbp -# CHECK-NEXT: [0,3] .DER . . . . .. xchgq %rbp, %rsi -# CHECK-NEXT: [0,4] .D=======ER . . .. xchgq %rsi, %rdi -# CHECK-NEXT: [0,5] .D=======ER . . .. xchgq %rdi, %r8 -# CHECK-NEXT: [0,6] . D======ER . . .. xchgq %r8, %r9 -# CHECK-NEXT: [0,7] . D=======ER . . .. xchgq %r9, %r10 -# CHECK-NEXT: [0,8] . D==============ER . .. xchgq %r10, %r11 -# CHECK-NEXT: [0,9] . D=============ER . .. xchgq %r11, %r12 -# CHECK-NEXT: [0,10] . D=============ER . .. xchgq %r12, %r13 -# CHECK-NEXT: [0,11] . D==============ER. .. xchgq %r13, %r14 -# CHECK-NEXT: [0,12] . D====================ER xchgq %r14, %r15 -# CHECK-NEXT: [0,13] . D====================ER xchgq %r15, %rax +# CHECK: [0,0] DER . . . . . . . . . . . . . . . xchgq %rcx, %rax +# CHECK-NEXT: [0,1] DER . . . . . . . . . . . . . . . xchgq %rcx, %rdx +# CHECK-NEXT: [0,2] DER . . . . . . . . . . . . . . . xchgq %rdx, %rbp +# CHECK-NEXT: [0,3] .DER . . . . . . . . . . . . . . . xchgq %rbp, %rsi +# CHECK-NEXT: [0,4] .D=======ER . . . . . . . . . . . . . xchgq %rsi, %rdi +# CHECK-NEXT: [0,5] .D=======ER . . . . . . . . . . . . . xchgq %rdi, %r8 +# CHECK-NEXT: [0,6] . D======ER . . . . . . . . . . . . . xchgq %r8, %r9 +# CHECK-NEXT: [0,7] . D=======ER . . . . . . . . . . . . . xchgq %r9, %r10 +# CHECK-NEXT: [0,8] . D==============ER . . . . . . . . . . . . xchgq %r10, %r11 +# CHECK-NEXT: [0,9] . D=============ER . . . . . . . . . . . . xchgq %r11, %r12 +# CHECK-NEXT: [0,10] . D=============ER . . . . . . . . . . . . xchgq %r12, %r13 +# CHECK-NEXT: [0,11] . D==============ER. . . . . . . . . . . . xchgq %r13, %r14 +# CHECK-NEXT: [0,12] . D====================ER . . . . . . . . . . xchgq %r14, %r15 +# CHECK-NEXT: [0,13] . D====================ER . . . . . . . . . . xchgq %r15, %rax +# CHECK-NEXT: [1,0] . D====================ER . . . . . . . . . . xchgq %rcx, %rax +# CHECK-NEXT: [1,1] . D====================ER . . . . . . . . . . xchgq %rcx, %rdx +# CHECK-NEXT: [1,2] . D===========================ER. . . . . . . . . xchgq %rdx, %rbp +# CHECK-NEXT: [1,3] . D===========================ER. . . . . . . . . xchgq %rbp, %rsi +# CHECK-NEXT: [1,4] . .D==========================ER. . . . . . . . . xchgq %rsi, %rdi +# CHECK-NEXT: [1,5] . .D===========================ER . . . . . . . . xchgq %rdi, %r8 +# CHECK-NEXT: [1,6] . .D==================================ER . . . . . . . xchgq %r8, %r9 +# CHECK-NEXT: [1,7] . . D=================================ER . . . . . . . xchgq %r9, %r10 +# CHECK-NEXT: [1,8] . . D=================================ER . . . . . . . xchgq %r10, %r11 +# CHECK-NEXT: [1,9] . . D==================================ER . . . . . . . xchgq %r11, %r12 +# CHECK-NEXT: [1,10] . . D========================================ER . . . . . xchgq %r12, %r13 +# CHECK-NEXT: [1,11] . . D========================================ER . . . . . xchgq %r13, %r14 +# CHECK-NEXT: [1,12] . . D========================================ER . . . . . xchgq %r14, %r15 +# CHECK-NEXT: [1,13] . . D========================================ER . . . . . xchgq %r15, %rax +# CHECK-NEXT: [2,0] . . D===============================================ER . . . . xchgq %rcx, %rax +# CHECK-NEXT: [2,1] . . D===============================================ER . . . . xchgq %rcx, %rdx +# CHECK-NEXT: [2,2] . . D==============================================ER . . . . xchgq %rdx, %rbp +# CHECK-NEXT: [2,3] . . D===============================================ER. . . . xchgq %rbp, %rsi +# CHECK-NEXT: [2,4] . . D======================================================ER . . xchgq %rsi, %rdi +# CHECK-NEXT: [2,5] . . .D=====================================================ER . . xchgq %rdi, %r8 +# CHECK-NEXT: [2,6] . . .D=====================================================ER . . xchgq %r8, %r9 +# CHECK-NEXT: [2,7] . . .D======================================================ER . . xchgq %r9, %r10 +# CHECK-NEXT: [2,8] . . . D============================================================ER. xchgq %r10, %r11 +# CHECK-NEXT: [2,9] . . . D============================================================ER. xchgq %r11, %r12 +# CHECK-NEXT: [2,10] . . . D============================================================ER. xchgq %r12, %r13 +# CHECK-NEXT: [2,11] . . . D============================================================ER xchgq %r13, %r14 # CHECK: Average Wait times (based on the timeline view): # CHECK-NEXT: [0]: Executions @@ -613,18 +919,18 @@ xchgq %r15, %rax # CHECK-NEXT: [3]: Average time elapsed from WB until retire stage # CHECK: [0] [1] [2] [3] -# CHECK-NEXT: 0. 1 1.0 1.0 0.0 xchgq %rcx, %rax -# CHECK-NEXT: 1. 1 1.0 0.0 0.0 xchgq %rcx, %rdx -# CHECK-NEXT: 2. 1 1.0 0.0 0.0 xchgq %rdx, %rbp -# CHECK-NEXT: 3. 1 1.0 1.0 0.0 xchgq %rbp, %rsi -# CHECK-NEXT: 4. 1 8.0 7.0 0.0 xchgq %rsi, %rdi -# CHECK-NEXT: 5. 1 8.0 0.0 0.0 xchgq %rdi, %r8 -# CHECK-NEXT: 6. 1 7.0 0.0 0.0 xchgq %r8, %r9 -# CHECK-NEXT: 7. 1 8.0 1.0 0.0 xchgq %r9, %r10 -# CHECK-NEXT: 8. 1 15.0 7.0 0.0 xchgq %r10, %r11 -# CHECK-NEXT: 9. 1 14.0 0.0 0.0 xchgq %r11, %r12 -# CHECK-NEXT: 10. 1 14.0 0.0 0.0 xchgq %r12, %r13 -# CHECK-NEXT: 11. 1 15.0 1.0 0.0 xchgq %r13, %r14 -# CHECK-NEXT: 12. 1 21.0 7.0 0.0 xchgq %r14, %r15 -# CHECK-NEXT: 13. 1 21.0 0.0 0.0 xchgq %r15, %rax -# CHECK-NEXT: 1 9.6 1.8 0.0 +# CHECK-NEXT: 0. 10 102.7 2.9 0.0 xchgq %rcx, %rax +# CHECK-NEXT: 1. 10 102.8 0.5 0.0 xchgq %rcx, %rdx +# CHECK-NEXT: 2. 10 105.3 3.5 0.0 xchgq %rdx, %rbp +# CHECK-NEXT: 3. 10 105.5 0.5 0.0 xchgq %rbp, %rsi +# CHECK-NEXT: 4. 10 108.3 3.5 0.0 xchgq %rsi, %rdi +# CHECK-NEXT: 5. 10 108.5 0.5 0.0 xchgq %rdi, %r8 +# CHECK-NEXT: 6. 10 111.0 3.5 0.0 xchgq %r8, %r9 +# CHECK-NEXT: 7. 10 111.1 0.5 0.0 xchgq %r9, %r10 +# CHECK-NEXT: 8. 10 113.7 3.5 0.0 xchgq %r10, %r11 +# CHECK-NEXT: 9. 10 113.8 0.5 0.0 xchgq %r11, %r12 +# CHECK-NEXT: 10. 10 116.3 3.5 0.0 xchgq %r12, %r13 +# CHECK-NEXT: 11. 10 116.5 0.5 0.0 xchgq %r13, %r14 +# CHECK-NEXT: 12. 10 119.0 3.5 0.0 xchgq %r14, %r15 +# CHECK-NEXT: 13. 10 119.1 0.5 0.0 xchgq %r15, %rax +# CHECK-NEXT: 10 111.0 2.0 0.0 diff --git a/test/tools/llvm-mca/X86/Znver3/reg-move-elimination-mmx.s b/test/tools/llvm-mca/X86/Znver3/reg-move-elimination-mmx.s index e6b3509a8ce..6cea76fa1d8 100644 --- a/test/tools/llvm-mca/X86/Znver3/reg-move-elimination-mmx.s +++ b/test/tools/llvm-mca/X86/Znver3/reg-move-elimination-mmx.s @@ -1,5 +1,5 @@ # NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py -# RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=znver3 -iterations=1 -timeline -register-file-stats < %s | FileCheck %s +# RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=znver3 -iterations=1000 -timeline -register-file-stats < %s | FileCheck %s movq %mm0, %mm1 movq %mm1, %mm2 @@ -10,14 +10,14 @@ movq %mm5, %mm6 movq %mm6, %mm7 movq %mm7, %mm0 -# CHECK: Iterations: 1 -# CHECK-NEXT: Instructions: 8 -# CHECK-NEXT: Total Cycles: 11 -# CHECK-NEXT: Total uOps: 8 +# CHECK: Iterations: 1000 +# CHECK-NEXT: Instructions: 8000 +# CHECK-NEXT: Total Cycles: 8003 +# CHECK-NEXT: Total uOps: 8000 # CHECK: Dispatch Width: 6 -# CHECK-NEXT: uOps Per Cycle: 0.73 -# CHECK-NEXT: IPC: 0.73 +# CHECK-NEXT: uOps Per Cycle: 1.00 +# CHECK-NEXT: IPC: 1.00 # CHECK-NEXT: Block RThroughput: 2.0 # CHECK: Instruction Info: @@ -39,13 +39,13 @@ movq %mm7, %mm0 # CHECK-NEXT: 1 1 0.25 movq %mm7, %mm0 # CHECK: Register File statistics: -# CHECK-NEXT: Total number of mappings created: 8 -# CHECK-NEXT: Max number of mappings used: 8 +# CHECK-NEXT: Total number of mappings created: 8000 +# CHECK-NEXT: Max number of mappings used: 66 # CHECK: * Register File #1 -- Zn3FpPRF: # CHECK-NEXT: Number of physical registers: 160 -# CHECK-NEXT: Total number of mappings created: 8 -# CHECK-NEXT: Max number of mappings used: 8 +# CHECK-NEXT: Total number of mappings created: 8000 +# CHECK-NEXT: Max number of mappings used: 66 # CHECK: * Register File #2 -- Zn3IntegerPRF: # CHECK-NEXT: Number of physical registers: 192 @@ -93,17 +93,86 @@ movq %mm7, %mm0 # CHECK-NEXT: - - - - - - - - 1.00 - - - - - - - - - - - - - - movq %mm7, %mm0 # CHECK: Timeline view: -# CHECK-NEXT: 0 -# CHECK-NEXT: Index 0123456789 +# CHECK-NEXT: 0123456789 0123456789 0123456789 0123456789 +# CHECK-NEXT: Index 0123456789 0123456789 0123456789 0123456789 -# CHECK: [0,0] DeER . . movq %mm0, %mm1 -# CHECK-NEXT: [0,1] D=eER. . movq %mm1, %mm2 -# CHECK-NEXT: [0,2] D==eER . movq %mm2, %mm3 -# CHECK-NEXT: [0,3] D===eER . movq %mm3, %mm4 -# CHECK-NEXT: [0,4] D====eER . movq %mm4, %mm5 -# CHECK-NEXT: [0,5] D=====eER . movq %mm5, %mm6 -# CHECK-NEXT: [0,6] .D=====eER. movq %mm6, %mm7 -# CHECK-NEXT: [0,7] .D======eER movq %mm7, %mm0 +# CHECK: [0,0] DeER . . . . . . . . . . . . . . . . movq %mm0, %mm1 +# CHECK-NEXT: [0,1] D=eER. . . . . . . . . . . . . . . . movq %mm1, %mm2 +# CHECK-NEXT: [0,2] D==eER . . . . . . . . . . . . . . . movq %mm2, %mm3 +# CHECK-NEXT: [0,3] D===eER . . . . . . . . . . . . . . . movq %mm3, %mm4 +# CHECK-NEXT: [0,4] D====eER . . . . . . . . . . . . . . . movq %mm4, %mm5 +# CHECK-NEXT: [0,5] D=====eER . . . . . . . . . . . . . . . movq %mm5, %mm6 +# CHECK-NEXT: [0,6] .D=====eER. . . . . . . . . . . . . . . movq %mm6, %mm7 +# CHECK-NEXT: [0,7] .D======eER . . . . . . . . . . . . . . movq %mm7, %mm0 +# CHECK-NEXT: [1,0] .D=======eER . . . . . . . . . . . . . . movq %mm0, %mm1 +# CHECK-NEXT: [1,1] .D========eER . . . . . . . . . . . . . . movq %mm1, %mm2 +# CHECK-NEXT: [1,2] .D=========eER . . . . . . . . . . . . . . movq %mm2, %mm3 +# CHECK-NEXT: [1,3] .D==========eER. . . . . . . . . . . . . . movq %mm3, %mm4 +# CHECK-NEXT: [1,4] . D==========eER . . . . . . . . . . . . . movq %mm4, %mm5 +# CHECK-NEXT: [1,5] . D===========eER . . . . . . . . . . . . . movq %mm5, %mm6 +# CHECK-NEXT: [1,6] . D============eER . . . . . . . . . . . . . movq %mm6, %mm7 +# CHECK-NEXT: [1,7] . D=============eER . . . . . . . . . . . . . movq %mm7, %mm0 +# CHECK-NEXT: [2,0] . D==============eER. . . . . . . . . . . . . movq %mm0, %mm1 +# CHECK-NEXT: [2,1] . D===============eER . . . . . . . . . . . . movq %mm1, %mm2 +# CHECK-NEXT: [2,2] . D===============eER . . . . . . . . . . . . movq %mm2, %mm3 +# CHECK-NEXT: [2,3] . D================eER . . . . . . . . . . . . movq %mm3, %mm4 +# CHECK-NEXT: [2,4] . D=================eER . . . . . . . . . . . . movq %mm4, %mm5 +# CHECK-NEXT: [2,5] . D==================eER. . . . . . . . . . . . movq %mm5, %mm6 +# CHECK-NEXT: [2,6] . D===================eER . . . . . . . . . . . movq %mm6, %mm7 +# CHECK-NEXT: [2,7] . D====================eER . . . . . . . . . . . movq %mm7, %mm0 +# CHECK-NEXT: [3,0] . D====================eER . . . . . . . . . . . movq %mm0, %mm1 +# CHECK-NEXT: [3,1] . D=====================eER . . . . . . . . . . . movq %mm1, %mm2 +# CHECK-NEXT: [3,2] . D======================eER. . . . . . . . . . . movq %mm2, %mm3 +# CHECK-NEXT: [3,3] . D=======================eER . . . . . . . . . . movq %mm3, %mm4 +# CHECK-NEXT: [3,4] . D========================eER . . . . . . . . . . movq %mm4, %mm5 +# CHECK-NEXT: [3,5] . D=========================eER . . . . . . . . . . movq %mm5, %mm6 +# CHECK-NEXT: [3,6] . D=========================eER . . . . . . . . . . movq %mm6, %mm7 +# CHECK-NEXT: [3,7] . D==========================eER. . . . . . . . . . movq %mm7, %mm0 +# CHECK-NEXT: [4,0] . D===========================eER . . . . . . . . . movq %mm0, %mm1 +# CHECK-NEXT: [4,1] . D============================eER . . . . . . . . . movq %mm1, %mm2 +# CHECK-NEXT: [4,2] . D=============================eER . . . . . . . . . movq %mm2, %mm3 +# CHECK-NEXT: [4,3] . D==============================eER . . . . . . . . . movq %mm3, %mm4 +# CHECK-NEXT: [4,4] . .D==============================eER. . . . . . . . . movq %mm4, %mm5 +# CHECK-NEXT: [4,5] . .D===============================eER . . . . . . . . movq %mm5, %mm6 +# CHECK-NEXT: [4,6] . .D================================eER . . . . . . . . movq %mm6, %mm7 +# CHECK-NEXT: [4,7] . .D=================================eER . . . . . . . . movq %mm7, %mm0 +# CHECK-NEXT: [5,0] . .D==================================eER . . . . . . . . movq %mm0, %mm1 +# CHECK-NEXT: [5,1] . .D===================================eER. . . . . . . . movq %mm1, %mm2 +# CHECK-NEXT: [5,2] . . D===================================eER . . . . . . . movq %mm2, %mm3 +# CHECK-NEXT: [5,3] . . D====================================eER . . . . . . . movq %mm3, %mm4 +# CHECK-NEXT: [5,4] . . D=====================================eER . . . . . . . movq %mm4, %mm5 +# CHECK-NEXT: [5,5] . . D======================================eER . . . . . . . movq %mm5, %mm6 +# CHECK-NEXT: [5,6] . . D=======================================eER. . . . . . . movq %mm6, %mm7 +# CHECK-NEXT: [5,7] . . D========================================eER . . . . . . movq %mm7, %mm0 +# CHECK-NEXT: [6,0] . . D========================================eER . . . . . . movq %mm0, %mm1 +# CHECK-NEXT: [6,1] . . D=========================================eER . . . . . . movq %mm1, %mm2 +# CHECK-NEXT: [6,2] . . D==========================================eER . . . . . . movq %mm2, %mm3 +# CHECK-NEXT: [6,3] . . D===========================================eER. . . . . . movq %mm3, %mm4 +# CHECK-NEXT: [6,4] . . D============================================eER . . . . . movq %mm4, %mm5 +# CHECK-NEXT: [6,5] . . D=============================================eER . . . . . movq %mm5, %mm6 +# CHECK-NEXT: [6,6] . . D=============================================eER . . . . . movq %mm6, %mm7 +# CHECK-NEXT: [6,7] . . D==============================================eER . . . . . movq %mm7, %mm0 +# CHECK-NEXT: [7,0] . . D===============================================eER. . . . . movq %mm0, %mm1 +# CHECK-NEXT: [7,1] . . D================================================eER . . . . movq %mm1, %mm2 +# CHECK-NEXT: [7,2] . . D=================================================eER . . . . movq %mm2, %mm3 +# CHECK-NEXT: [7,3] . . D==================================================eER . . . . movq %mm3, %mm4 +# CHECK-NEXT: [7,4] . . D==================================================eER . . . . movq %mm4, %mm5 +# CHECK-NEXT: [7,5] . . D===================================================eER. . . . movq %mm5, %mm6 +# CHECK-NEXT: [7,6] . . D====================================================eER . . . movq %mm6, %mm7 +# CHECK-NEXT: [7,7] . . D=====================================================eER . . . movq %mm7, %mm0 +# CHECK-NEXT: [8,0] . . D======================================================eER . . . movq %mm0, %mm1 +# CHECK-NEXT: [8,1] . . D=======================================================eER . . . movq %mm1, %mm2 +# CHECK-NEXT: [8,2] . . .D=======================================================eER. . . movq %mm2, %mm3 +# CHECK-NEXT: [8,3] . . .D========================================================eER . . movq %mm3, %mm4 +# CHECK-NEXT: [8,4] . . .D=========================================================eER . . movq %mm4, %mm5 +# CHECK-NEXT: [8,5] . . .D==========================================================eER . . movq %mm5, %mm6 +# CHECK-NEXT: [8,6] . . .D===========================================================eER . . movq %mm6, %mm7 +# CHECK-NEXT: [8,7] . . .D============================================================eER. . movq %mm7, %mm0 +# CHECK-NEXT: [9,0] . . . D============================================================eER . movq %mm0, %mm1 +# CHECK-NEXT: [9,1] . . . D=============================================================eER . movq %mm1, %mm2 +# CHECK-NEXT: [9,2] . . . D==============================================================eER . movq %mm2, %mm3 +# CHECK-NEXT: [9,3] . . . D===============================================================eER. movq %mm3, %mm4 +# CHECK-NEXT: [9,4] . . . D===============================================================eER movq %mm4, %mm5 # CHECK: Average Wait times (based on the timeline view): # CHECK-NEXT: [0]: Executions @@ -112,12 +181,12 @@ movq %mm7, %mm0 # CHECK-NEXT: [3]: Average time elapsed from WB until retire stage # CHECK: [0] [1] [2] [3] -# CHECK-NEXT: 0. 1 1.0 1.0 0.0 movq %mm0, %mm1 -# CHECK-NEXT: 1. 1 2.0 0.0 0.0 movq %mm1, %mm2 -# CHECK-NEXT: 2. 1 3.0 0.0 0.0 movq %mm2, %mm3 -# CHECK-NEXT: 3. 1 4.0 0.0 0.0 movq %mm3, %mm4 -# CHECK-NEXT: 4. 1 5.0 0.0 0.0 movq %mm4, %mm5 -# CHECK-NEXT: 5. 1 6.0 0.0 0.0 movq %mm5, %mm6 -# CHECK-NEXT: 6. 1 6.0 0.0 0.0 movq %mm6, %mm7 -# CHECK-NEXT: 7. 1 7.0 0.0 0.0 movq %mm7, %mm0 -# CHECK-NEXT: 1 4.3 0.1 0.0 +# CHECK-NEXT: 0. 10 31.3 0.1 0.0 movq %mm0, %mm1 +# CHECK-NEXT: 1. 10 32.3 0.0 0.0 movq %mm1, %mm2 +# CHECK-NEXT: 2. 10 33.0 0.0 0.0 movq %mm2, %mm3 +# CHECK-NEXT: 3. 10 34.0 0.0 0.0 movq %mm3, %mm4 +# CHECK-NEXT: 4. 10 34.6 0.0 0.0 movq %mm4, %mm5 +# CHECK-NEXT: 5. 10 35.5 0.0 0.0 movq %mm5, %mm6 +# CHECK-NEXT: 6. 10 36.1 0.0 0.0 movq %mm6, %mm7 +# CHECK-NEXT: 7. 10 37.0 0.0 0.0 movq %mm7, %mm0 +# CHECK-NEXT: 10 34.2 0.0 0.0