PCMPEQB (XMM, M128) - Port Usage (IACA 2.2)


With blocking instructions for port '2':

Throughput Analysis Report
--------------------------
Block Throughput: 11.00 Cycles       Throughput Bottleneck: PORT2_AGU, Port2_DATA

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


| Num Of |              Ports pressure in cycles               |    |
|  Uops  |  0  - DV  |  1  |  2  -  D  |  3  -  D  |  4  |  5  |    |
---------------------------------------------------------------------
|  2*^   |           |     | 1.0   1.0 |           |     |     | CP | cvtss2sd xmm1, dword ptr [r14+0x40]
|  2*^   |           |     | 1.0   1.0 |           |     |     | CP | cvtss2sd xmm2, dword ptr [r14+0x44]
|  2*^   |           |     | 1.0   1.0 |           |     |     | CP | cvtss2sd xmm3, dword ptr [r14+0x48]
|  2*^   |           |     | 1.0   1.0 |           |     |     | CP | cvtss2sd xmm4, dword ptr [r14+0x4c]
|  2*^   |           |     | 1.0   1.0 |           |     |     | CP | cvtss2sd xmm5, dword ptr [r14+0x50]
|  2*^   |           |     | 1.0   1.0 |           |     |     | CP | cvtss2sd xmm6, dword ptr [r14+0x54]
|  2*^   |           |     | 1.0   1.0 |           |     |     | CP | cvtss2sd xmm7, dword ptr [r14+0x58]
|  2*^   |           |     | 1.0   1.0 |           |     |     | CP | cvtss2sd xmm8, dword ptr [r14+0x5c]
|  2*^   |           |     | 1.0   1.0 |           |     |     | CP | cvtss2sd xmm9, dword ptr [r14+0x60]
|  2*^   |           |     | 1.0   1.0 |           |     |     | CP | cvtss2sd xmm10, dword ptr [r14+0x64]
|   2^   | 0.5       |     | 1.0   1.0 |           |     | 0.5 | CP | pcmpeqb xmm0, xmmword ptr [r14]
Total Num Of Uops: 22
⇨ One μop that can only use port '2'

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

Throughput Analysis Report
--------------------------
Block Throughput: 5.50 Cycles       Throughput Bottleneck: Port0, Port5

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


| Num Of |              Ports pressure in cycles               |    |
|  Uops  |  0  - DV  |  1  |  2  -  D  |  3  -  D  |  4  |  5  |    |
---------------------------------------------------------------------
|   1    | 0.5       |     |           |           |     | 0.5 | CP | pabsb mmx0, mmx1
|   1    | 0.5       |     |           |           |     | 0.5 | CP | pabsb mmx2, mmx1
|   1    | 0.5       |     |           |           |     | 0.5 | CP | pabsb mmx3, mmx1
|   1    | 0.5       |     |           |           |     | 0.5 | CP | pabsb mmx4, mmx1
|   1    | 0.5       |     |           |           |     | 0.5 | CP | pabsb mmx5, mmx1
|   1    | 0.5       |     |           |           |     | 0.5 | CP | pabsb mmx6, mmx1
|   1    | 0.5       |     |           |           |     | 0.5 | CP | pabsb mmx7, mmx1
|   1    | 0.5       |     |           |           |     | 0.5 | CP | pabsb mmx0, mmx1
|   1    | 0.5       |     |           |           |     | 0.5 | CP | pabsb mmx2, mmx1
|   1    | 0.5       |     |           |           |     | 0.5 | CP | pabsb mmx3, mmx1
|   2^   | 0.5       |     | 1.0   1.0 |           |     | 0.5 | CP | pcmpeqb xmm0, xmmword ptr [r14]
Total Num Of Uops: 12
⇨ One μop that can only use ports {'0', '5'}

With an indexed addressing mode


With blocking instructions for port '2':

Throughput Analysis Report
--------------------------
Block Throughput: 11.00 Cycles       Throughput Bottleneck: PORT2_AGU, Port2_DATA

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


| Num Of |              Ports pressure in cycles               |    |
|  Uops  |  0  - DV  |  1  |  2  -  D  |  3  -  D  |  4  |  5  |    |
---------------------------------------------------------------------
|  2*^   |           |     | 1.0   1.0 |           |     |     | CP | cvtss2sd xmm1, dword ptr [r14+0x40]
|  2*^   |           |     | 1.0   1.0 |           |     |     | CP | cvtss2sd xmm2, dword ptr [r14+0x44]
|  2*^   |           |     | 1.0   1.0 |           |     |     | CP | cvtss2sd xmm3, dword ptr [r14+0x48]
|  2*^   |           |     | 1.0   1.0 |           |     |     | CP | cvtss2sd xmm4, dword ptr [r14+0x4c]
|  2*^   |           |     | 1.0   1.0 |           |     |     | CP | cvtss2sd xmm5, dword ptr [r14+0x50]
|  2*^   |           |     | 1.0   1.0 |           |     |     | CP | cvtss2sd xmm6, dword ptr [r14+0x54]
|  2*^   |           |     | 1.0   1.0 |           |     |     | CP | cvtss2sd xmm7, dword ptr [r14+0x58]
|  2*^   |           |     | 1.0   1.0 |           |     |     | CP | cvtss2sd xmm8, dword ptr [r14+0x5c]
|  2*^   |           |     | 1.0   1.0 |           |     |     | CP | cvtss2sd xmm9, dword ptr [r14+0x60]
|  2*^   |           |     | 1.0   1.0 |           |     |     | CP | cvtss2sd xmm10, dword ptr [r14+0x64]
|   2    | 0.5       |     | 1.0   1.0 |           |     | 0.5 | CP | pcmpeqb xmm0, xmmword ptr [r14+r13*1]
Total Num Of Uops: 22
⇨ One μop that can only use port '2'

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

Throughput Analysis Report
--------------------------
Block Throughput: 5.50 Cycles       Throughput Bottleneck: Port0, Port5

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


| Num Of |              Ports pressure in cycles               |    |
|  Uops  |  0  - DV  |  1  |  2  -  D  |  3  -  D  |  4  |  5  |    |
---------------------------------------------------------------------
|   1    | 0.5       |     |           |           |     | 0.5 | CP | pabsb mmx0, mmx1
|   1    | 0.5       |     |           |           |     | 0.5 | CP | pabsb mmx2, mmx1
|   1    | 0.5       |     |           |           |     | 0.5 | CP | pabsb mmx3, mmx1
|   1    | 0.5       |     |           |           |     | 0.5 | CP | pabsb mmx4, mmx1
|   1    | 0.5       |     |           |           |     | 0.5 | CP | pabsb mmx5, mmx1
|   1    | 0.5       |     |           |           |     | 0.5 | CP | pabsb mmx6, mmx1
|   1    | 0.5       |     |           |           |     | 0.5 | CP | pabsb mmx7, mmx1
|   1    | 0.5       |     |           |           |     | 0.5 | CP | pabsb mmx0, mmx1
|   1    | 0.5       |     |           |           |     | 0.5 | CP | pabsb mmx2, mmx1
|   1    | 0.5       |     |           |           |     | 0.5 | CP | pabsb mmx3, mmx1
|   2    | 0.5       |     | 1.0   1.0 |           |     | 0.5 | CP | pcmpeqb xmm0, xmmword ptr [r14+r13*1]
Total Num Of Uops: 12
⇨ One μop that can only use ports {'0', '5'}