VSHUFPS (YMM, YMM, M256, I8) - Throughput and Uops (IACA 2.1)


With a non-indexed addressing mode

With 1 independent instruction

Throughput Analysis Report
--------------------------
Block Throughput: 1.00 Cycles       Throughput Bottleneck: Port2_DATA, Port3_DATA, Port5

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


| Num Of |              Ports pressure in cycles               |    |
|  Uops  |  0  - DV  |  1  |  2  -  D  |  3  -  D  |  4  |  5  |    |
---------------------------------------------------------------------
|   2    |           |     | 0.5   1.0 | 0.5   1.0 |     | 1.0 | CP | vshufps ymm0, ymm1, ymmword ptr [r14], 0x2
Total Num Of Uops: 2

With 12 independent instructions


Throughput Analysis Report
--------------------------
Block Throughput: 12.00 Cycles       Throughput Bottleneck: Port2_DATA, Port3_DATA, Port5

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


| Num Of |              Ports pressure in cycles               |    |
|  Uops  |  0  - DV  |  1  |  2  -  D  |  3  -  D  |  4  |  5  |    |
---------------------------------------------------------------------
|   2    |           |     | 1.0   2.0 |           |     | 1.0 | CP | vshufps ymm0, ymm1, ymmword ptr [r14], 0x2
|   2    |           |     |           | 1.0   2.0 |     | 1.0 | CP | vshufps ymm2, ymm1, ymmword ptr [r14+0x20], 0x2
|   2    |           |     | 1.0   2.0 |           |     | 1.0 | CP | vshufps ymm3, ymm1, ymmword ptr [r14+0x40], 0x2
|   2    |           |     |           | 1.0   2.0 |     | 1.0 | CP | vshufps ymm4, ymm1, ymmword ptr [r14+0x60], 0x2
|   2    |           |     | 1.0   2.0 |           |     | 1.0 | CP | vshufps ymm5, ymm1, ymmword ptr [r14+0x80], 0x2
|   2    |           |     |           | 1.0   2.0 |     | 1.0 | CP | vshufps ymm6, ymm1, ymmword ptr [r14+0xa0], 0x2
|   2    |           |     | 1.0   2.0 |           |     | 1.0 | CP | vshufps ymm7, ymm1, ymmword ptr [r14+0xc0], 0x2
|   2    |           |     |           | 1.0   2.0 |     | 1.0 | CP | vshufps ymm8, ymm1, ymmword ptr [r14+0xe0], 0x2
|   2    |           |     | 1.0   2.0 |           |     | 1.0 | CP | vshufps ymm9, ymm1, ymmword ptr [r14+0x100], 0x2
|   2    |           |     |           | 1.0   2.0 |     | 1.0 | CP | vshufps ymm10, ymm1, ymmword ptr [r14+0x120], 0x2
|   2    |           |     | 1.0   2.0 |           |     | 1.0 | CP | vshufps ymm11, ymm1, ymmword ptr [r14+0x140], 0x2
|   2    |           |     |           | 1.0   2.0 |     | 1.0 | CP | vshufps ymm12, ymm1, ymmword ptr [r14+0x160], 0x2
Total Num Of Uops: 24

With an indexed addressing mode

With 1 independent instruction

Throughput Analysis Report
--------------------------
Block Throughput: 1.00 Cycles       Throughput Bottleneck: Port2_DATA, Port3_DATA, Port5

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


| Num Of |              Ports pressure in cycles               |    |
|  Uops  |  0  - DV  |  1  |  2  -  D  |  3  -  D  |  4  |  5  |    |
---------------------------------------------------------------------
|   2    |           |     | 0.5   1.0 | 0.5   1.0 |     | 1.0 | CP | vshufps ymm0, ymm1, ymmword ptr [r14+r13*1], 0x2
Total Num Of Uops: 2

With 12 independent instructions


Throughput Analysis Report
--------------------------
Block Throughput: 12.00 Cycles       Throughput Bottleneck: Port2_DATA, Port3_DATA, Port5

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


| Num Of |              Ports pressure in cycles               |    |
|  Uops  |  0  - DV  |  1  |  2  -  D  |  3  -  D  |  4  |  5  |    |
---------------------------------------------------------------------
|   2    |           |     | 1.0   2.0 |           |     | 1.0 | CP | vshufps ymm0, ymm1, ymmword ptr [r14+r13*1], 0x2
|   2    |           |     |           | 1.0   2.0 |     | 1.0 | CP | vshufps ymm2, ymm1, ymmword ptr [r14+r13*1+0x20], 0x2
|   2    |           |     | 1.0   2.0 |           |     | 1.0 | CP | vshufps ymm3, ymm1, ymmword ptr [r14+r13*1+0x40], 0x2
|   2    |           |     |           | 1.0   2.0 |     | 1.0 | CP | vshufps ymm4, ymm1, ymmword ptr [r14+r13*1+0x60], 0x2
|   2    |           |     | 1.0   2.0 |           |     | 1.0 | CP | vshufps ymm5, ymm1, ymmword ptr [r14+r13*1+0x80], 0x2
|   2    |           |     |           | 1.0   2.0 |     | 1.0 | CP | vshufps ymm6, ymm1, ymmword ptr [r14+r13*1+0xa0], 0x2
|   2    |           |     | 1.0   2.0 |           |     | 1.0 | CP | vshufps ymm7, ymm1, ymmword ptr [r14+r13*1+0xc0], 0x2
|   2    |           |     |           | 1.0   2.0 |     | 1.0 | CP | vshufps ymm8, ymm1, ymmword ptr [r14+r13*1+0xe0], 0x2
|   2    |           |     | 1.0   2.0 |           |     | 1.0 | CP | vshufps ymm9, ymm1, ymmword ptr [r14+r13*1+0x100], 0x2
|   2    |           |     |           | 1.0   2.0 |     | 1.0 | CP | vshufps ymm10, ymm1, ymmword ptr [r14+r13*1+0x120], 0x2
|   2    |           |     | 1.0   2.0 |           |     | 1.0 | CP | vshufps ymm11, ymm1, ymmword ptr [r14+r13*1+0x140], 0x2
|   2    |           |     |           | 1.0   2.0 |     | 1.0 | CP | vshufps ymm12, ymm1, ymmword ptr [r14+r13*1+0x160], 0x2
Total Num Of Uops: 24

With the -no_interiteration flag

Throughput Analysis Report
--------------------------
Block Throughput: 1.00 Cycles       Throughput Bottleneck: Port2_DATA, Port3_DATA, Port5

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


| Num Of |              Ports pressure in cycles               |    |
|  Uops  |  0  - DV  |  1  |  2  -  D  |  3  -  D  |  4  |  5  |    |
---------------------------------------------------------------------
|   2    |           |     | 0.5   1.0 | 0.5   1.0 |     | 1.0 | CP | vshufps ymm0, ymm1, ymmword ptr [r14], 0x2
Total Num Of Uops: 2