VBLENDVPD (YMM, YMM, M256, YMM) - Port Usage (IACA 3.0)


With blocking instructions for ports {'0', '1'}:

Throughput Analysis Report
--------------------------
Block Throughput: 6.00 Cycles       Throughput Bottleneck: FrontEnd
Loop Count:  22
Port Binding In Cycles Per Iteration:
--------------------------------------------------------------------------------------------------
|  Port  |   0   -  DV   |   1   |   2   -  D    |   3   -  D    |   4   |   5   |   6   |   7   |
--------------------------------------------------------------------------------------------------
| Cycles |  5.0     0.0  |  5.0  |  0.5     0.5  |  0.5     0.5  |  0.0  |  2.0  |  0.0  |  0.0  |
--------------------------------------------------------------------------------------------------

| Num Of   |                    Ports pressure in cycles                         |      |
|  Uops    |  0  - DV    |  1   |  2  -  D    |  3  -  D    |  4   |  5   |  6   |  7   |
-----------------------------------------------------------------------------------------
|   2      | 1.0         |      |             |             |      |      |      |      | vcvtph2ps xmm3, xmm4
|   2      |             | 1.0  |             |             |      |      |      |      | vcvtph2ps xmm5, xmm4
|   2      | 1.0         |      |             |             |      |      |      |      | vcvtph2ps xmm6, xmm4
|   2      |             | 1.0  |             |             |      |      |      |      | vcvtph2ps xmm7, xmm4
|   2      | 1.0         |      |             |             |      |      |      |      | vcvtph2ps xmm8, xmm4
|   2      |             | 1.0  |             |             |      |      |      |      | vcvtph2ps xmm9, xmm4
|   2      | 1.0         |      |             |             |      |      |      |      | vcvtph2ps xmm10, xmm4
|   2      |             | 1.0  |             |             |      |      |      |      | vcvtph2ps xmm11, xmm4
|   2      | 1.0         |      |             |             |      |      |      |      | vcvtph2ps xmm12, xmm4
|   2      |             | 1.0  |             |             |      |      |      |      | vcvtph2ps xmm3, xmm4
|   3^     |             |      | 0.5     0.5 | 0.5     0.5 |      | 2.0  |      |      | vblendvpd ymm0, ymm1, ymmword ptr [r14], ymm2
Total Num Of Uops: 23

With blocking instructions for ports {'0', '5'}:

Throughput Analysis Report
--------------------------
Block Throughput: 4.81 Cycles       Throughput Bottleneck: Backend
Loop Count:  24
Port Binding In Cycles Per Iteration:
--------------------------------------------------------------------------------------------------
|  Port  |   0   -  DV   |   1   |   2   -  D    |   3   -  D    |   4   |   5   |   6   |   7   |
--------------------------------------------------------------------------------------------------
| Cycles |  5.0     0.0  |  2.0  |  0.5     0.5  |  0.5     0.5  |  0.0  |  5.0  |  0.0  |  0.0  |
--------------------------------------------------------------------------------------------------

| Num Of   |                    Ports pressure in cycles                         |      |
|  Uops    |  0  - DV    |  1   |  2  -  D    |  3  -  D    |  4   |  5   |  6   |  7   |
-----------------------------------------------------------------------------------------
|   1      | 1.0         |      |             |             |      |      |      |      | movq mmx0, mmx1
|   1      |             |      |             |             |      | 1.0  |      |      | movq mmx2, mmx1
|   1      | 1.0         |      |             |             |      |      |      |      | movq mmx3, mmx1
|   1      |             |      |             |             |      | 1.0  |      |      | movq mmx4, mmx1
|   1      | 1.0         |      |             |             |      |      |      |      | movq mmx5, mmx1
|   1      |             |      |             |             |      | 1.0  |      |      | movq mmx6, mmx1
|   1      | 1.0         |      |             |             |      |      |      |      | movq mmx7, mmx1
|   1      |             |      |             |             |      | 1.0  |      |      | movq mmx0, mmx1
|   1      | 1.0         |      |             |             |      |      |      |      | movq mmx2, mmx1
|   1      |             |      |             |             |      | 1.0  |      |      | movq mmx3, mmx1
|   3^     |             | 2.0  | 0.5     0.5 | 0.5     0.5 |      |      |      |      | vblendvpd ymm0, ymm1, ymmword ptr [r14], ymm2
Total Num Of Uops: 13

With blocking instructions for ports {'1', '5'}:

Throughput Analysis Report
--------------------------
Block Throughput: 4.81 Cycles       Throughput Bottleneck: Backend
Loop Count:  24
Port Binding In Cycles Per Iteration:
--------------------------------------------------------------------------------------------------
|  Port  |   0   -  DV   |   1   |   2   -  D    |   3   -  D    |   4   |   5   |   6   |   7   |
--------------------------------------------------------------------------------------------------
| Cycles |  2.0     0.0  |  5.0  |  0.5     0.5  |  0.5     0.5  |  0.0  |  5.0  |  0.0  |  0.0  |
--------------------------------------------------------------------------------------------------

| Num Of   |                    Ports pressure in cycles                         |      |
|  Uops    |  0  - DV    |  1   |  2  -  D    |  3  -  D    |  4   |  5   |  6   |  7   |
-----------------------------------------------------------------------------------------
|   1      |             | 1.0  |             |             |      |      |      |      | lea r8w, ptr [r14]
|   1      |             |      |             |             |      | 1.0  |      |      | lea r9w, ptr [r14]
|   1      |             | 1.0  |             |             |      |      |      |      | lea r10w, ptr [r14]
|   1      |             |      |             |             |      | 1.0  |      |      | lea r11w, ptr [r14]
|   1      |             | 1.0  |             |             |      |      |      |      | lea r12w, ptr [r14]
|   1      |             |      |             |             |      | 1.0  |      |      | lea bx, ptr [r14]
|   1      |             | 1.0  |             |             |      |      |      |      | lea cx, ptr [r14]
|   1      |             |      |             |             |      | 1.0  |      |      | lea dx, ptr [r14]
|   1      |             | 1.0  |             |             |      |      |      |      | lea r8w, ptr [r14]
|   1      |             |      |             |             |      | 1.0  |      |      | lea r9w, ptr [r14]
|   3^     | 2.0         |      | 0.5     0.5 | 0.5     0.5 |      |      |      |      | vblendvpd ymm0, ymm1, ymmword ptr [r14], ymm2
Total Num Of Uops: 13

With blocking instructions for ports {'2', '3'}:

Throughput Analysis Report
--------------------------
Block Throughput: 5.53 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 |  0.7     0.0  |  0.6  |  5.5     5.5  |  5.5     5.5  |  0.0  |  0.7  |  0.0  |  0.0  |
--------------------------------------------------------------------------------------------------

| Num Of   |                    Ports pressure in cycles                         |      |
|  Uops    |  0  - DV    |  1   |  2  -  D    |  3  -  D    |  4   |  5   |  6   |  7   |
-----------------------------------------------------------------------------------------
|   1      |             |      | 0.5     0.5 | 0.5     0.5 |      |      |      |      | mov bh, byte ptr [rdi+0x40]
|   1      |             |      | 0.5     0.5 | 0.5     0.5 |      |      |      |      | mov ch, byte ptr [rdi+0x41]
|   1      |             |      | 0.5     0.5 | 0.5     0.5 |      |      |      |      | mov dh, byte ptr [rdi+0x42]
|   1      |             |      | 0.5     0.5 | 0.5     0.5 |      |      |      |      | mov ah, byte ptr [rdi+0x43]
|   1      |             |      | 0.5     0.5 | 0.5     0.5 |      |      |      |      | mov bh, byte ptr [rdi+0x40]
|   1      |             |      | 0.5     0.5 | 0.5     0.5 |      |      |      |      | mov ch, byte ptr [rdi+0x41]
|   1      |             |      | 0.5     0.5 | 0.5     0.5 |      |      |      |      | mov dh, byte ptr [rdi+0x42]
|   1      |             |      | 0.5     0.5 | 0.5     0.5 |      |      |      |      | mov ah, byte ptr [rdi+0x43]
|   1      |             |      | 0.5     0.5 | 0.5     0.5 |      |      |      |      | mov bh, byte ptr [rdi+0x40]
|   1      |             |      | 0.5     0.5 | 0.5     0.5 |      |      |      |      | mov ch, byte ptr [rdi+0x41]
|   3^     | 0.7         | 0.6  | 0.5     0.5 | 0.5     0.5 |      | 0.7  |      |      | vblendvpd ymm0, ymm1, ymmword ptr [r14], ymm2
Total Num Of Uops: 13
⇨ One μop that can only use ports {'2', '3'}

With blocking instructions for ports {'0', '1', '5'}:

Throughput Analysis Report
--------------------------
Block Throughput: 3.71 Cycles       Throughput Bottleneck: Backend
Loop Count:  27
Port Binding In Cycles Per Iteration:
--------------------------------------------------------------------------------------------------
|  Port  |   0   -  DV   |   1   |   2   -  D    |   3   -  D    |   4   |   5   |   6   |   7   |
--------------------------------------------------------------------------------------------------
| Cycles |  4.0     0.0  |  4.0  |  0.5     0.5  |  0.5     0.5  |  0.0  |  4.0  |  0.0  |  0.0  |
--------------------------------------------------------------------------------------------------

| Num Of   |                    Ports pressure in cycles                         |      |
|  Uops    |  0  - DV    |  1   |  2  -  D    |  3  -  D    |  4   |  5   |  6   |  7   |
-----------------------------------------------------------------------------------------
|   1      | 1.0         |      |             |             |      |      |      |      | vmovq xmm3, xmm4
|   1      |             | 1.0  |             |             |      |      |      |      | vmovq xmm5, xmm4
|   1      |             |      |             |             |      | 1.0  |      |      | vmovq xmm6, xmm4
|   1      | 1.0         |      |             |             |      |      |      |      | vmovq xmm7, xmm4
|   1      |             | 1.0  |             |             |      |      |      |      | vmovq xmm8, xmm4
|   1      |             |      |             |             |      | 1.0  |      |      | vmovq xmm9, xmm4
|   1      | 1.0         |      |             |             |      |      |      |      | vmovq xmm10, xmm4
|   1      |             | 1.0  |             |             |      |      |      |      | vmovq xmm11, xmm4
|   1      |             |      |             |             |      | 1.0  |      |      | vmovq xmm12, xmm4
|   1      | 1.0         |      |             |             |      |      |      |      | vmovq xmm3, xmm4
|   3^     |             | 1.0  | 0.5     0.5 | 0.5     0.5 |      | 1.0  |      |      | vblendvpd ymm0, ymm1, ymmword ptr [r14], ymm2
Total Num Of Uops: 13
⇨ 2 μops that can only use ports {'0', '1', '5'}

With an indexed addressing mode


With blocking instructions for ports {'0', '1'}:

Throughput Analysis Report
--------------------------
Block Throughput: 7.00 Cycles       Throughput Bottleneck: FrontEnd
Loop Count:  22
Port Binding In Cycles Per Iteration:
--------------------------------------------------------------------------------------------------
|  Port  |   0   -  DV   |   1   |   2   -  D    |   3   -  D    |   4   |   5   |   6   |   7   |
--------------------------------------------------------------------------------------------------
| Cycles |  5.0     0.0  |  5.0  |  0.5     0.5  |  0.5     0.5  |  0.0  |  2.0  |  0.0  |  0.0  |
--------------------------------------------------------------------------------------------------

| Num Of   |                    Ports pressure in cycles                         |      |
|  Uops    |  0  - DV    |  1   |  2  -  D    |  3  -  D    |  4   |  5   |  6   |  7   |
-----------------------------------------------------------------------------------------
|   2      | 1.0         |      |             |             |      |      |      |      | vcvtph2ps xmm3, xmm4
|   2      |             | 1.0  |             |             |      |      |      |      | vcvtph2ps xmm5, xmm4
|   2      | 1.0         |      |             |             |      |      |      |      | vcvtph2ps xmm6, xmm4
|   2      |             | 1.0  |             |             |      |      |      |      | vcvtph2ps xmm7, xmm4
|   2      | 1.0         |      |             |             |      |      |      |      | vcvtph2ps xmm8, xmm4
|   2      |             | 1.0  |             |             |      |      |      |      | vcvtph2ps xmm9, xmm4
|   2      | 1.0         |      |             |             |      |      |      |      | vcvtph2ps xmm10, xmm4
|   2      |             | 1.0  |             |             |      |      |      |      | vcvtph2ps xmm11, xmm4
|   2      | 1.0         |      |             |             |      |      |      |      | vcvtph2ps xmm12, xmm4
|   2      |             | 1.0  |             |             |      |      |      |      | vcvtph2ps xmm3, xmm4
|   3      |             |      | 0.5     0.5 | 0.5     0.5 |      | 2.0  |      |      | vblendvpd ymm0, ymm1, ymmword ptr [r14+r13*1], ymm2
Total Num Of Uops: 23

With blocking instructions for ports {'0', '5'}:

Throughput Analysis Report
--------------------------
Block Throughput: 4.65 Cycles       Throughput Bottleneck: Dependency chains
Loop Count:  23
Port Binding In Cycles Per Iteration:
--------------------------------------------------------------------------------------------------
|  Port  |   0   -  DV   |   1   |   2   -  D    |   3   -  D    |   4   |   5   |   6   |   7   |
--------------------------------------------------------------------------------------------------
| Cycles |  5.0     0.0  |  2.0  |  0.5     0.5  |  0.5     0.5  |  0.0  |  5.0  |  0.0  |  0.0  |
--------------------------------------------------------------------------------------------------

| Num Of   |                    Ports pressure in cycles                         |      |
|  Uops    |  0  - DV    |  1   |  2  -  D    |  3  -  D    |  4   |  5   |  6   |  7   |
-----------------------------------------------------------------------------------------
|   1      | 1.0         |      |             |             |      |      |      |      | movq mmx0, mmx1
|   1      |             |      |             |             |      | 1.0  |      |      | movq mmx2, mmx1
|   1      | 1.0         |      |             |             |      |      |      |      | movq mmx3, mmx1
|   1      |             |      |             |             |      | 1.0  |      |      | movq mmx4, mmx1
|   1      | 1.0         |      |             |             |      |      |      |      | movq mmx5, mmx1
|   1      |             |      |             |             |      | 1.0  |      |      | movq mmx6, mmx1
|   1      | 1.0         |      |             |             |      |      |      |      | movq mmx7, mmx1
|   1      |             |      |             |             |      | 1.0  |      |      | movq mmx0, mmx1
|   1      | 1.0         |      |             |             |      |      |      |      | movq mmx2, mmx1
|   1      |             |      |             |             |      | 1.0  |      |      | movq mmx3, mmx1
|   3      |             | 2.0  | 0.5     0.5 | 0.5     0.5 |      |      |      |      | vblendvpd ymm0, ymm1, ymmword ptr [r14+r13*1], ymm2
Total Num Of Uops: 13

With blocking instructions for ports {'1', '5'}:

Throughput Analysis Report
--------------------------
Block Throughput: 4.65 Cycles       Throughput Bottleneck: Dependency chains
Loop Count:  23
Port Binding In Cycles Per Iteration:
--------------------------------------------------------------------------------------------------
|  Port  |   0   -  DV   |   1   |   2   -  D    |   3   -  D    |   4   |   5   |   6   |   7   |
--------------------------------------------------------------------------------------------------
| Cycles |  2.0     0.0  |  5.0  |  0.5     0.5  |  0.5     0.5  |  0.0  |  5.0  |  0.0  |  0.0  |
--------------------------------------------------------------------------------------------------

| Num Of   |                    Ports pressure in cycles                         |      |
|  Uops    |  0  - DV    |  1   |  2  -  D    |  3  -  D    |  4   |  5   |  6   |  7   |
-----------------------------------------------------------------------------------------
|   1      |             | 1.0  |             |             |      |      |      |      | lea r8w, ptr [r14]
|   1      |             |      |             |             |      | 1.0  |      |      | lea r9w, ptr [r14]
|   1      |             | 1.0  |             |             |      |      |      |      | lea r10w, ptr [r14]
|   1      |             |      |             |             |      | 1.0  |      |      | lea r11w, ptr [r14]
|   1      |             | 1.0  |             |             |      |      |      |      | lea r12w, ptr [r14]
|   1      |             |      |             |             |      | 1.0  |      |      | lea bx, ptr [r14]
|   1      |             | 1.0  |             |             |      |      |      |      | lea cx, ptr [r14]
|   1      |             |      |             |             |      | 1.0  |      |      | lea dx, ptr [r14]
|   1      |             | 1.0  |             |             |      |      |      |      | lea r8w, ptr [r14]
|   1      |             |      |             |             |      | 1.0  |      |      | lea r9w, ptr [r14]
|   3      | 2.0         |      | 0.5     0.5 | 0.5     0.5 |      |      |      |      | vblendvpd ymm0, ymm1, ymmword ptr [r14+r13*1], ymm2
Total Num Of Uops: 13

With blocking instructions for ports {'2', '3'}:

Throughput Analysis Report
--------------------------
Block Throughput: 5.53 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 |  0.7     0.0  |  0.6  |  5.5     5.5  |  5.5     5.5  |  0.0  |  0.7  |  0.0  |  0.0  |
--------------------------------------------------------------------------------------------------

| Num Of   |                    Ports pressure in cycles                         |      |
|  Uops    |  0  - DV    |  1   |  2  -  D    |  3  -  D    |  4   |  5   |  6   |  7   |
-----------------------------------------------------------------------------------------
|   1      |             |      | 0.5     0.5 | 0.5     0.5 |      |      |      |      | mov bh, byte ptr [rdi+0x40]
|   1      |             |      | 0.5     0.5 | 0.5     0.5 |      |      |      |      | mov ch, byte ptr [rdi+0x41]
|   1      |             |      | 0.5     0.5 | 0.5     0.5 |      |      |      |      | mov dh, byte ptr [rdi+0x42]
|   1      |             |      | 0.5     0.5 | 0.5     0.5 |      |      |      |      | mov ah, byte ptr [rdi+0x43]
|   1      |             |      | 0.5     0.5 | 0.5     0.5 |      |      |      |      | mov bh, byte ptr [rdi+0x40]
|   1      |             |      | 0.5     0.5 | 0.5     0.5 |      |      |      |      | mov ch, byte ptr [rdi+0x41]
|   1      |             |      | 0.5     0.5 | 0.5     0.5 |      |      |      |      | mov dh, byte ptr [rdi+0x42]
|   1      |             |      | 0.5     0.5 | 0.5     0.5 |      |      |      |      | mov ah, byte ptr [rdi+0x43]
|   1      |             |      | 0.5     0.5 | 0.5     0.5 |      |      |      |      | mov bh, byte ptr [rdi+0x40]
|   1      |             |      | 0.5     0.5 | 0.5     0.5 |      |      |      |      | mov ch, byte ptr [rdi+0x41]
|   3      | 0.7         | 0.6  | 0.5     0.5 | 0.5     0.5 |      | 0.7  |      |      | vblendvpd ymm0, ymm1, ymmword ptr [r14+r13*1], ymm2
Total Num Of Uops: 13
⇨ One μop that can only use ports {'2', '3'}

With blocking instructions for ports {'0', '1', '5'}:

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

| Num Of   |                    Ports pressure in cycles                         |      |
|  Uops    |  0  - DV    |  1   |  2  -  D    |  3  -  D    |  4   |  5   |  6   |  7   |
-----------------------------------------------------------------------------------------
|   1      | 1.0         |      |             |             |      |      |      |      | vmovq xmm3, xmm4
|   1      |             | 1.0  |             |             |      |      |      |      | vmovq xmm5, xmm4
|   1      |             |      |             |             |      | 1.0  |      |      | vmovq xmm6, xmm4
|   1      | 1.0         |      |             |             |      |      |      |      | vmovq xmm7, xmm4
|   1      |             | 1.0  |             |             |      |      |      |      | vmovq xmm8, xmm4
|   1      |             |      |             |             |      | 1.0  |      |      | vmovq xmm9, xmm4
|   1      | 1.0         |      |             |             |      |      |      |      | vmovq xmm10, xmm4
|   1      |             | 1.0  |             |             |      |      |      |      | vmovq xmm11, xmm4
|   1      |             |      |             |             |      | 1.0  |      |      | vmovq xmm12, xmm4
|   1      | 1.0         |      |             |             |      |      |      |      | vmovq xmm3, xmm4
|   3      |             | 1.0  | 0.5     0.5 | 0.5     0.5 |      | 1.0  |      |      | vblendvpd ymm0, ymm1, ymmword ptr [r14+r13*1], ymm2
Total Num Of Uops: 13
⇨ 2 μops that can only use ports {'0', '1', '5'}