CMOVB (R32, R32) - Port Usage (IACA 3.0)


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

Throughput Analysis Report
--------------------------
Block Throughput: 4.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 |  5.0     0.0  |  5.0  |  0.0     0.0  |  0.0     0.0  |  0.0  |  1.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 xmm0, xmm1
|   1      |             | 1.0  |             |             |      |      |      |      | mulpd xmm2, xmm1
|   1      | 1.0         |      |             |             |      |      |      |      | mulpd xmm3, xmm1
|   1      |             | 1.0  |             |             |      |      |      |      | mulpd xmm4, xmm1
|   1      | 1.0         |      |             |             |      |      |      |      | mulpd xmm5, xmm1
|   1      |             | 1.0  |             |             |      |      |      |      | mulpd xmm6, xmm1
|   1      | 1.0         |      |             |             |      |      |      |      | mulpd xmm7, xmm1
|   1      |             | 1.0  |             |             |      |      |      |      | mulpd xmm8, xmm1
|   1      | 1.0         |      |             |             |      |      |      |      | mulpd xmm9, xmm1
|   1      |             | 1.0  |             |             |      |      |      |      | mulpd xmm10, xmm1
|   2      |             |      |             |             |      | 1.0  | 1.0  |      | cmovb r8d, r9d
Total Num Of Uops: 12

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

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

| Num Of   |                    Ports pressure in cycles                         |      |
|  Uops    |  0  - DV    |  1   |  2  -  D    |  3  -  D    |  4   |  5   |  6   |  7   |
-----------------------------------------------------------------------------------------
|   1      | 0.5         |      |             |             |      |      | 0.5  |      | sar bh, 0x0
|   1      | 0.5         |      |             |             |      |      | 0.5  |      | sar ch, 0x0
|   1      | 0.5         |      |             |             |      |      | 0.5  |      | sar dh, 0x0
|   1      | 0.5         |      |             |             |      |      | 0.5  |      | sar ah, 0x0
|   1      | 0.5         |      |             |             |      |      | 0.5  |      | sar bh, 0x0
|   1      | 0.5         |      |             |             |      |      | 0.5  |      | sar ch, 0x0
|   1      | 0.5         |      |             |             |      |      | 0.5  |      | sar dh, 0x0
|   1      | 0.5         |      |             |             |      |      | 0.5  |      | sar ah, 0x0
|   1      | 0.5         |      |             |             |      |      | 0.5  |      | sar bh, 0x0
|   1      | 0.5         |      |             |             |      |      | 0.5  |      | sar ch, 0x0
|   2      | 0.5         | 0.5  |             |             |      | 0.5  | 0.5  |      | cmovb r8d, r9d
Total Num Of Uops: 12
⇨ One μop that can only use ports {'0', '6'}

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

Throughput Analysis Report
--------------------------
Block Throughput: 4.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 |  1.0     0.0  |  5.0  |  0.0     0.0  |  0.0     0.0  |  0.0  |  5.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  |             |             |      |      |      |      | 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 r10w, ptr [r14]
|   1      |             |      |             |             |      | 1.0  |      |      | lea r11w, ptr [r14]
|   1      |             | 1.0  |             |             |      |      |      |      | lea r12w, ptr [r14]
|   1      |             |      |             |             |      | 1.0  |      |      | lea bx, ptr [r14]
|   2      | 1.0         |      |             |             |      |      | 1.0  |      | cmovb r8d, r9d
Total Num Of Uops: 12

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

Throughput Analysis Report
--------------------------
Block Throughput: 3.32 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 |  3.3     0.0  |  3.4  |  0.0     0.0  |  0.0     0.0  |  0.0  |  3.3  |  2.0  |  0.0  |
--------------------------------------------------------------------------------------------------

| Num Of   |                    Ports pressure in cycles                         |      |
|  Uops    |  0  - DV    |  1   |  2  -  D    |  3  -  D    |  4   |  5   |  6   |  7   |
-----------------------------------------------------------------------------------------
|   1      | 0.3         | 0.4  |             |             |      | 0.3  |      |      | blendpd xmm0, xmm1, 0x2
|   1      | 0.3         | 0.3  |             |             |      | 0.4  |      |      | blendpd xmm2, xmm1, 0x2
|   1      | 0.4         | 0.3  |             |             |      | 0.3  |      |      | blendpd xmm3, xmm1, 0x2
|   1      | 0.3         | 0.4  |             |             |      | 0.3  |      |      | blendpd xmm4, xmm1, 0x2
|   1      | 0.3         | 0.3  |             |             |      | 0.4  |      |      | blendpd xmm5, xmm1, 0x2
|   1      | 0.4         | 0.3  |             |             |      | 0.3  |      |      | blendpd xmm6, xmm1, 0x2
|   1      | 0.3         | 0.4  |             |             |      | 0.3  |      |      | blendpd xmm7, xmm1, 0x2
|   1      | 0.3         | 0.3  |             |             |      | 0.4  |      |      | blendpd xmm8, xmm1, 0x2
|   1      | 0.4         | 0.3  |             |             |      | 0.3  |      |      | blendpd xmm9, xmm1, 0x2
|   1      | 0.3         | 0.4  |             |             |      | 0.3  |      |      | blendpd xmm10, xmm1, 0x2
|   2      |             |      |             |             |      |      | 2.0  |      | cmovb r8d, r9d
Total Num Of Uops: 12

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

Throughput Analysis Report
--------------------------
Block Throughput: 3.00 Cycles       Throughput Bottleneck: Dependency chains
Loop Count:  22
Port Binding In Cycles Per Iteration:
--------------------------------------------------------------------------------------------------
|  Port  |   0   -  DV   |   1   |   2   -  D    |   3   -  D    |   4   |   5   |   6   |   7   |
--------------------------------------------------------------------------------------------------
| Cycles |  3.0     0.0  |  3.0  |  0.0     0.0  |  0.0     0.0  |  0.0  |  3.0  |  3.0  |  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      |             | 1.0  |             |             |      |      |      |      | mov ch, 0x0
|   1      |             |      |             |             |      | 1.0  |      |      | mov dh, 0x0
|   1      |             |      |             |             |      |      | 1.0  |      | mov ah, 0x0
|   1      | 1.0         |      |             |             |      |      |      |      | mov bh, 0x0
|   1      |             | 1.0  |             |             |      |      |      |      | mov ch, 0x0
|   1      |             |      |             |             |      | 1.0  |      |      | mov dh, 0x0
|   1      |             |      |             |             |      |      | 1.0  |      | mov ah, 0x0
|   1      | 1.0         |      |             |             |      |      |      |      | mov bh, 0x0
|   1      |             | 1.0  |             |             |      |      |      |      | mov ch, 0x0
|   2      |             |      |             |             |      | 1.0  | 1.0  |      | cmovb r8d, r9d
Total Num Of Uops: 12
⇨ One μop that can only use ports {'0', '1', '5', '6'}