KMOVW (K, M16) - Throughput and Uops (IACA 3.0)


With a non-indexed addressing mode

With 1 independent instruction

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

| Num Of   |                    Ports pressure in cycles                         |      |
|  Uops    |  0  - DV    |  1   |  2  -  D    |  3  -  D    |  4   |  5   |  6   |  7   |
-----------------------------------------------------------------------------------------
|   3      | 0.3         | 0.3  | 0.5     0.5 | 0.5     0.5 |      | 1.0  | 0.3  |      | kmovw k1, word ptr [r14]
Total Num Of Uops: 3

With 7 independent instructions


Throughput Analysis Report
--------------------------
Block Throughput: 7.00 Cycles       Throughput Bottleneck: Backend
Loop Count:  22
Port Binding In Cycles Per Iteration:
--------------------------------------------------------------------------------------------------
|  Port  |   0   -  DV   |   1   |   2   -  D    |   3   -  D    |   4   |   5   |   6   |   7   |
--------------------------------------------------------------------------------------------------
| Cycles |  2.3     0.0  |  2.4  |  3.5     3.5  |  3.5     3.5  |  0.0  |  7.0  |  2.3  |  0.0  |
--------------------------------------------------------------------------------------------------

| Num Of   |                    Ports pressure in cycles                         |      |
|  Uops    |  0  - DV    |  1   |  2  -  D    |  3  -  D    |  4   |  5   |  6   |  7   |
-----------------------------------------------------------------------------------------
|   3      | 0.3         | 0.4  | 0.5     0.5 | 0.5     0.5 |      | 1.0  | 0.3  |      | kmovw k1, word ptr [r14]
|   3      | 0.3         | 0.3  | 0.5     0.5 | 0.5     0.5 |      | 1.0  | 0.4  |      | kmovw k2, word ptr [r14+0x2]
|   3      | 0.4         | 0.3  | 0.5     0.5 | 0.5     0.5 |      | 1.0  | 0.3  |      | kmovw k3, word ptr [r14+0x4]
|   3      | 0.3         | 0.4  | 0.5     0.5 | 0.5     0.5 |      | 1.0  | 0.3  |      | kmovw k4, word ptr [r14+0x6]
|   3      | 0.3         | 0.3  | 0.5     0.5 | 0.5     0.5 |      | 1.0  | 0.4  |      | kmovw k5, word ptr [r14+0x8]
|   3      | 0.4         | 0.3  | 0.5     0.5 | 0.5     0.5 |      | 1.0  | 0.3  |      | kmovw k6, word ptr [r14+0xa]
|   3      | 0.3         | 0.4  | 0.5     0.5 | 0.5     0.5 |      | 1.0  | 0.3  |      | kmovw k7, word ptr [r14+0xc]
Total Num Of Uops: 21

With an indexed addressing mode

With 1 independent instruction

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

| Num Of   |                    Ports pressure in cycles                         |      |
|  Uops    |  0  - DV    |  1   |  2  -  D    |  3  -  D    |  4   |  5   |  6   |  7   |
-----------------------------------------------------------------------------------------
|   3      | 0.3         | 0.3  | 0.5     0.5 | 0.5     0.5 |      | 1.0  | 0.3  |      | kmovw k1, word ptr [r14+r13*1]
Total Num Of Uops: 3

With 7 independent instructions


Throughput Analysis Report
--------------------------
Block Throughput: 7.00 Cycles       Throughput Bottleneck: Backend
Loop Count:  22
Port Binding In Cycles Per Iteration:
--------------------------------------------------------------------------------------------------
|  Port  |   0   -  DV   |   1   |   2   -  D    |   3   -  D    |   4   |   5   |   6   |   7   |
--------------------------------------------------------------------------------------------------
| Cycles |  2.3     0.0  |  2.4  |  3.5     3.5  |  3.5     3.5  |  0.0  |  7.0  |  2.3  |  0.0  |
--------------------------------------------------------------------------------------------------

| Num Of   |                    Ports pressure in cycles                         |      |
|  Uops    |  0  - DV    |  1   |  2  -  D    |  3  -  D    |  4   |  5   |  6   |  7   |
-----------------------------------------------------------------------------------------
|   3      | 0.3         | 0.4  | 0.5     0.5 | 0.5     0.5 |      | 1.0  | 0.3  |      | kmovw k1, word ptr [r14+r13*1]
|   3      | 0.3         | 0.3  | 0.5     0.5 | 0.5     0.5 |      | 1.0  | 0.4  |      | kmovw k2, word ptr [r14+r13*1+0x2]
|   3      | 0.4         | 0.3  | 0.5     0.5 | 0.5     0.5 |      | 1.0  | 0.3  |      | kmovw k3, word ptr [r14+r13*1+0x4]
|   3      | 0.3         | 0.4  | 0.5     0.5 | 0.5     0.5 |      | 1.0  | 0.3  |      | kmovw k4, word ptr [r14+r13*1+0x6]
|   3      | 0.3         | 0.3  | 0.5     0.5 | 0.5     0.5 |      | 1.0  | 0.4  |      | kmovw k5, word ptr [r14+r13*1+0x8]
|   3      | 0.4         | 0.3  | 0.5     0.5 | 0.5     0.5 |      | 1.0  | 0.3  |      | kmovw k6, word ptr [r14+r13*1+0xa]
|   3      | 0.3         | 0.4  | 0.5     0.5 | 0.5     0.5 |      | 1.0  | 0.3  |      | kmovw k7, word ptr [r14+r13*1+0xc]
Total Num Of Uops: 21