PCMPESTRM (XMM, XMM, I8) - Port Usage (IACA 3.0)


With blocking instructions for port '0':

Throughput Analysis Report
--------------------------
Block Throughput: 13.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 | 14.0     0.0  |  1.0  |  0.0     0.0  |  0.0     0.0  |  0.0  |  3.0  |  1.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 r8d, mmx0
|   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 r8d, mmx0
|   1      | 1.0         |      |             |             |      |      |      |      | movd r9d, mmx0
|   1      | 1.0         |      |             |             |      |      |      |      | movd r10d, mmx0
|   9      | 4.0         | 1.0  |             |             |      | 3.0  | 1.0  |      | pcmpestrm xmm1, xmm2, 0x2
Total Num Of Uops: 19
⇨ 4 μops that can only use port '0'

With blocking instructions for port '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 |  4.0     0.0  | 10.0  |  0.0     0.0  |  0.0     0.0  |  0.0  |  4.0  |  1.0  |  0.0  |
--------------------------------------------------------------------------------------------------

| Num Of   |                    Ports pressure in cycles                         |      |
|  Uops    |  0  - DV    |  1   |  2  -  D    |  3  -  D    |  4   |  5   |  6   |  7   |
-----------------------------------------------------------------------------------------
|   1      |             | 1.0  |             |             |      |      |      |      | cvtdq2ps xmm3, xmm4
|   1      |             | 1.0  |             |             |      |      |      |      | cvtdq2ps xmm5, xmm4
|   1      |             | 1.0  |             |             |      |      |      |      | cvtdq2ps xmm6, xmm4
|   1      |             | 1.0  |             |             |      |      |      |      | cvtdq2ps xmm7, xmm4
|   1      |             | 1.0  |             |             |      |      |      |      | cvtdq2ps xmm8, xmm4
|   1      |             | 1.0  |             |             |      |      |      |      | cvtdq2ps xmm9, xmm4
|   1      |             | 1.0  |             |             |      |      |      |      | cvtdq2ps xmm10, xmm4
|   1      |             | 1.0  |             |             |      |      |      |      | cvtdq2ps xmm11, xmm4
|   1      |             | 1.0  |             |             |      |      |      |      | cvtdq2ps xmm12, xmm4
|   1      |             | 1.0  |             |             |      |      |      |      | cvtdq2ps xmm3, xmm4
|   9      | 4.0         |      |             |             |      | 4.0  | 1.0  |      | pcmpestrm xmm1, xmm2, 0x2
Total Num Of Uops: 19

With blocking instructions for port '5':

Throughput Analysis Report
--------------------------
Block Throughput: 12.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 |  4.0     0.0  |  1.0  |  0.0     0.0  |  0.0     0.0  |  0.0  | 13.0  |  1.0  |  0.0  |
--------------------------------------------------------------------------------------------------

| Num Of   |                    Ports pressure in cycles                         |      |
|  Uops    |  0  - DV    |  1   |  2  -  D    |  3  -  D    |  4   |  5   |  6   |  7   |
-----------------------------------------------------------------------------------------
|   1      |             |      |             |             |      | 1.0  |      |      | andnpd xmm3, xmm4
|   1      |             |      |             |             |      | 1.0  |      |      | andnpd xmm5, xmm4
|   1      |             |      |             |             |      | 1.0  |      |      | andnpd xmm6, xmm4
|   1      |             |      |             |             |      | 1.0  |      |      | andnpd xmm7, xmm4
|   1      |             |      |             |             |      | 1.0  |      |      | andnpd xmm8, xmm4
|   1      |             |      |             |             |      | 1.0  |      |      | andnpd xmm9, xmm4
|   1      |             |      |             |             |      | 1.0  |      |      | andnpd xmm10, xmm4
|   1      |             |      |             |             |      | 1.0  |      |      | andnpd xmm11, xmm4
|   1      |             |      |             |             |      | 1.0  |      |      | andnpd xmm12, xmm4
|   1      |             |      |             |             |      | 1.0  |      |      | andnpd xmm3, xmm4
|   9      | 4.0         | 1.0  |             |             |      | 3.0  | 1.0  |      | pcmpestrm xmm1, xmm2, 0x2
Total Num Of Uops: 19
⇨ 3 μops that can only use port '5'

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

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

| Num Of   |                    Ports pressure in cycles                         |      |
|  Uops    |  0  - DV    |  1   |  2  -  D    |  3  -  D    |  4   |  5   |  6   |  7   |
-----------------------------------------------------------------------------------------
|   1      |             | 1.0  |             |             |      |      |      |      | mulpd xmm3, xmm4
|   1      |             | 1.0  |             |             |      |      |      |      | mulpd xmm5, xmm4
|   1      |             | 1.0  |             |             |      |      |      |      | mulpd xmm6, xmm4
|   1      |             | 1.0  |             |             |      |      |      |      | mulpd xmm7, xmm4
|   1      | 1.0         |      |             |             |      |      |      |      | mulpd xmm8, xmm4
|   1      |             | 1.0  |             |             |      |      |      |      | mulpd xmm9, xmm4
|   1      | 1.0         |      |             |             |      |      |      |      | mulpd xmm10, xmm4
|   1      |             | 1.0  |             |             |      |      |      |      | mulpd xmm11, xmm4
|   1      | 1.0         |      |             |             |      |      |      |      | mulpd xmm12, xmm4
|   1      |             | 1.0  |             |             |      |      |      |      | mulpd xmm3, xmm4
|   1      | 1.0         |      |             |             |      |      |      |      | mulpd xmm5, xmm4
|   1      |             | 1.0  |             |             |      |      |      |      | mulpd xmm6, xmm4
|   1      | 1.0         |      |             |             |      |      |      |      | mulpd xmm7, xmm4
|   1      |             | 1.0  |             |             |      |      |      |      | mulpd xmm8, xmm4
|   1      | 1.0         |      |             |             |      |      |      |      | mulpd xmm9, xmm4
|   1      |             | 1.0  |             |             |      |      |      |      | mulpd xmm10, xmm4
|   1      | 1.0         |      |             |             |      |      |      |      | mulpd xmm11, xmm4
|   1      |             | 1.0  |             |             |      |      |      |      | mulpd xmm12, xmm4
|   9      | 4.0         |      |             |             |      | 4.0  | 1.0  |      | pcmpestrm xmm1, xmm2, 0x2
Total Num Of Uops: 27

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

Throughput Analysis Report
--------------------------
Block Throughput: 10.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 | 11.0     0.0  |  2.0  |  0.0     0.0  |  0.0     0.0  |  0.0  |  3.0  | 11.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 bh, 0x0
|   1      |             |      |             |             |      |      | 1.0  |      | sar ch, 0x0
|   1      |             |      |             |             |      |      | 1.0  |      | sar bh, 0x0
|   1      |             |      |             |             |      |      | 1.0  |      | sar ch, 0x0
|   1      | 1.0         |      |             |             |      |      |      |      | sar bh, 0x0
|   1      |             |      |             |             |      |      | 1.0  |      | sar ch, 0x0
|   1      | 1.0         |      |             |             |      |      |      |      | sar bh, 0x0
|   1      |             |      |             |             |      |      | 1.0  |      | sar ch, 0x0
|   1      | 1.0         |      |             |             |      |      |      |      | sar bh, 0x0
|   1      |             |      |             |             |      |      | 1.0  |      | sar ch, 0x0
|   1      | 1.0         |      |             |             |      |      |      |      | sar bh, 0x0
|   1      |             |      |             |             |      |      | 1.0  |      | sar ch, 0x0
|   1      | 1.0         |      |             |             |      |      |      |      | sar bh, 0x0
|   1      |             |      |             |             |      |      | 1.0  |      | sar ch, 0x0
|   1      | 1.0         |      |             |             |      |      |      |      | sar bh, 0x0
|   1      |             |      |             |             |      |      | 1.0  |      | sar ch, 0x0
|   1      | 1.0         |      |             |             |      |      |      |      | sar bh, 0x0
|   1      |             |      |             |             |      |      | 1.0  |      | sar ch, 0x0
|   9      | 4.0         | 2.0  |             |             |      | 3.0  |      |      | pcmpestrm xmm1, xmm2, 0x2
Total Num Of Uops: 27

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

Throughput Analysis Report
--------------------------
Block Throughput: 10.42 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 |  5.0     0.0  | 10.5  |  0.0     0.0  |  0.0     0.0  |  0.0  | 10.5  |  1.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      |             | 0.5  |             |             |      | 0.5  |      |      | lea r11w, ptr [r14]
|   1      |             | 0.5  |             |             |      | 0.5  |      |      | lea r12w, ptr [r14]
|   1      |             | 0.5  |             |             |      | 0.5  |      |      | lea bx, ptr [r14]
|   1      |             | 0.5  |             |             |      | 0.5  |      |      | lea cx, ptr [r14]
|   1      |             | 0.5  |             |             |      | 0.5  |      |      | lea r8w, ptr [r14]
|   1      |             | 0.5  |             |             |      | 0.5  |      |      | lea r9w, ptr [r14]
|   1      |             | 0.5  |             |             |      | 0.5  |      |      | lea r10w, ptr [r14]
|   1      |             | 0.5  |             |             |      | 0.5  |      |      | lea r11w, ptr [r14]
|   1      |             | 0.5  |             |             |      | 0.5  |      |      | lea r12w, ptr [r14]
|   1      |             | 0.5  |             |             |      | 0.5  |      |      | lea bx, ptr [r14]
|   1      |             | 0.5  |             |             |      | 0.5  |      |      | lea cx, ptr [r14]
|   1      |             | 0.5  |             |             |      | 0.5  |      |      | lea r8w, ptr [r14]
|   1      |             | 0.5  |             |             |      | 0.5  |      |      | lea r9w, ptr [r14]
|   1      |             | 0.5  |             |             |      | 0.5  |      |      | lea r10w, ptr [r14]
|   1      |             | 0.5  |             |             |      | 0.5  |      |      | lea r11w, ptr [r14]
|   9      | 5.0         |      |             |             |      | 3.0  | 1.0  |      | pcmpestrm xmm1, xmm2, 0x2
Total Num Of Uops: 27

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

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

| Num Of   |                    Ports pressure in cycles                         |      |
|  Uops    |  0  - DV    |  1   |  2  -  D    |  3  -  D    |  4   |  5   |  6   |  7   |
-----------------------------------------------------------------------------------------
|   1      |             | 1.0  |             |             |      |      |      |      | blendpd xmm3, xmm4, 0x2
|   1      |             | 1.0  |             |             |      |      |      |      | blendpd xmm5, xmm4, 0x2
|   1      |             | 0.7  |             |             |      | 0.3  |      |      | blendpd xmm6, xmm4, 0x2
|   1      |             | 0.3  |             |             |      | 0.7  |      |      | blendpd xmm7, xmm4, 0x2
|   1      | 0.4         | 0.3  |             |             |      | 0.3  |      |      | blendpd xmm8, xmm4, 0x2
|   1      | 0.3         | 0.4  |             |             |      | 0.3  |      |      | blendpd xmm9, xmm4, 0x2
|   1      | 0.3         | 0.3  |             |             |      | 0.4  |      |      | blendpd xmm10, xmm4, 0x2
|   1      | 0.4         | 0.3  |             |             |      | 0.3  |      |      | blendpd xmm11, xmm4, 0x2
|   1      | 0.3         | 0.4  |             |             |      | 0.3  |      |      | blendpd xmm12, xmm4, 0x2
|   1      | 0.3         | 0.3  |             |             |      | 0.4  |      |      | blendpd xmm3, xmm4, 0x2
|   1      | 0.4         | 0.3  |             |             |      | 0.3  |      |      | blendpd xmm5, xmm4, 0x2
|   1      | 0.3         | 0.4  |             |             |      | 0.3  |      |      | blendpd xmm6, xmm4, 0x2
|   1      | 0.3         | 0.3  |             |             |      | 0.4  |      |      | blendpd xmm7, xmm4, 0x2
|   1      | 0.4         | 0.3  |             |             |      | 0.3  |      |      | blendpd xmm8, xmm4, 0x2
|   1      | 0.3         | 0.4  |             |             |      | 0.3  |      |      | blendpd xmm9, xmm4, 0x2
|   1      | 0.3         | 0.3  |             |             |      | 0.4  |      |      | blendpd xmm10, xmm4, 0x2
|   1      | 0.4         | 0.3  |             |             |      | 0.3  |      |      | blendpd xmm11, xmm4, 0x2
|   1      | 0.3         | 0.4  |             |             |      | 0.3  |      |      | blendpd xmm12, xmm4, 0x2
|   1      | 0.3         | 0.3  |             |             |      | 0.4  |      |      | blendpd xmm3, xmm4, 0x2
|   1      | 0.4         | 0.3  |             |             |      | 0.3  |      |      | blendpd xmm5, xmm4, 0x2
|   1      | 0.3         | 0.4  |             |             |      | 0.3  |      |      | blendpd xmm6, xmm4, 0x2
|   1      | 0.3         | 0.3  |             |             |      | 0.4  |      |      | blendpd xmm7, xmm4, 0x2
|   1      | 0.4         | 0.3  |             |             |      | 0.3  |      |      | blendpd xmm8, xmm4, 0x2
|   1      | 0.3         | 0.4  |             |             |      | 0.3  |      |      | blendpd xmm9, xmm4, 0x2
|   1      | 0.3         | 0.3  |             |             |      | 0.4  |      |      | blendpd xmm10, xmm4, 0x2
|   1      | 0.4         | 0.3  |             |             |      | 0.3  |      |      | blendpd xmm11, xmm4, 0x2
|   1      | 0.3         | 0.4  |             |             |      | 0.3  |      |      | blendpd xmm12, xmm4, 0x2
|   9      | 4.0         | 1.0  |             |             |      | 3.0  | 1.0  |      | pcmpestrm xmm1, xmm2, 0x2
Total Num Of Uops: 36
⇨ One μop that can only use ports {'0', '1', '5'}

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

Throughput Analysis Report
--------------------------
Block Throughput: 11.26 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.3     0.0  | 11.3  |  0.0     0.0  |  0.0     0.0  |  0.0  | 11.3  | 11.2  |  0.0  |
--------------------------------------------------------------------------------------------------

| Num Of   |                    Ports pressure in cycles                         |      |
|  Uops    |  0  - DV    |  1   |  2  -  D    |  3  -  D    |  4   |  5   |  6   |  7   |
-----------------------------------------------------------------------------------------
|   1      |             |      |             |             |      |      | 1.0  |      | mov bh, 0x0
|   1      |             | 0.5  |             |             |      |      | 0.5  |      | mov ch, 0x0
|   1      |             | 0.5  |             |             |      |      | 0.5  |      | mov bh, 0x0
|   1      |             | 0.5  |             |             |      |      | 0.5  |      | mov ch, 0x0
|   1      |             | 0.5  |             |             |      |      | 0.5  |      | mov bh, 0x0
|   1      |             | 0.5  |             |             |      | 0.3  | 0.2  |      | mov ch, 0x0
|   1      |             | 0.2  |             |             |      | 0.5  | 0.3  |      | mov bh, 0x0
|   1      |             | 0.3  |             |             |      | 0.2  | 0.5  |      | mov ch, 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 bh, 0x0
|   1      | 0.3         | 0.3  |             |             |      | 0.2  | 0.3  |      | mov ch, 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 bh, 0x0
|   1      | 0.3         | 0.3  |             |             |      | 0.2  | 0.3  |      | mov ch, 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 bh, 0x0
|   1      | 0.3         | 0.3  |             |             |      | 0.2  | 0.3  |      | mov ch, 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 bh, 0x0
|   1      | 0.3         | 0.3  |             |             |      | 0.2  | 0.3  |      | mov ch, 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 bh, 0x0
|   1      | 0.3         | 0.3  |             |             |      | 0.2  | 0.3  |      | mov ch, 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 bh, 0x0
|   1      | 0.3         | 0.3  |             |             |      | 0.2  | 0.3  |      | mov ch, 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 bh, 0x0
|   1      | 0.3         | 0.3  |             |             |      | 0.2  | 0.3  |      | mov ch, 0x0
|   9      | 4.3         | 1.3  |             |             |      | 3.3  | 0.2  |      | pcmpestrm xmm1, xmm2, 0x2
Total Num Of Uops: 45
⇨ One μop that can only use ports {'0', '1', '5', '6'}