CMPXCHG_LOCK (M64, R64) - Port Usage (IACA 3.0)


With blocking instructions for port '0':

Throughput Analysis Report
--------------------------
Block Throughput: 10.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 | 10.0     0.0  |  1.5  |  0.7     0.7  |  0.6     0.6  |  1.0  |  1.5  |  4.0  |  0.7  |
--------------------------------------------------------------------------------------------------

| Num Of   |                    Ports pressure in cycles                         |      |
|  Uops    |  0  - DV    |  1   |  2  -  D    |  3  -  D    |  4   |  5   |  6   |  7   |
-----------------------------------------------------------------------------------------
|   1      | 1.0         |      |             |             |      |      |      |      | movd r9d, mmx0
|   1      | 1.0         |      |             |             |      |      |      |      | movd r10d, mmx0
|   1      | 1.0         |      |             |             |      |      |      |      | movd r11d, mmx0
|   1      | 1.0         |      |             |             |      |      |      |      | movd r12d, mmx0
|   1      | 1.0         |      |             |             |      |      |      |      | movd ebx, mmx0
|   1      | 1.0         |      |             |             |      |      |      |      | movd ecx, mmx0
|   1      | 1.0         |      |             |             |      |      |      |      | movd edx, mmx0
|   1      | 1.0         |      |             |             |      |      |      |      | movd r9d, mmx0
|   1      | 1.0         |      |             |             |      |      |      |      | movd r10d, mmx0
|   1      | 1.0         |      |             |             |      |      |      |      | movd r11d, mmx0
|  10^     |             | 1.5  | 0.7     0.7 | 0.6     0.6 | 1.0  | 1.5  | 4.0  | 0.7  | lock cmpxchg qword ptr [r14], r8
Total Num Of Uops: 20

With blocking instructions for port '1':

Throughput Analysis Report
--------------------------
Block Throughput: 10.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  | 10.0  |  0.7     0.7  |  0.6     0.6  |  1.0  |  2.3  |  2.4  |  0.7  |
--------------------------------------------------------------------------------------------------

| Num Of   |                    Ports pressure in cycles                         |      |
|  Uops    |  0  - DV    |  1   |  2  -  D    |  3  -  D    |  4   |  5   |  6   |  7   |
-----------------------------------------------------------------------------------------
|   1      |             | 1.0  |             |             |      |      |      |      | imul r9w, r10w, 0x0
|   1      |             | 1.0  |             |             |      |      |      |      | imul r11w, r10w, 0x0
|   1      |             | 1.0  |             |             |      |      |      |      | imul r12w, r10w, 0x0
|   1      |             | 1.0  |             |             |      |      |      |      | imul bx, r10w, 0x0
|   1      |             | 1.0  |             |             |      |      |      |      | imul cx, r10w, 0x0
|   1      |             | 1.0  |             |             |      |      |      |      | imul dx, r10w, 0x0
|   1      |             | 1.0  |             |             |      |      |      |      | imul r9w, r10w, 0x0
|   1      |             | 1.0  |             |             |      |      |      |      | imul r11w, r10w, 0x0
|   1      |             | 1.0  |             |             |      |      |      |      | imul r12w, r10w, 0x0
|   1      |             | 1.0  |             |             |      |      |      |      | imul bx, r10w, 0x0
|  10^     | 2.3         |      | 0.7     0.7 | 0.6     0.6 | 1.0  | 2.3  | 2.4  | 0.7  | lock cmpxchg qword ptr [r14], r8
Total Num Of Uops: 20

With blocking instructions for port '4':

Throughput Analysis Report
--------------------------
Block Throughput: 11.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.0     0.0  |  1.5  |  4.0     0.0  |  4.0     1.0  | 11.0  |  1.5  |  2.0  |  4.0  |
--------------------------------------------------------------------------------------------------

| Num Of   |                    Ports pressure in cycles                         |      |
|  Uops    |  0  - DV    |  1   |  2  -  D    |  3  -  D    |  4   |  5   |  6   |  7   |
-----------------------------------------------------------------------------------------
|   2^     |             |      | 1.0         |             | 1.0  |      |      |      | mov qword ptr [r14+0x40], r9
|   2^     |             |      |             | 1.0         | 1.0  |      |      |      | mov qword ptr [r14+0x48], r9
|   2^     |             |      |             |             | 1.0  |      |      | 1.0  | mov qword ptr [r14+0x50], r9
|   2^     |             |      | 1.0         |             | 1.0  |      |      |      | mov qword ptr [r14+0x58], r9
|   2^     |             |      |             | 1.0         | 1.0  |      |      |      | mov qword ptr [r14+0x60], r9
|   2^     |             |      |             |             | 1.0  |      |      | 1.0  | mov qword ptr [r14+0x68], r9
|   2^     |             |      | 1.0         |             | 1.0  |      |      |      | mov qword ptr [r14+0x70], r9
|   2^     |             |      |             | 1.0         | 1.0  |      |      |      | mov qword ptr [r14+0x78], r9
|   2^     |             |      |             |             | 1.0  |      |      | 1.0  | mov qword ptr [r14+0x80], r9
|   2^     |             |      | 1.0         |             | 1.0  |      |      |      | mov qword ptr [r14+0x88], r9
|  10^     | 2.0         | 1.5  |             | 1.0     1.0 | 1.0  | 1.5  | 2.0  | 1.0  | lock cmpxchg qword ptr [r14], r8
Total Num Of Uops: 30
⇨ One μop that can only use port '4'

With blocking instructions for port '5':

Throughput Analysis Report
--------------------------
Block Throughput: 10.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.3  |  0.7     0.7  |  0.6     0.6  |  1.0  | 10.0  |  2.4  |  0.7  |
--------------------------------------------------------------------------------------------------

| Num Of   |                    Ports pressure in cycles                         |      |
|  Uops    |  0  - DV    |  1   |  2  -  D    |  3  -  D    |  4   |  5   |  6   |  7   |
-----------------------------------------------------------------------------------------
|   1      |             |      |             |             |      | 1.0  |      |      | insertps xmm0, xmm1, 0x2
|   1      |             |      |             |             |      | 1.0  |      |      | insertps xmm2, xmm1, 0x2
|   1      |             |      |             |             |      | 1.0  |      |      | insertps xmm3, xmm1, 0x2
|   1      |             |      |             |             |      | 1.0  |      |      | insertps xmm4, xmm1, 0x2
|   1      |             |      |             |             |      | 1.0  |      |      | insertps xmm5, xmm1, 0x2
|   1      |             |      |             |             |      | 1.0  |      |      | insertps xmm6, xmm1, 0x2
|   1      |             |      |             |             |      | 1.0  |      |      | insertps xmm7, xmm1, 0x2
|   1      |             |      |             |             |      | 1.0  |      |      | insertps xmm8, xmm1, 0x2
|   1      |             |      |             |             |      | 1.0  |      |      | insertps xmm9, xmm1, 0x2
|   1      |             |      |             |             |      | 1.0  |      |      | insertps xmm10, xmm1, 0x2
|  10^     | 2.3         | 2.3  | 0.7     0.7 | 0.6     0.6 | 1.0  |      | 2.4  | 0.7  | lock cmpxchg qword ptr [r14], r8
Total Num Of Uops: 20

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

Throughput Analysis Report
--------------------------
Block Throughput: 9.95 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 | 10.0     0.0  | 10.0  |  0.7     0.7  |  0.6     0.6  |  1.0  |  3.0  |  4.0  |  0.7  |
--------------------------------------------------------------------------------------------------

| Num Of   |                    Ports pressure in cycles                         |      |
|  Uops    |  0  - DV    |  1   |  2  -  D    |  3  -  D    |  4   |  5   |  6   |  7   |
-----------------------------------------------------------------------------------------
|   1      | 1.0         |      |             |             |      |      |      |      | pabsb xmm0, xmm1
|   1      |             | 1.0  |             |             |      |      |      |      | pabsb xmm2, xmm1
|   1      | 1.0         |      |             |             |      |      |      |      | pabsb xmm3, xmm1
|   1      |             | 1.0  |             |             |      |      |      |      | pabsb xmm4, xmm1
|   1      | 1.0         |      |             |             |      |      |      |      | pabsb xmm5, xmm1
|   1      |             | 1.0  |             |             |      |      |      |      | pabsb xmm6, xmm1
|   1      | 1.0         |      |             |             |      |      |      |      | pabsb xmm7, xmm1
|   1      |             | 1.0  |             |             |      |      |      |      | pabsb xmm8, xmm1
|   1      | 1.0         |      |             |             |      |      |      |      | pabsb xmm9, xmm1
|   1      |             | 1.0  |             |             |      |      |      |      | pabsb xmm10, xmm1
|   1      | 1.0         |      |             |             |      |      |      |      | pabsb xmm11, xmm1
|   1      |             | 1.0  |             |             |      |      |      |      | pabsb xmm12, xmm1
|   1      | 1.0         |      |             |             |      |      |      |      | pabsb xmm0, xmm1
|   1      |             | 1.0  |             |             |      |      |      |      | pabsb xmm2, xmm1
|   1      | 1.0         |      |             |             |      |      |      |      | pabsb xmm3, xmm1
|   1      |             | 1.0  |             |             |      |      |      |      | pabsb xmm4, xmm1
|   1      | 1.0         |      |             |             |      |      |      |      | pabsb xmm5, xmm1
|   1      |             | 1.0  |             |             |      |      |      |      | pabsb xmm6, xmm1
|   1      | 1.0         |      |             |             |      |      |      |      | pabsb xmm7, xmm1
|   1      |             | 1.0  |             |             |      |      |      |      | pabsb xmm8, xmm1
|  10^     |             |      | 0.7     0.7 | 0.6     0.6 | 1.0  | 3.0  | 4.0  | 0.7  | lock cmpxchg qword ptr [r14], r8
Total Num Of Uops: 30

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

Throughput Analysis Report
--------------------------
Block Throughput: 9.95 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 | 10.0     0.0  |  3.0  |  0.7     0.7  |  0.6     0.6  |  1.0  | 10.0  |  4.0  |  0.7  |
--------------------------------------------------------------------------------------------------

| 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
|   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
|   1      |             |      |             |             |      | 1.0  |      |      | movq mmx4, mmx1
|   1      | 1.0         |      |             |             |      |      |      |      | movq mmx5, mmx1
|   1      |             |      |             |             |      | 1.0  |      |      | movq mmx6, mmx1
|  10^     |             | 3.0  | 0.7     0.7 | 0.6     0.6 | 1.0  |      | 4.0  | 0.7  | lock cmpxchg qword ptr [r14], r8
Total Num Of Uops: 30

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

Throughput Analysis Report
--------------------------
Block Throughput: 20.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 | 12.0     0.0  |  1.5  |  0.7     0.7  |  0.6     0.6  |  1.0  |  1.5  | 12.0  |  0.7  |
--------------------------------------------------------------------------------------------------

| Num Of   |                    Ports pressure in cycles                         |      |
|  Uops    |  0  - DV    |  1   |  2  -  D    |  3  -  D    |  4   |  5   |  6   |  7   |
-----------------------------------------------------------------------------------------
|   1      | 1.0         |      |             |             |      |      |      |      | sar r12b, 0x0
|   1      |             |      |             |             |      |      | 1.0  |      | sar r12b, 0x0
|   1      | 1.0         |      |             |             |      |      |      |      | sar r12b, 0x0
|   1      |             |      |             |             |      |      | 1.0  |      | sar r12b, 0x0
|   1      | 1.0         |      |             |             |      |      |      |      | sar r12b, 0x0
|   1      |             |      |             |             |      |      | 1.0  |      | sar r12b, 0x0
|   1      | 1.0         |      |             |             |      |      |      |      | sar r12b, 0x0
|   1      |             |      |             |             |      |      | 1.0  |      | sar r12b, 0x0
|   1      | 1.0         |      |             |             |      |      |      |      | sar r12b, 0x0
|   1      |             |      |             |             |      |      | 1.0  |      | sar r12b, 0x0
|   1      | 1.0         |      |             |             |      |      |      |      | sar r12b, 0x0
|   1      |             |      |             |             |      |      | 1.0  |      | sar r12b, 0x0
|   1      | 1.0         |      |             |             |      |      |      |      | sar r12b, 0x0
|   1      |             |      |             |             |      |      | 1.0  |      | sar r12b, 0x0
|   1      | 1.0         |      |             |             |      |      |      |      | sar r12b, 0x0
|   1      |             |      |             |             |      |      | 1.0  |      | sar r12b, 0x0
|   1      | 1.0         |      |             |             |      |      |      |      | sar r12b, 0x0
|   1      |             |      |             |             |      |      | 1.0  |      | sar r12b, 0x0
|   1      | 1.0         |      |             |             |      |      |      |      | sar r12b, 0x0
|   1      |             |      |             |             |      |      | 1.0  |      | sar r12b, 0x0
|  10^     | 2.0         | 1.5  | 0.7     0.7 | 0.6     0.6 | 1.0  | 1.5  | 2.0  | 0.7  | lock cmpxchg qword ptr [r14], r8
Total Num Of Uops: 30
⇨ 4 μops that can only use ports {'0', '6'}

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

Throughput Analysis Report
--------------------------
Block Throughput: 9.95 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 |  3.5     0.0  | 10.0  |  0.7     0.7  |  0.6     0.6  |  1.0  | 10.0  |  3.5  |  0.7  |
--------------------------------------------------------------------------------------------------

| Num Of   |                    Ports pressure in cycles                         |      |
|  Uops    |  0  - DV    |  1   |  2  -  D    |  3  -  D    |  4   |  5   |  6   |  7   |
-----------------------------------------------------------------------------------------
|   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 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 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]
|  10^     | 3.5         |      | 0.7     0.7 | 0.6     0.6 | 1.0  |      | 3.5  | 0.7  | lock cmpxchg qword ptr [r14], r8
Total Num Of Uops: 30

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

Throughput Analysis Report
--------------------------
Block Throughput: 10.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 |  2.0     0.0  |  1.5  | 10.5    10.5  | 10.5    10.5  |  1.0  |  1.5  |  2.0  |  1.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 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 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 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 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 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 bh, byte ptr [rdi+0x40]
|   1      |             |      | 0.5     0.5 | 0.5     0.5 |      |      |      |      | mov ch, byte ptr [rdi+0x41]
|  10^     | 2.0         | 1.5  | 0.5     0.5 | 0.5     0.5 | 1.0  | 1.5  | 2.0  | 1.0  | lock cmpxchg qword ptr [r14], r8
Total Num Of Uops: 30
⇨ One μop that can only use ports {'2', '3'}

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

Throughput Analysis Report
--------------------------
Block Throughput: 11.89 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 | 10.0     0.0  | 10.0  |  0.7     0.7  |  0.6     0.6  |  1.0  | 10.0  |  7.0  |  0.7  |
--------------------------------------------------------------------------------------------------

| Num Of   |                    Ports pressure in cycles                         |      |
|  Uops    |  0  - DV    |  1   |  2  -  D    |  3  -  D    |  4   |  5   |  6   |  7   |
-----------------------------------------------------------------------------------------
|   1      | 1.0         |      |             |             |      |      |      |      | addpd xmm0, xmm1
|   1      |             | 1.0  |             |             |      |      |      |      | addpd xmm2, xmm1
|   1      |             |      |             |             |      | 1.0  |      |      | addpd xmm3, xmm1
|   1      | 1.0         |      |             |             |      |      |      |      | addpd xmm4, xmm1
|   1      |             | 1.0  |             |             |      |      |      |      | addpd xmm5, xmm1
|   1      |             |      |             |             |      | 1.0  |      |      | addpd xmm6, xmm1
|   1      | 1.0         |      |             |             |      |      |      |      | addpd xmm7, xmm1
|   1      |             | 1.0  |             |             |      |      |      |      | addpd xmm8, xmm1
|   1      |             |      |             |             |      | 1.0  |      |      | addpd xmm9, xmm1
|   1      | 1.0         |      |             |             |      |      |      |      | addpd xmm10, xmm1
|   1      |             | 1.0  |             |             |      |      |      |      | addpd xmm11, xmm1
|   1      |             |      |             |             |      | 1.0  |      |      | addpd xmm12, xmm1
|   1      | 1.0         |      |             |             |      |      |      |      | addpd xmm0, xmm1
|   1      |             | 1.0  |             |             |      |      |      |      | addpd xmm2, xmm1
|   1      |             |      |             |             |      | 1.0  |      |      | addpd xmm3, xmm1
|   1      | 1.0         |      |             |             |      |      |      |      | addpd xmm4, xmm1
|   1      |             | 1.0  |             |             |      |      |      |      | addpd xmm5, xmm1
|   1      |             |      |             |             |      | 1.0  |      |      | addpd xmm6, xmm1
|   1      | 1.0         |      |             |             |      |      |      |      | addpd xmm7, xmm1
|   1      |             | 1.0  |             |             |      |      |      |      | addpd xmm8, xmm1
|   1      |             |      |             |             |      | 1.0  |      |      | addpd xmm9, xmm1
|   1      | 1.0         |      |             |             |      |      |      |      | addpd xmm10, xmm1
|   1      |             | 1.0  |             |             |      |      |      |      | addpd xmm11, xmm1
|   1      |             |      |             |             |      | 1.0  |      |      | addpd xmm12, xmm1
|   1      | 1.0         |      |             |             |      |      |      |      | addpd xmm0, xmm1
|   1      |             | 1.0  |             |             |      |      |      |      | addpd xmm2, xmm1
|   1      |             |      |             |             |      | 1.0  |      |      | addpd xmm3, xmm1
|   1      | 1.0         |      |             |             |      |      |      |      | addpd xmm4, xmm1
|   1      |             | 1.0  |             |             |      |      |      |      | addpd xmm5, xmm1
|   1      |             |      |             |             |      | 1.0  |      |      | addpd xmm6, xmm1
|  10^     |             |      | 0.7     0.7 | 0.6     0.6 | 1.0  |      | 7.0  | 0.7  | lock cmpxchg qword ptr [r14], r8
Total Num Of Uops: 40

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

Throughput Analysis Report
--------------------------
Block Throughput: 31.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.0     0.0  |  1.5  | 10.7     0.7  | 10.6     0.6  | 31.0  |  1.5  |  2.0  | 10.7  |
--------------------------------------------------------------------------------------------------

| Num Of   |                    Ports pressure in cycles                         |      |
|  Uops    |  0  - DV    |  1   |  2  -  D    |  3  -  D    |  4   |  5   |  6   |  7   |
-----------------------------------------------------------------------------------------
|   2^     |             |      | 0.3         | 0.3         | 1.0  |      |      | 0.4  | mov qword ptr [r14+0x40], r9
|   2^     |             |      | 0.4         | 0.3         | 1.0  |      |      | 0.3  | mov qword ptr [r14+0x48], r9
|   2^     |             |      | 0.3         | 0.4         | 1.0  |      |      | 0.3  | mov qword ptr [r14+0x50], r9
|   2^     |             |      | 0.3         | 0.3         | 1.0  |      |      | 0.4  | mov qword ptr [r14+0x58], r9
|   2^     |             |      | 0.4         | 0.3         | 1.0  |      |      | 0.3  | mov qword ptr [r14+0x60], r9
|   2^     |             |      | 0.3         | 0.4         | 1.0  |      |      | 0.3  | mov qword ptr [r14+0x68], r9
|   2^     |             |      | 0.3         | 0.3         | 1.0  |      |      | 0.4  | mov qword ptr [r14+0x70], r9
|   2^     |             |      | 0.4         | 0.3         | 1.0  |      |      | 0.3  | mov qword ptr [r14+0x78], r9
|   2^     |             |      | 0.3         | 0.4         | 1.0  |      |      | 0.3  | mov qword ptr [r14+0x80], r9
|   2^     |             |      | 0.3         | 0.3         | 1.0  |      |      | 0.4  | mov qword ptr [r14+0x88], r9
|   2^     |             |      | 0.4         | 0.3         | 1.0  |      |      | 0.3  | mov qword ptr [r14+0x90], r9
|   2^     |             |      | 0.3         | 0.4         | 1.0  |      |      | 0.3  | mov qword ptr [r14+0x98], r9
|   2^     |             |      | 0.3         | 0.3         | 1.0  |      |      | 0.4  | mov qword ptr [r14+0xa0], r9
|   2^     |             |      | 0.4         | 0.3         | 1.0  |      |      | 0.3  | mov qword ptr [r14+0xa8], r9
|   2^     |             |      | 0.3         | 0.4         | 1.0  |      |      | 0.3  | mov qword ptr [r14+0xb0], r9
|   2^     |             |      | 0.3         | 0.3         | 1.0  |      |      | 0.4  | mov qword ptr [r14+0xb8], r9
|   2^     |             |      | 0.4         | 0.3         | 1.0  |      |      | 0.3  | mov qword ptr [r14+0x40], r9
|   2^     |             |      | 0.3         | 0.4         | 1.0  |      |      | 0.3  | mov qword ptr [r14+0x48], r9
|   2^     |             |      | 0.3         | 0.3         | 1.0  |      |      | 0.4  | mov qword ptr [r14+0x50], r9
|   2^     |             |      | 0.4         | 0.3         | 1.0  |      |      | 0.3  | mov qword ptr [r14+0x58], r9
|   2^     |             |      | 0.3         | 0.4         | 1.0  |      |      | 0.3  | mov qword ptr [r14+0x60], r9
|   2^     |             |      | 0.3         | 0.3         | 1.0  |      |      | 0.4  | mov qword ptr [r14+0x68], r9
|   2^     |             |      | 0.4         | 0.3         | 1.0  |      |      | 0.3  | mov qword ptr [r14+0x70], r9
|   2^     |             |      | 0.3         | 0.4         | 1.0  |      |      | 0.3  | mov qword ptr [r14+0x78], r9
|   2^     |             |      | 0.3         | 0.3         | 1.0  |      |      | 0.4  | mov qword ptr [r14+0x80], r9
|   2^     |             |      | 0.4         | 0.3         | 1.0  |      |      | 0.3  | mov qword ptr [r14+0x88], r9
|   2^     |             |      | 0.3         | 0.4         | 1.0  |      |      | 0.3  | mov qword ptr [r14+0x90], r9
|   2^     |             |      | 0.3         | 0.3         | 1.0  |      |      | 0.4  | mov qword ptr [r14+0x98], r9
|   2^     |             |      | 0.4         | 0.3         | 1.0  |      |      | 0.3  | mov qword ptr [r14+0xa0], r9
|   2^     |             |      | 0.3         | 0.4         | 1.0  |      |      | 0.3  | mov qword ptr [r14+0xa8], r9
|  10^     | 2.0         | 1.5  | 0.7     0.7 | 0.6     0.6 | 1.0  | 1.5  | 2.0  | 0.7  | lock cmpxchg qword ptr [r14], r8
Total Num Of Uops: 70
⇨ One μop that can only use ports {'2', '3', '7'}

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

Throughput Analysis Report
--------------------------
Block Throughput: 12.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 | 11.7     0.0  | 11.7  |  0.7     0.7  |  0.6     0.6  |  1.0  | 11.7  | 11.8  |  0.7  |
--------------------------------------------------------------------------------------------------

| Num Of   |                    Ports pressure in cycles                         |      |
|  Uops    |  0  - DV    |  1   |  2  -  D    |  3  -  D    |  4   |  5   |  6   |  7   |
-----------------------------------------------------------------------------------------
|   1      |             | 0.3  |             |             |      | 0.7  |      |      | mov bh, 0x0
|   1      | 0.3         | 0.5  |             |             |      | 0.3  |      |      | mov ch, 0x0
|   1      | 0.3         | 0.3  |             |             |      | 0.5  |      |      | mov dh, 0x0
|   1      | 0.2         | 0.3  |             |             |      | 0.3  | 0.3  |      | mov bh, 0x0
|   1      | 0.3         | 0.2  |             |             |      | 0.3  | 0.3  |      | mov ch, 0x0
|   1      | 0.3         | 0.3  |             |             |      | 0.2  | 0.3  |      | mov dh, 0x0
|   1      | 0.3         | 0.3  |             |             |      | 0.3  | 0.2  |      | mov bh, 0x0
|   1      | 0.2         | 0.3  |             |             |      | 0.3  | 0.3  |      | mov ch, 0x0
|   1      | 0.3         | 0.2  |             |             |      | 0.3  | 0.3  |      | mov dh, 0x0
|   1      | 0.3         | 0.3  |             |             |      | 0.2  | 0.3  |      | mov bh, 0x0
|   1      | 0.3         | 0.3  |             |             |      | 0.3  | 0.2  |      | mov ch, 0x0
|   1      | 0.2         | 0.3  |             |             |      | 0.3  | 0.3  |      | mov dh, 0x0
|   1      | 0.3         | 0.2  |             |             |      | 0.3  | 0.3  |      | mov bh, 0x0
|   1      | 0.3         | 0.3  |             |             |      | 0.2  | 0.3  |      | mov ch, 0x0
|   1      | 0.3         | 0.3  |             |             |      | 0.3  | 0.2  |      | mov dh, 0x0
|   1      | 0.2         | 0.3  |             |             |      | 0.3  | 0.3  |      | mov bh, 0x0
|   1      | 0.3         | 0.2  |             |             |      | 0.3  | 0.3  |      | mov ch, 0x0
|   1      | 0.3         | 0.3  |             |             |      | 0.2  | 0.3  |      | mov dh, 0x0
|   1      | 0.3         | 0.3  |             |             |      | 0.3  | 0.2  |      | mov bh, 0x0
|   1      | 0.2         | 0.3  |             |             |      | 0.3  | 0.3  |      | mov ch, 0x0
|   1      | 0.3         | 0.2  |             |             |      | 0.3  | 0.3  |      | mov dh, 0x0
|   1      | 0.3         | 0.3  |             |             |      | 0.2  | 0.3  |      | mov bh, 0x0
|   1      | 0.3         | 0.3  |             |             |      | 0.3  | 0.2  |      | mov ch, 0x0
|   1      | 0.2         | 0.3  |             |             |      | 0.3  | 0.3  |      | mov dh, 0x0
|   1      | 0.3         | 0.2  |             |             |      | 0.3  | 0.3  |      | mov bh, 0x0
|   1      | 0.3         | 0.3  |             |             |      | 0.2  | 0.3  |      | mov ch, 0x0
|   1      | 0.3         | 0.3  |             |             |      | 0.3  | 0.2  |      | mov dh, 0x0
|   1      | 0.2         | 0.3  |             |             |      | 0.3  | 0.3  |      | mov bh, 0x0
|   1      | 0.3         | 0.2  |             |             |      | 0.3  | 0.3  |      | mov ch, 0x0
|   1      | 0.3         | 0.3  |             |             |      | 0.2  | 0.3  |      | mov dh, 0x0
|   1      | 0.3         | 0.3  |             |             |      | 0.3  | 0.2  |      | mov bh, 0x0
|   1      | 0.2         | 0.3  |             |             |      | 0.3  | 0.3  |      | mov ch, 0x0
|   1      | 0.3         | 0.2  |             |             |      | 0.3  | 0.3  |      | mov dh, 0x0
|   1      | 0.3         | 0.3  |             |             |      | 0.2  | 0.3  |      | mov bh, 0x0
|   1      | 0.3         | 0.3  |             |             |      | 0.3  | 0.2  |      | mov ch, 0x0
|   1      | 0.2         | 0.3  |             |             |      | 0.3  | 0.3  |      | mov dh, 0x0
|   1      | 0.3         | 0.2  |             |             |      | 0.3  | 0.3  |      | mov bh, 0x0
|   1      | 0.3         | 0.3  |             |             |      | 0.2  | 0.3  |      | mov ch, 0x0
|   1      | 0.3         | 0.3  |             |             |      | 0.3  | 0.2  |      | mov dh, 0x0
|   1      | 0.2         | 0.3  |             |             |      | 0.3  | 0.3  |      | mov bh, 0x0
|  10^     | 2.0         | 1.5  | 0.7     0.7 | 0.6     0.6 | 1.0  | 1.0  | 2.5  | 0.7  | lock cmpxchg qword ptr [r14], r8
Total Num Of Uops: 50
⇨ 3 μops that can only use ports {'0', '1', '5', '6'}

With an indexed addressing mode


With blocking instructions for port '0':

Throughput Analysis Report
--------------------------
Block Throughput: 10.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 | 10.0     0.0  |  1.5  |  1.0     1.0  |  1.0     1.0  |  1.0  |  1.5  |  4.0  |  0.0  |
--------------------------------------------------------------------------------------------------

| Num Of   |                    Ports pressure in cycles                         |      |
|  Uops    |  0  - DV    |  1   |  2  -  D    |  3  -  D    |  4   |  5   |  6   |  7   |
-----------------------------------------------------------------------------------------
|   1      | 1.0         |      |             |             |      |      |      |      | movd r9d, mmx0
|   1      | 1.0         |      |             |             |      |      |      |      | movd r10d, mmx0
|   1      | 1.0         |      |             |             |      |      |      |      | movd r11d, mmx0
|   1      | 1.0         |      |             |             |      |      |      |      | movd r12d, mmx0
|   1      | 1.0         |      |             |             |      |      |      |      | movd ebx, mmx0
|   1      | 1.0         |      |             |             |      |      |      |      | movd ecx, mmx0
|   1      | 1.0         |      |             |             |      |      |      |      | movd edx, mmx0
|   1      | 1.0         |      |             |             |      |      |      |      | movd r9d, mmx0
|   1      | 1.0         |      |             |             |      |      |      |      | movd r10d, mmx0
|   1      | 1.0         |      |             |             |      |      |      |      | movd r11d, mmx0
|  10      |             | 1.5  | 1.0     1.0 | 1.0     1.0 | 1.0  | 1.5  | 4.0  |      | lock cmpxchg qword ptr [r14+r13*1], r8
Total Num Of Uops: 20

With blocking instructions for port '1':

Throughput Analysis Report
--------------------------
Block Throughput: 10.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  | 10.0  |  1.0     1.0  |  1.0     1.0  |  1.0  |  2.3  |  2.4  |  0.0  |
--------------------------------------------------------------------------------------------------

| Num Of   |                    Ports pressure in cycles                         |      |
|  Uops    |  0  - DV    |  1   |  2  -  D    |  3  -  D    |  4   |  5   |  6   |  7   |
-----------------------------------------------------------------------------------------
|   1      |             | 1.0  |             |             |      |      |      |      | imul r9w, r10w, 0x0
|   1      |             | 1.0  |             |             |      |      |      |      | imul r11w, r10w, 0x0
|   1      |             | 1.0  |             |             |      |      |      |      | imul r12w, r10w, 0x0
|   1      |             | 1.0  |             |             |      |      |      |      | imul bx, r10w, 0x0
|   1      |             | 1.0  |             |             |      |      |      |      | imul cx, r10w, 0x0
|   1      |             | 1.0  |             |             |      |      |      |      | imul dx, r10w, 0x0
|   1      |             | 1.0  |             |             |      |      |      |      | imul r9w, r10w, 0x0
|   1      |             | 1.0  |             |             |      |      |      |      | imul r11w, r10w, 0x0
|   1      |             | 1.0  |             |             |      |      |      |      | imul r12w, r10w, 0x0
|   1      |             | 1.0  |             |             |      |      |      |      | imul bx, r10w, 0x0
|  10      | 2.3         |      | 1.0     1.0 | 1.0     1.0 | 1.0  | 2.3  | 2.4  |      | lock cmpxchg qword ptr [r14+r13*1], r8
Total Num Of Uops: 20

With blocking instructions for port '4':

Throughput Analysis Report
--------------------------
Block Throughput: 11.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.0     0.0  |  1.5  |  4.0     1.0  |  4.0     1.0  | 11.0  |  1.5  |  2.0  |  4.0  |
--------------------------------------------------------------------------------------------------

| Num Of   |                    Ports pressure in cycles                         |      |
|  Uops    |  0  - DV    |  1   |  2  -  D    |  3  -  D    |  4   |  5   |  6   |  7   |
-----------------------------------------------------------------------------------------
|   2^     |             |      |             |             | 1.0  |      |      | 1.0  | mov qword ptr [r14+0x40], r9
|   2^     |             |      |             | 1.0         | 1.0  |      |      |      | mov qword ptr [r14+0x48], r9
|   2^     |             |      |             |             | 1.0  |      |      | 1.0  | mov qword ptr [r14+0x50], r9
|   2^     |             |      | 1.0         |             | 1.0  |      |      |      | mov qword ptr [r14+0x58], r9
|   2^     |             |      |             | 1.0         | 1.0  |      |      |      | mov qword ptr [r14+0x60], r9
|   2^     |             |      |             |             | 1.0  |      |      | 1.0  | mov qword ptr [r14+0x68], r9
|   2^     |             |      | 1.0         |             | 1.0  |      |      |      | mov qword ptr [r14+0x70], r9
|   2^     |             |      |             | 1.0         | 1.0  |      |      |      | mov qword ptr [r14+0x78], r9
|   2^     |             |      |             |             | 1.0  |      |      | 1.0  | mov qword ptr [r14+0x80], r9
|   2^     |             |      | 1.0         |             | 1.0  |      |      |      | mov qword ptr [r14+0x88], r9
|  10      | 2.0         | 1.5  | 1.0     1.0 | 1.0     1.0 | 1.0  | 1.5  | 2.0  |      | lock cmpxchg qword ptr [r14+r13*1], r8
Total Num Of Uops: 30
⇨ One μop that can only use port '4'

With blocking instructions for port '5':

Throughput Analysis Report
--------------------------
Block Throughput: 10.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.3  |  1.0     1.0  |  1.0     1.0  |  1.0  | 10.0  |  2.4  |  0.0  |
--------------------------------------------------------------------------------------------------

| Num Of   |                    Ports pressure in cycles                         |      |
|  Uops    |  0  - DV    |  1   |  2  -  D    |  3  -  D    |  4   |  5   |  6   |  7   |
-----------------------------------------------------------------------------------------
|   1      |             |      |             |             |      | 1.0  |      |      | insertps xmm0, xmm1, 0x2
|   1      |             |      |             |             |      | 1.0  |      |      | insertps xmm2, xmm1, 0x2
|   1      |             |      |             |             |      | 1.0  |      |      | insertps xmm3, xmm1, 0x2
|   1      |             |      |             |             |      | 1.0  |      |      | insertps xmm4, xmm1, 0x2
|   1      |             |      |             |             |      | 1.0  |      |      | insertps xmm5, xmm1, 0x2
|   1      |             |      |             |             |      | 1.0  |      |      | insertps xmm6, xmm1, 0x2
|   1      |             |      |             |             |      | 1.0  |      |      | insertps xmm7, xmm1, 0x2
|   1      |             |      |             |             |      | 1.0  |      |      | insertps xmm8, xmm1, 0x2
|   1      |             |      |             |             |      | 1.0  |      |      | insertps xmm9, xmm1, 0x2
|   1      |             |      |             |             |      | 1.0  |      |      | insertps xmm10, xmm1, 0x2
|  10      | 2.3         | 2.3  | 1.0     1.0 | 1.0     1.0 | 1.0  |      | 2.4  |      | lock cmpxchg qword ptr [r14+r13*1], r8
Total Num Of Uops: 20

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

Throughput Analysis Report
--------------------------
Block Throughput: 9.89 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 | 10.0     0.0  | 10.0  |  1.0     1.0  |  1.0     1.0  |  1.0  |  3.0  |  4.0  |  0.0  |
--------------------------------------------------------------------------------------------------

| Num Of   |                    Ports pressure in cycles                         |      |
|  Uops    |  0  - DV    |  1   |  2  -  D    |  3  -  D    |  4   |  5   |  6   |  7   |
-----------------------------------------------------------------------------------------
|   1      | 1.0         |      |             |             |      |      |      |      | pabsb xmm0, xmm1
|   1      |             | 1.0  |             |             |      |      |      |      | pabsb xmm2, xmm1
|   1      | 1.0         |      |             |             |      |      |      |      | pabsb xmm3, xmm1
|   1      |             | 1.0  |             |             |      |      |      |      | pabsb xmm4, xmm1
|   1      | 1.0         |      |             |             |      |      |      |      | pabsb xmm5, xmm1
|   1      |             | 1.0  |             |             |      |      |      |      | pabsb xmm6, xmm1
|   1      | 1.0         |      |             |             |      |      |      |      | pabsb xmm7, xmm1
|   1      |             | 1.0  |             |             |      |      |      |      | pabsb xmm8, xmm1
|   1      | 1.0         |      |             |             |      |      |      |      | pabsb xmm9, xmm1
|   1      |             | 1.0  |             |             |      |      |      |      | pabsb xmm10, xmm1
|   1      | 1.0         |      |             |             |      |      |      |      | pabsb xmm11, xmm1
|   1      |             | 1.0  |             |             |      |      |      |      | pabsb xmm12, xmm1
|   1      | 1.0         |      |             |             |      |      |      |      | pabsb xmm0, xmm1
|   1      |             | 1.0  |             |             |      |      |      |      | pabsb xmm2, xmm1
|   1      | 1.0         |      |             |             |      |      |      |      | pabsb xmm3, xmm1
|   1      |             | 1.0  |             |             |      |      |      |      | pabsb xmm4, xmm1
|   1      | 1.0         |      |             |             |      |      |      |      | pabsb xmm5, xmm1
|   1      |             | 1.0  |             |             |      |      |      |      | pabsb xmm6, xmm1
|   1      | 1.0         |      |             |             |      |      |      |      | pabsb xmm7, xmm1
|   1      |             | 1.0  |             |             |      |      |      |      | pabsb xmm8, xmm1
|  10      |             |      | 1.0     1.0 | 1.0     1.0 | 1.0  | 3.0  | 4.0  |      | lock cmpxchg qword ptr [r14+r13*1], r8
Total Num Of Uops: 30

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

Throughput Analysis Report
--------------------------
Block Throughput: 9.89 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 | 10.0     0.0  |  3.0  |  1.0     1.0  |  1.0     1.0  |  1.0  | 10.0  |  4.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
|   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
|   1      |             |      |             |             |      | 1.0  |      |      | movq mmx4, mmx1
|   1      | 1.0         |      |             |             |      |      |      |      | movq mmx5, mmx1
|   1      |             |      |             |             |      | 1.0  |      |      | movq mmx6, mmx1
|  10      |             | 3.0  | 1.0     1.0 | 1.0     1.0 | 1.0  |      | 4.0  |      | lock cmpxchg qword ptr [r14+r13*1], r8
Total Num Of Uops: 30

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

Throughput Analysis Report
--------------------------
Block Throughput: 20.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 | 12.0     0.0  |  1.5  |  1.0     1.0  |  1.0     1.0  |  1.0  |  1.5  | 12.0  |  0.0  |
--------------------------------------------------------------------------------------------------

| Num Of   |                    Ports pressure in cycles                         |      |
|  Uops    |  0  - DV    |  1   |  2  -  D    |  3  -  D    |  4   |  5   |  6   |  7   |
-----------------------------------------------------------------------------------------
|   1      | 1.0         |      |             |             |      |      |      |      | sar r12b, 0x0
|   1      |             |      |             |             |      |      | 1.0  |      | sar r12b, 0x0
|   1      | 1.0         |      |             |             |      |      |      |      | sar r12b, 0x0
|   1      |             |      |             |             |      |      | 1.0  |      | sar r12b, 0x0
|   1      | 1.0         |      |             |             |      |      |      |      | sar r12b, 0x0
|   1      |             |      |             |             |      |      | 1.0  |      | sar r12b, 0x0
|   1      | 1.0         |      |             |             |      |      |      |      | sar r12b, 0x0
|   1      |             |      |             |             |      |      | 1.0  |      | sar r12b, 0x0
|   1      | 1.0         |      |             |             |      |      |      |      | sar r12b, 0x0
|   1      |             |      |             |             |      |      | 1.0  |      | sar r12b, 0x0
|   1      | 1.0         |      |             |             |      |      |      |      | sar r12b, 0x0
|   1      |             |      |             |             |      |      | 1.0  |      | sar r12b, 0x0
|   1      | 1.0         |      |             |             |      |      |      |      | sar r12b, 0x0
|   1      |             |      |             |             |      |      | 1.0  |      | sar r12b, 0x0
|   1      | 1.0         |      |             |             |      |      |      |      | sar r12b, 0x0
|   1      |             |      |             |             |      |      | 1.0  |      | sar r12b, 0x0
|   1      | 1.0         |      |             |             |      |      |      |      | sar r12b, 0x0
|   1      |             |      |             |             |      |      | 1.0  |      | sar r12b, 0x0
|   1      | 1.0         |      |             |             |      |      |      |      | sar r12b, 0x0
|   1      |             |      |             |             |      |      | 1.0  |      | sar r12b, 0x0
|  10      | 2.0         | 1.5  | 1.0     1.0 | 1.0     1.0 | 1.0  | 1.5  | 2.0  |      | lock cmpxchg qword ptr [r14+r13*1], r8
Total Num Of Uops: 30
⇨ 4 μops that can only use ports {'0', '6'}

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

Throughput Analysis Report
--------------------------
Block Throughput: 9.89 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 |  3.5     0.0  | 10.0  |  1.0     1.0  |  1.0     1.0  |  1.0  | 10.0  |  3.5  |  0.0  |
--------------------------------------------------------------------------------------------------

| Num Of   |                    Ports pressure in cycles                         |      |
|  Uops    |  0  - DV    |  1   |  2  -  D    |  3  -  D    |  4   |  5   |  6   |  7   |
-----------------------------------------------------------------------------------------
|   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 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 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]
|  10      | 3.5         |      | 1.0     1.0 | 1.0     1.0 | 1.0  |      | 3.5  |      | lock cmpxchg qword ptr [r14+r13*1], r8
Total Num Of Uops: 30

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

Throughput Analysis Report
--------------------------
Block Throughput: 11.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.0     0.0  |  1.5  | 11.0    11.0  | 11.0    11.0  |  1.0  |  1.5  |  2.0  |  0.0  |
--------------------------------------------------------------------------------------------------

| Num Of   |                    Ports pressure in cycles                         |      |
|  Uops    |  0  - DV    |  1   |  2  -  D    |  3  -  D    |  4   |  5   |  6   |  7   |
-----------------------------------------------------------------------------------------
|   1      |             |      | 1.0     1.0 |             |      |      |      |      | mov bh, byte ptr [rdi+0x40]
|   1      |             |      |             | 1.0     1.0 |      |      |      |      | mov ch, byte ptr [rdi+0x41]
|   1      |             |      | 1.0     1.0 |             |      |      |      |      | mov dh, byte ptr [rdi+0x42]
|   1      |             |      |             | 1.0     1.0 |      |      |      |      | mov bh, byte ptr [rdi+0x40]
|   1      |             |      | 1.0     1.0 |             |      |      |      |      | mov ch, byte ptr [rdi+0x41]
|   1      |             |      |             | 1.0     1.0 |      |      |      |      | mov dh, byte ptr [rdi+0x42]
|   1      |             |      | 1.0     1.0 |             |      |      |      |      | mov bh, byte ptr [rdi+0x40]
|   1      |             |      |             | 1.0     1.0 |      |      |      |      | mov ch, byte ptr [rdi+0x41]
|   1      |             |      | 1.0     1.0 |             |      |      |      |      | mov dh, byte ptr [rdi+0x42]
|   1      |             |      |             | 1.0     1.0 |      |      |      |      | mov bh, byte ptr [rdi+0x40]
|   1      |             |      | 1.0     1.0 |             |      |      |      |      | mov ch, byte ptr [rdi+0x41]
|   1      |             |      |             | 1.0     1.0 |      |      |      |      | mov dh, byte ptr [rdi+0x42]
|   1      |             |      | 1.0     1.0 |             |      |      |      |      | mov bh, byte ptr [rdi+0x40]
|   1      |             |      |             | 1.0     1.0 |      |      |      |      | mov ch, byte ptr [rdi+0x41]
|   1      |             |      | 1.0     1.0 |             |      |      |      |      | mov dh, byte ptr [rdi+0x42]
|   1      |             |      |             | 1.0     1.0 |      |      |      |      | mov bh, byte ptr [rdi+0x40]
|   1      |             |      | 1.0     1.0 |             |      |      |      |      | mov ch, byte ptr [rdi+0x41]
|   1      |             |      |             | 1.0     1.0 |      |      |      |      | mov dh, byte ptr [rdi+0x42]
|   1      |             |      | 1.0     1.0 |             |      |      |      |      | mov bh, byte ptr [rdi+0x40]
|   1      |             |      |             | 1.0     1.0 |      |      |      |      | mov ch, byte ptr [rdi+0x41]
|  10      | 2.0         | 1.5  | 1.0     1.0 | 1.0     1.0 | 1.0  | 1.5  | 2.0  |      | lock cmpxchg qword ptr [r14+r13*1], r8
Total Num Of Uops: 30
⇨ 2 μops that can only use ports {'2', '3'}

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

Throughput Analysis Report
--------------------------
Block Throughput: 11.89 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 | 10.0     0.0  | 10.0  |  1.0     1.0  |  1.0     1.0  |  1.0  | 10.0  |  7.0  |  0.0  |
--------------------------------------------------------------------------------------------------

| Num Of   |                    Ports pressure in cycles                         |      |
|  Uops    |  0  - DV    |  1   |  2  -  D    |  3  -  D    |  4   |  5   |  6   |  7   |
-----------------------------------------------------------------------------------------
|   1      | 1.0         |      |             |             |      |      |      |      | addpd xmm0, xmm1
|   1      |             | 1.0  |             |             |      |      |      |      | addpd xmm2, xmm1
|   1      |             |      |             |             |      | 1.0  |      |      | addpd xmm3, xmm1
|   1      | 1.0         |      |             |             |      |      |      |      | addpd xmm4, xmm1
|   1      |             | 1.0  |             |             |      |      |      |      | addpd xmm5, xmm1
|   1      |             |      |             |             |      | 1.0  |      |      | addpd xmm6, xmm1
|   1      | 1.0         |      |             |             |      |      |      |      | addpd xmm7, xmm1
|   1      |             | 1.0  |             |             |      |      |      |      | addpd xmm8, xmm1
|   1      |             |      |             |             |      | 1.0  |      |      | addpd xmm9, xmm1
|   1      | 1.0         |      |             |             |      |      |      |      | addpd xmm10, xmm1
|   1      |             | 1.0  |             |             |      |      |      |      | addpd xmm11, xmm1
|   1      |             |      |             |             |      | 1.0  |      |      | addpd xmm12, xmm1
|   1      | 1.0         |      |             |             |      |      |      |      | addpd xmm0, xmm1
|   1      |             | 1.0  |             |             |      |      |      |      | addpd xmm2, xmm1
|   1      |             |      |             |             |      | 1.0  |      |      | addpd xmm3, xmm1
|   1      | 1.0         |      |             |             |      |      |      |      | addpd xmm4, xmm1
|   1      |             | 1.0  |             |             |      |      |      |      | addpd xmm5, xmm1
|   1      |             |      |             |             |      | 1.0  |      |      | addpd xmm6, xmm1
|   1      | 1.0         |      |             |             |      |      |      |      | addpd xmm7, xmm1
|   1      |             | 1.0  |             |             |      |      |      |      | addpd xmm8, xmm1
|   1      |             |      |             |             |      | 1.0  |      |      | addpd xmm9, xmm1
|   1      | 1.0         |      |             |             |      |      |      |      | addpd xmm10, xmm1
|   1      |             | 1.0  |             |             |      |      |      |      | addpd xmm11, xmm1
|   1      |             |      |             |             |      | 1.0  |      |      | addpd xmm12, xmm1
|   1      | 1.0         |      |             |             |      |      |      |      | addpd xmm0, xmm1
|   1      |             | 1.0  |             |             |      |      |      |      | addpd xmm2, xmm1
|   1      |             |      |             |             |      | 1.0  |      |      | addpd xmm3, xmm1
|   1      | 1.0         |      |             |             |      |      |      |      | addpd xmm4, xmm1
|   1      |             | 1.0  |             |             |      |      |      |      | addpd xmm5, xmm1
|   1      |             |      |             |             |      | 1.0  |      |      | addpd xmm6, xmm1
|  10      |             |      | 1.0     1.0 | 1.0     1.0 | 1.0  |      | 7.0  |      | lock cmpxchg qword ptr [r14+r13*1], r8
Total Num Of Uops: 40

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

Throughput Analysis Report
--------------------------
Block Throughput: 12.53 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 | 11.7     0.0  | 11.7  |  1.0     1.0  |  1.0     1.0  |  1.0  | 11.7  | 11.8  |  0.0  |
--------------------------------------------------------------------------------------------------

| Num Of   |                    Ports pressure in cycles                         |      |
|  Uops    |  0  - DV    |  1   |  2  -  D    |  3  -  D    |  4   |  5   |  6   |  7   |
-----------------------------------------------------------------------------------------
|   1      |             | 0.3  |             |             |      | 0.7  |      |      | mov bh, 0x0
|   1      | 0.3         | 0.5  |             |             |      | 0.3  |      |      | mov ch, 0x0
|   1      | 0.3         | 0.3  |             |             |      | 0.5  |      |      | mov dh, 0x0
|   1      | 0.2         | 0.3  |             |             |      | 0.3  | 0.3  |      | mov bh, 0x0
|   1      | 0.3         | 0.2  |             |             |      | 0.3  | 0.3  |      | mov ch, 0x0
|   1      | 0.3         | 0.3  |             |             |      | 0.2  | 0.3  |      | mov dh, 0x0
|   1      | 0.3         | 0.3  |             |             |      | 0.3  | 0.2  |      | mov bh, 0x0
|   1      | 0.2         | 0.3  |             |             |      | 0.3  | 0.3  |      | mov ch, 0x0
|   1      | 0.3         | 0.2  |             |             |      | 0.3  | 0.3  |      | mov dh, 0x0
|   1      | 0.3         | 0.3  |             |             |      | 0.2  | 0.3  |      | mov bh, 0x0
|   1      | 0.3         | 0.3  |             |             |      | 0.3  | 0.2  |      | mov ch, 0x0
|   1      | 0.2         | 0.3  |             |             |      | 0.3  | 0.3  |      | mov dh, 0x0
|   1      | 0.3         | 0.2  |             |             |      | 0.3  | 0.3  |      | mov bh, 0x0
|   1      | 0.3         | 0.3  |             |             |      | 0.2  | 0.3  |      | mov ch, 0x0
|   1      | 0.3         | 0.3  |             |             |      | 0.3  | 0.2  |      | mov dh, 0x0
|   1      | 0.2         | 0.3  |             |             |      | 0.3  | 0.3  |      | mov bh, 0x0
|   1      | 0.3         | 0.2  |             |             |      | 0.3  | 0.3  |      | mov ch, 0x0
|   1      | 0.3         | 0.3  |             |             |      | 0.2  | 0.3  |      | mov dh, 0x0
|   1      | 0.3         | 0.3  |             |             |      | 0.3  | 0.2  |      | mov bh, 0x0
|   1      | 0.2         | 0.3  |             |             |      | 0.3  | 0.3  |      | mov ch, 0x0
|   1      | 0.3         | 0.2  |             |             |      | 0.3  | 0.3  |      | mov dh, 0x0
|   1      | 0.3         | 0.3  |             |             |      | 0.2  | 0.3  |      | mov bh, 0x0
|   1      | 0.3         | 0.3  |             |             |      | 0.3  | 0.2  |      | mov ch, 0x0
|   1      | 0.2         | 0.3  |             |             |      | 0.3  | 0.3  |      | mov dh, 0x0
|   1      | 0.3         | 0.2  |             |             |      | 0.3  | 0.3  |      | mov bh, 0x0
|   1      | 0.3         | 0.3  |             |             |      | 0.2  | 0.3  |      | mov ch, 0x0
|   1      | 0.3         | 0.3  |             |             |      | 0.3  | 0.2  |      | mov dh, 0x0
|   1      | 0.2         | 0.3  |             |             |      | 0.3  | 0.3  |      | mov bh, 0x0
|   1      | 0.3         | 0.2  |             |             |      | 0.3  | 0.3  |      | mov ch, 0x0
|   1      | 0.3         | 0.3  |             |             |      | 0.2  | 0.3  |      | mov dh, 0x0
|   1      | 0.3         | 0.3  |             |             |      | 0.3  | 0.2  |      | mov bh, 0x0
|   1      | 0.2         | 0.3  |             |             |      | 0.3  | 0.3  |      | mov ch, 0x0
|   1      | 0.3         | 0.2  |             |             |      | 0.3  | 0.3  |      | mov dh, 0x0
|   1      | 0.3         | 0.3  |             |             |      | 0.2  | 0.3  |      | mov bh, 0x0
|   1      | 0.3         | 0.3  |             |             |      | 0.3  | 0.2  |      | mov ch, 0x0
|   1      | 0.2         | 0.3  |             |             |      | 0.3  | 0.3  |      | mov dh, 0x0
|   1      | 0.3         | 0.2  |             |             |      | 0.3  | 0.3  |      | mov bh, 0x0
|   1      | 0.3         | 0.3  |             |             |      | 0.2  | 0.3  |      | mov ch, 0x0
|   1      | 0.3         | 0.3  |             |             |      | 0.3  | 0.2  |      | mov dh, 0x0
|   1      | 0.2         | 0.3  |             |             |      | 0.3  | 0.3  |      | mov bh, 0x0
|  10      | 2.0         | 1.5  | 1.0     1.0 | 1.0     1.0 | 1.0  | 1.0  | 2.5  |      | lock cmpxchg qword ptr [r14+r13*1], r8
Total Num Of Uops: 50
⇨ 3 μops that can only use ports {'0', '1', '5', '6'}