IMUL (R32, R32) - Throughput and Uops (IACA 2.1)


With different registers for different operands

With 1 independent instruction

Throughput Analysis Report
--------------------------
Block Throughput: 3.00 Cycles       Throughput Bottleneck: InterIteration

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


| Num Of |              Ports pressure in cycles               |    |
|  Uops  |  0  - DV  |  1  |  2  -  D  |  3  -  D  |  4  |  5  |    |
---------------------------------------------------------------------
|   1    |           | 1.0 |           |           |     |     | CP | imul r8d, r9d
Total Num Of Uops: 1

With 12 independent instructions


Throughput Analysis Report
--------------------------
Block Throughput: 18.00 Cycles       Throughput Bottleneck: InterIteration

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


| Num Of |              Ports pressure in cycles               |    |
|  Uops  |  0  - DV  |  1  |  2  -  D  |  3  -  D  |  4  |  5  |    |
---------------------------------------------------------------------
|   1    |           | 1.0 |           |           |     |     | CP | imul r8d, r9d
|   1    |           | 1.0 |           |           |     |     | CP | imul r10d, r9d
|   1    |           | 1.0 |           |           |     |     | CP | imul r11d, r9d
|   1    |           | 1.0 |           |           |     |     |    | imul r12d, r9d
|   1    |           | 1.0 |           |           |     |     |    | imul r13d, r9d
|   1    |           | 1.0 |           |           |     |     |    | imul r14d, r9d
|   1    |           | 1.0 |           |           |     |     |    | imul ebx, r9d
|   1    |           | 1.0 |           |           |     |     |    | imul ecx, r9d
|   1    |           | 1.0 |           |           |     |     |    | imul edx, r9d
|   1    |           | 1.0 |           |           |     |     | CP | imul edi, r9d
|   1    |           | 1.0 |           |           |     |     | CP | imul esi, r9d
|   1    |           | 1.0 |           |           |     |     | CP | imul ebp, r9d
Total Num Of Uops: 12

With the same register for for different operands

Throughput Analysis Report
--------------------------
Block Throughput: 3.00 Cycles       Throughput Bottleneck: InterIteration

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


| Num Of |              Ports pressure in cycles               |    |
|  Uops  |  0  - DV  |  1  |  2  -  D  |  3  -  D  |  4  |  5  |    |
---------------------------------------------------------------------
|   1    |           | 1.0 |           |           |     |     | CP | imul r8d, r8d
Total Num Of Uops: 1

With the -no_interiteration flag

Throughput Analysis Report
--------------------------
Block Throughput: 1.00 Cycles       Throughput Bottleneck: Port1

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


| Num Of |              Ports pressure in cycles               |    |
|  Uops  |  0  - DV  |  1  |  2  -  D  |  3  -  D  |  4  |  5  |    |
---------------------------------------------------------------------
|   1    |           | 1.0 |           |           |     |     | CP | imul r8d, r9d
Total Num Of Uops: 1