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  |             |             |      |      |      |      | imul r8w, r9w, 0x0
|   1      |             | 1.0  |             |             |      |      |      |      | imul r10w, r9w, 0x0
|   1      |             | 1.0  |             |             |      |      |      |      | imul r11w, r9w, 0x0
|   1      |             | 1.0  |             |             |      |      |      |      | imul r12w, r9w, 0x0
|   1      |             | 1.0  |             |             |      |      |      |      | imul bx, r9w, 0x0
|   1      |             | 1.0  |             |             |      |      |      |      | imul cx, r9w, 0x0
|   1      |             | 1.0  |             |             |      |      |      |      | imul r8w, r9w, 0x0
|   1      |             | 1.0  |             |             |      |      |      |      | imul r10w, r9w, 0x0
|   1      |             | 1.0  |             |             |      |      |      |      | imul r11w, r9w, 0x0
|   1      |             | 1.0  |             |             |      |      |      |      | imul r12w, r9w, 0x0
|   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  |      |      | insertps xmm3, xmm4, 0x2
|   1      |             |      |             |             |      | 1.0  |      |      | insertps xmm5, xmm4, 0x2
|   1      |             |      |             |             |      | 1.0  |      |      | insertps xmm6, xmm4, 0x2
|   1      |             |      |             |             |      | 1.0  |      |      | insertps xmm7, xmm4, 0x2
|   1      |             |      |             |             |      | 1.0  |      |      | insertps xmm8, xmm4, 0x2
|   1      |             |      |             |             |      | 1.0  |      |      | insertps xmm9, xmm4, 0x2
|   1      |             |      |             |             |      | 1.0  |      |      | insertps xmm10, xmm4, 0x2
|   1      |             |      |             |             |      | 1.0  |      |      | insertps xmm11, xmm4, 0x2
|   1      |             |      |             |             |      | 1.0  |      |      | insertps xmm12, xmm4, 0x2
|   1      |             |      |             |             |      | 1.0  |      |      | insertps xmm3, xmm4, 0x2
|   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  |             |             |      |      |      |      | pabsb xmm3, xmm4
|   1      |             | 1.0  |             |             |      |      |      |      | pabsb xmm5, xmm4
|   1      |             | 1.0  |             |             |      |      |      |      | pabsb xmm6, xmm4
|   1      |             | 1.0  |             |             |      |      |      |      | pabsb xmm7, xmm4
|   1      | 1.0         |      |             |             |      |      |      |      | pabsb xmm8, xmm4
|   1      |             | 1.0  |             |             |      |      |      |      | pabsb xmm9, xmm4
|   1      | 1.0         |      |             |             |      |      |      |      | pabsb xmm10, xmm4
|   1      |             | 1.0  |             |             |      |      |      |      | pabsb xmm11, xmm4
|   1      | 1.0         |      |             |             |      |      |      |      | pabsb xmm12, xmm4
|   1      |             | 1.0  |             |             |      |      |      |      | pabsb xmm3, xmm4
|   1      | 1.0         |      |             |             |      |      |      |      | pabsb xmm5, xmm4
|   1      |             | 1.0  |             |             |      |      |      |      | pabsb xmm6, xmm4
|   1      | 1.0         |      |             |             |      |      |      |      | pabsb xmm7, xmm4
|   1      |             | 1.0  |             |             |      |      |      |      | pabsb xmm8, xmm4
|   1      | 1.0         |      |             |             |      |      |      |      | pabsb xmm9, xmm4
|   1      |             | 1.0  |             |             |      |      |      |      | pabsb xmm10, xmm4
|   1      | 1.0         |      |             |             |      |      |      |      | pabsb xmm11, xmm4
|   1      |             | 1.0  |             |             |      |      |      |      | pabsb 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: 17.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 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
|   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.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 | 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  |             |             |      |      |      |      | addpd xmm3, xmm4
|   1      |             | 1.0  |             |             |      |      |      |      | addpd xmm5, xmm4
|   1      |             | 0.7  |             |             |      | 0.3  |      |      | addpd xmm6, xmm4
|   1      |             | 0.3  |             |             |      | 0.7  |      |      | addpd xmm7, xmm4
|   1      | 0.4         | 0.3  |             |             |      | 0.3  |      |      | addpd xmm8, xmm4
|   1      | 0.3         | 0.4  |             |             |      | 0.3  |      |      | addpd xmm9, xmm4
|   1      | 0.3         | 0.3  |             |             |      | 0.4  |      |      | addpd xmm10, xmm4
|   1      | 0.4         | 0.3  |             |             |      | 0.3  |      |      | addpd xmm11, xmm4
|   1      | 0.3         | 0.4  |             |             |      | 0.3  |      |      | addpd xmm12, xmm4
|   1      | 0.3         | 0.3  |             |             |      | 0.4  |      |      | addpd xmm3, xmm4
|   1      | 0.4         | 0.3  |             |             |      | 0.3  |      |      | addpd xmm5, xmm4
|   1      | 0.3         | 0.4  |             |             |      | 0.3  |      |      | addpd xmm6, xmm4
|   1      | 0.3         | 0.3  |             |             |      | 0.4  |      |      | addpd xmm7, xmm4
|   1      | 0.4         | 0.3  |             |             |      | 0.3  |      |      | addpd xmm8, xmm4
|   1      | 0.3         | 0.4  |             |             |      | 0.3  |      |      | addpd xmm9, xmm4
|   1      | 0.3         | 0.3  |             |             |      | 0.4  |      |      | addpd xmm10, xmm4
|   1      | 0.4         | 0.3  |             |             |      | 0.3  |      |      | addpd xmm11, xmm4
|   1      | 0.3         | 0.4  |             |             |      | 0.3  |      |      | addpd xmm12, xmm4
|   1      | 0.3         | 0.3  |             |             |      | 0.4  |      |      | addpd xmm3, xmm4
|   1      | 0.4         | 0.3  |             |             |      | 0.3  |      |      | addpd xmm5, xmm4
|   1      | 0.3         | 0.4  |             |             |      | 0.3  |      |      | addpd xmm6, xmm4
|   1      | 0.3         | 0.3  |             |             |      | 0.4  |      |      | addpd xmm7, xmm4
|   1      | 0.4         | 0.3  |             |             |      | 0.3  |      |      | addpd xmm8, xmm4
|   1      | 0.3         | 0.4  |             |             |      | 0.3  |      |      | addpd xmm9, xmm4
|   1      | 0.3         | 0.3  |             |             |      | 0.4  |      |      | addpd xmm10, xmm4
|   1      | 0.4         | 0.3  |             |             |      | 0.3  |      |      | addpd xmm11, xmm4
|   1      | 0.3         | 0.4  |             |             |      | 0.3  |      |      | addpd xmm12, xmm4
|   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'}