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


With different registers for different operands

Throughput Analysis Report
--------------------------
Block Throughput: 0.35 Cycles       Throughput Bottleneck: Port1, Port5

Port Binding In Cycles Per Iteration:
-------------------------------------------------------------------------
|  Port  |  0   -  DV  |  1   |  2   -  D   |  3   -  D   |  4   |  5   |
-------------------------------------------------------------------------
| Cycles | 0.3    0.0  | 0.3  | 0.0    0.0  | 0.0    0.0  | 0.0  | 0.3  |
-------------------------------------------------------------------------


| Num Of |              Ports pressure in cycles               |    |
|  Uops  |  0  - DV  |  1  |  2  -  D  |  3  -  D  |  4  |  5  |    |
---------------------------------------------------------------------
|   1    | 0.3       | 0.3 |           |           |     | 0.3 | CP | 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.35 Cycles       Throughput Bottleneck: Port1, Port5

Port Binding In Cycles Per Iteration:
-------------------------------------------------------------------------
|  Port  |  0   -  DV  |  1   |  2   -  D   |  3   -  D   |  4   |  5   |
-------------------------------------------------------------------------
| Cycles | 0.3    0.0  | 0.3  | 0.0    0.0  | 0.0    0.0  | 0.0  | 0.3  |
-------------------------------------------------------------------------


| Num Of |              Ports pressure in cycles               |    |
|  Uops  |  0  - DV  |  1  |  2  -  D  |  3  -  D  |  4  |  5  |    |
---------------------------------------------------------------------
|   1    | 0.3       | 0.3 |           |           |     | 0.3 | CP | cmp r8, r8
Total Num Of Uops: 1

With 14 independent instructions


Throughput Analysis Report
--------------------------
Block Throughput: 4.75 Cycles       Throughput Bottleneck: Port0, Port1, Port5

Port Binding In Cycles Per Iteration:
-------------------------------------------------------------------------
|  Port  |  0   -  DV  |  1   |  2   -  D   |  3   -  D   |  4   |  5   |
-------------------------------------------------------------------------
| Cycles | 4.7    0.0  | 4.7  | 0.0    0.0  | 0.0    0.0  | 0.0  | 4.7  |
-------------------------------------------------------------------------


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

With the -no_interiteration flag

Throughput Analysis Report
--------------------------
Block Throughput: 0.35 Cycles       Throughput Bottleneck: Port1, Port5

Port Binding In Cycles Per Iteration:
-------------------------------------------------------------------------
|  Port  |  0   -  DV  |  1   |  2   -  D   |  3   -  D   |  4   |  5   |
-------------------------------------------------------------------------
| Cycles | 0.3    0.0  | 0.3  | 0.0    0.0  | 0.0    0.0  | 0.0  | 0.3  |
-------------------------------------------------------------------------


| Num Of |              Ports pressure in cycles               |    |
|  Uops  |  0  - DV  |  1  |  2  -  D  |  3  -  D  |  4  |  5  |    |
---------------------------------------------------------------------
|   1    | 0.3       | 0.3 |           |           |     | 0.3 | CP | cmp r8, r9
Total Num Of Uops: 1