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


With different registers for different operands

Throughput Analysis Report
--------------------------
Block Throughput: 0.24 Cycles       Throughput Bottleneck: Dependency chains
Loop Count:  40
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  |      | cmp r8, r9
Total Num Of Uops: 1

With the same register for for different operands

With 1 independent instruction

Throughput Analysis Report
--------------------------
Block Throughput: 0.24 Cycles       Throughput Bottleneck: Dependency chains
Loop Count:  40
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  |      | cmp r8, r8
Total Num Of Uops: 1

With 14 independent instructions


Throughput Analysis Report
--------------------------
Block Throughput: 3.47 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.5     0.0  |  3.5  |  0.0     0.0  |  0.0     0.0  |  0.0  |  3.5  |  3.5  |  0.0  |
--------------------------------------------------------------------------------------------------

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