IMUL (M32) - Throughput and Uops (IACA 2.1)


With a non-indexed addressing mode

With 1 independent instruction

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

Port Binding In Cycles Per Iteration:
-------------------------------------------------------------------------
|  Port  |  0   -  DV  |  1   |  2   -  D   |  3   -  D   |  4   |  5   |
-------------------------------------------------------------------------
| Cycles | 1.0    0.0  | 1.0  | 1.0    1.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  |    |
---------------------------------------------------------------------
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14]
Total Num Of Uops: 3

With additional dependency-breaking instructions

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

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


| Num Of |              Ports pressure in cycles               |    |
|  Uops  |  0  - DV  |  1  |  2  -  D  |  3  -  D  |  4  |  5  |    |
---------------------------------------------------------------------
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14]
|   1    |           |     |           |           |     | 1.0 |    | xor rax, rax
Total Num Of Uops: 4

With 16 independent instructions


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

Port Binding In Cycles Per Iteration:
-------------------------------------------------------------------------
|  Port  |  0   -  DV  |  1   |  2   -  D   |  3   -  D   |  4   |  5   |
-------------------------------------------------------------------------
| Cycles | 16.0   0.0  | 16.0 | 16.0   16.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  |    |
---------------------------------------------------------------------
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14]
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+0x4]
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+0x8]
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+0xc]
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+0x10]
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+0x14]
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+0x18]
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+0x1c]
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+0x20]
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+0x24]
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+0x28]
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+0x2c]
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+0x30]
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+0x34]
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+0x38]
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+0x3c]
Total Num Of Uops: 48

With additional dependency-breaking instructions

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

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


| Num Of |              Ports pressure in cycles               |    |
|  Uops  |  0  - DV  |  1  |  2  -  D  |  3  -  D  |  4  |  5  |    |
---------------------------------------------------------------------
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14]
|   1    |           |     |           |           |     | 1.0 |    | xor rax, rax
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+0x4]
|   1    |           |     |           |           |     | 1.0 |    | xor rax, rax
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+0x8]
|   1    |           |     |           |           |     | 1.0 |    | xor rax, rax
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+0xc]
|   1    |           |     |           |           |     | 1.0 |    | xor rax, rax
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+0x10]
|   1    |           |     |           |           |     | 1.0 |    | xor rax, rax
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+0x14]
|   1    |           |     |           |           |     | 1.0 |    | xor rax, rax
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+0x18]
|   1    |           |     |           |           |     | 1.0 |    | xor rax, rax
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+0x1c]
|   1    |           |     |           |           |     | 1.0 |    | xor rax, rax
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+0x20]
|   1    |           |     |           |           |     | 1.0 |    | xor rax, rax
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+0x24]
|   1    |           |     |           |           |     | 1.0 |    | xor rax, rax
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+0x28]
|   1    |           |     |           |           |     | 1.0 |    | xor rax, rax
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+0x2c]
|   1    |           |     |           |           |     | 1.0 |    | xor rax, rax
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+0x30]
|   1    |           |     |           |           |     | 1.0 |    | xor rax, rax
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+0x34]
|   1    |           |     |           |           |     | 1.0 |    | xor rax, rax
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+0x38]
|   1    |           |     |           |           |     | 1.0 |    | xor rax, rax
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+0x3c]
|   1    |           |     |           |           |     | 1.0 |    | xor rax, rax
Total Num Of Uops: 64

With an indexed addressing mode

With 1 independent instruction

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

Port Binding In Cycles Per Iteration:
-------------------------------------------------------------------------
|  Port  |  0   -  DV  |  1   |  2   -  D   |  3   -  D   |  4   |  5   |
-------------------------------------------------------------------------
| Cycles | 1.0    0.0  | 1.0  | 1.0    1.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  |    |
---------------------------------------------------------------------
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+r13*1]
Total Num Of Uops: 3

With additional dependency-breaking instructions

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

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


| Num Of |              Ports pressure in cycles               |    |
|  Uops  |  0  - DV  |  1  |  2  -  D  |  3  -  D  |  4  |  5  |    |
---------------------------------------------------------------------
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+r13*1]
|   1    |           |     |           |           |     | 1.0 |    | xor rax, rax
Total Num Of Uops: 4

With 16 independent instructions


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

Port Binding In Cycles Per Iteration:
-------------------------------------------------------------------------
|  Port  |  0   -  DV  |  1   |  2   -  D   |  3   -  D   |  4   |  5   |
-------------------------------------------------------------------------
| Cycles | 16.0   0.0  | 16.0 | 16.0   16.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  |    |
---------------------------------------------------------------------
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+r13*1]
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+r13*1+0x4]
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+r13*1+0x8]
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+r13*1+0xc]
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+r13*1+0x10]
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+r13*1+0x14]
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+r13*1+0x18]
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+r13*1+0x1c]
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+r13*1+0x20]
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+r13*1+0x24]
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+r13*1+0x28]
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+r13*1+0x2c]
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+r13*1+0x30]
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+r13*1+0x34]
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+r13*1+0x38]
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+r13*1+0x3c]
Total Num Of Uops: 48

With additional dependency-breaking instructions

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

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


| Num Of |              Ports pressure in cycles               |    |
|  Uops  |  0  - DV  |  1  |  2  -  D  |  3  -  D  |  4  |  5  |    |
---------------------------------------------------------------------
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+r13*1]
|   1    |           |     |           |           |     | 1.0 |    | xor rax, rax
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+r13*1+0x4]
|   1    |           |     |           |           |     | 1.0 |    | xor rax, rax
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+r13*1+0x8]
|   1    |           |     |           |           |     | 1.0 |    | xor rax, rax
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+r13*1+0xc]
|   1    |           |     |           |           |     | 1.0 |    | xor rax, rax
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+r13*1+0x10]
|   1    |           |     |           |           |     | 1.0 |    | xor rax, rax
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+r13*1+0x14]
|   1    |           |     |           |           |     | 1.0 |    | xor rax, rax
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+r13*1+0x18]
|   1    |           |     |           |           |     | 1.0 |    | xor rax, rax
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+r13*1+0x1c]
|   1    |           |     |           |           |     | 1.0 |    | xor rax, rax
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+r13*1+0x20]
|   1    |           |     |           |           |     | 1.0 |    | xor rax, rax
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+r13*1+0x24]
|   1    |           |     |           |           |     | 1.0 |    | xor rax, rax
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+r13*1+0x28]
|   1    |           |     |           |           |     | 1.0 |    | xor rax, rax
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+r13*1+0x2c]
|   1    |           |     |           |           |     | 1.0 |    | xor rax, rax
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+r13*1+0x30]
|   1    |           |     |           |           |     | 1.0 |    | xor rax, rax
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+r13*1+0x34]
|   1    |           |     |           |           |     | 1.0 |    | xor rax, rax
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+r13*1+0x38]
|   1    |           |     |           |           |     | 1.0 |    | xor rax, rax
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14+r13*1+0x3c]
|   1    |           |     |           |           |     | 1.0 |    | xor rax, rax
Total Num Of Uops: 64

With the -no_interiteration flag

Throughput Analysis Report
--------------------------
Block Throughput: 1.00 Cycles       Throughput Bottleneck: Port0, Port1, PORT2_AGU, Port2_DATA

Port Binding In Cycles Per Iteration:
-------------------------------------------------------------------------
|  Port  |  0   -  DV  |  1   |  2   -  D   |  3   -  D   |  4   |  5   |
-------------------------------------------------------------------------
| Cycles | 1.0    0.0  | 1.0  | 1.0    1.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  |    |
---------------------------------------------------------------------
|   3    | 1.0       | 1.0 | 1.0   1.0 |           |     |     | CP | imul dword ptr [r14]
Total Num Of Uops: 3