ADD_03 (R64, R64) - Throughput and Uops (IACA 3.0)


With different registers for different operands

With 1 independent instruction

Throughput Analysis Report
--------------------------
Block Throughput: 0.98 Cycles       Throughput Bottleneck: Dependency chains
Loop Count:  52
Port Binding In Cycles Per Iteration:
--------------------------------------------------------------------------------------------------
|  Port  |   0   -  DV   |   1   |   2   -  D    |   3   -  D    |   4   |   5   |   6   |   7   |
--------------------------------------------------------------------------------------------------
| Cycles |  0.3     0.0  |  0.2  |  0.0     0.0  |  0.0     0.0  |  0.0  |  0.2  |  0.2  |  0.0  |
--------------------------------------------------------------------------------------------------

| Num Of   |                    Ports pressure in cycles                         |      |
|  Uops    |  0  - DV    |  1   |  2  -  D    |  3  -  D    |  4   |  5   |  6   |  7   |
-----------------------------------------------------------------------------------------
|   1      | 0.3         | 0.2  |             |             |      | 0.2  | 0.2  |      | add r8, r9
Total Num Of Uops: 1

With 12 independent instructions


Throughput Analysis Report
--------------------------
Block Throughput: 2.95 Cycles       Throughput Bottleneck: Dependency chains
Loop Count:  22
Port Binding In Cycles Per Iteration:
--------------------------------------------------------------------------------------------------
|  Port  |   0   -  DV   |   1   |   2   -  D    |   3   -  D    |   4   |   5   |   6   |   7   |
--------------------------------------------------------------------------------------------------
| Cycles |  3.0     0.0  |  3.0  |  0.0     0.0  |  0.0     0.0  |  0.0  |  3.0  |  3.0  |  0.0  |
--------------------------------------------------------------------------------------------------

| Num Of   |                    Ports pressure in cycles                         |      |
|  Uops    |  0  - DV    |  1   |  2  -  D    |  3  -  D    |  4   |  5   |  6   |  7   |
-----------------------------------------------------------------------------------------
|   1      | 1.0         |      |             |             |      |      |      |      | add r8, r9
|   1      |             | 1.0  |             |             |      |      |      |      | add r10, r9
|   1      |             |      |             |             |      | 1.0  |      |      | add r11, r9
|   1      |             |      |             |             |      |      | 1.0  |      | add r12, r9
|   1      | 1.0         |      |             |             |      |      |      |      | add r13, r9
|   1      |             | 1.0  |             |             |      |      |      |      | add r14, r9
|   1      |             |      |             |             |      | 1.0  |      |      | add rbx, r9
|   1      |             |      |             |             |      |      | 1.0  |      | add rcx, r9
|   1      | 1.0         |      |             |             |      |      |      |      | add rdx, r9
|   1      |             | 1.0  |             |             |      |      |      |      | add rdi, r9
|   1      |             |      |             |             |      | 1.0  |      |      | add rsi, r9
|   1      |             |      |             |             |      |      | 1.0  |      | add rbp, r9
Total Num Of Uops: 12

With the same register for for different operands

With 1 independent instruction

Throughput Analysis Report
--------------------------
Block Throughput: 0.98 Cycles       Throughput Bottleneck: Dependency chains
Loop Count:  52
Port Binding In Cycles Per Iteration:
--------------------------------------------------------------------------------------------------
|  Port  |   0   -  DV   |   1   |   2   -  D    |   3   -  D    |   4   |   5   |   6   |   7   |
--------------------------------------------------------------------------------------------------
| Cycles |  0.3     0.0  |  0.2  |  0.0     0.0  |  0.0     0.0  |  0.0  |  0.2  |  0.2  |  0.0  |
--------------------------------------------------------------------------------------------------

| Num Of   |                    Ports pressure in cycles                         |      |
|  Uops    |  0  - DV    |  1   |  2  -  D    |  3  -  D    |  4   |  5   |  6   |  7   |
-----------------------------------------------------------------------------------------
|   1      | 0.3         | 0.2  |             |             |      | 0.2  | 0.2  |      | add r8, r8
Total Num Of Uops: 1

With 13 independent instructions


Throughput Analysis Report
--------------------------
Block Throughput: 3.21 Cycles       Throughput Bottleneck: Dependency chains
Loop Count:  22
Port Binding In Cycles Per Iteration:
--------------------------------------------------------------------------------------------------
|  Port  |   0   -  DV   |   1   |   2   -  D    |   3   -  D    |   4   |   5   |   6   |   7   |
--------------------------------------------------------------------------------------------------
| Cycles |  3.3     0.0  |  3.3  |  0.0     0.0  |  0.0     0.0  |  0.0  |  3.3  |  3.2  |  0.0  |
--------------------------------------------------------------------------------------------------

| Num Of   |                    Ports pressure in cycles                         |      |
|  Uops    |  0  - DV    |  1   |  2  -  D    |  3  -  D    |  4   |  5   |  6   |  7   |
-----------------------------------------------------------------------------------------
|   1      | 0.3         | 0.3  |             |             |      | 0.3  | 0.2  |      | add r8, r8
|   1      | 0.2         | 0.3  |             |             |      | 0.3  | 0.3  |      | add r9, r9
|   1      | 0.3         | 0.2  |             |             |      | 0.3  | 0.3  |      | add r10, r10
|   1      | 0.3         | 0.3  |             |             |      | 0.2  | 0.3  |      | add r11, r11
|   1      | 0.3         | 0.3  |             |             |      | 0.3  | 0.2  |      | add r12, r12
|   1      | 0.2         | 0.3  |             |             |      | 0.3  | 0.3  |      | add r13, r13
|   1      | 0.3         | 0.2  |             |             |      | 0.3  | 0.3  |      | add r14, r14
|   1      | 0.3         | 0.3  |             |             |      | 0.2  | 0.3  |      | add rbx, rbx
|   1      | 0.3         | 0.3  |             |             |      | 0.3  | 0.2  |      | add rcx, rcx
|   1      | 0.2         | 0.3  |             |             |      | 0.3  | 0.3  |      | add rdx, rdx
|   1      | 0.3         | 0.2  |             |             |      | 0.3  | 0.3  |      | add rdi, rdi
|   1      | 0.3         | 0.3  |             |             |      | 0.2  | 0.3  |      | add rsi, rsi
|   1      | 0.3         | 0.3  |             |             |      | 0.3  | 0.2  |      | add rbp, rbp
Total Num Of Uops: 13