ADC (AL, 0) - 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         |      |             |             |      |      |      |      | 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
|   2      |             |      |             |             |      | 1.0  | 1.0  |      | adc al, 0x0
Total Num Of Uops: 12

With blocking instructions for ports {'0', '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 |  5.0     0.0  |  1.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         |      |             |             |      |      |      |      | 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
|   2      |             | 1.0  |             |             |      |      | 1.0  |      | adc al, 0x0
Total Num Of Uops: 12

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

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 |  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 r12b, 0x0
|   1      | 0.5         |      |             |             |      |      | 0.5  |      | sar r12b, 0x0
|   1      | 0.5         |      |             |             |      |      | 0.5  |      | sar r12b, 0x0
|   1      | 0.5         |      |             |             |      |      | 0.5  |      | sar r12b, 0x0
|   1      | 0.5         |      |             |             |      |      | 0.5  |      | sar r12b, 0x0
|   1      | 0.5         |      |             |             |      |      | 0.5  |      | sar r12b, 0x0
|   1      | 0.5         |      |             |             |      |      | 0.5  |      | sar r12b, 0x0
|   1      | 0.5         |      |             |             |      |      | 0.5  |      | sar r12b, 0x0
|   1      | 0.5         |      |             |             |      |      | 0.5  |      | sar r12b, 0x0
|   1      | 0.5         |      |             |             |      |      | 0.5  |      | sar r12b, 0x0
|   2      | 0.5         | 0.5  |             |             |      | 0.5  | 0.5  |      | adc al, 0x0
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 r8w, 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 r8w, ptr [r14]
|   1      |             |      |             |             |      | 1.0  |      |      | lea r9w, ptr [r14]
|   2      | 1.0         |      |             |             |      |      | 1.0  |      | adc al, 0x0
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  |      |      | addpd xmm0, xmm1
|   1      | 0.3         | 0.3  |             |             |      | 0.4  |      |      | addpd xmm2, xmm1
|   1      | 0.4         | 0.3  |             |             |      | 0.3  |      |      | addpd xmm3, xmm1
|   1      | 0.3         | 0.4  |             |             |      | 0.3  |      |      | addpd xmm4, xmm1
|   1      | 0.3         | 0.3  |             |             |      | 0.4  |      |      | addpd xmm5, xmm1
|   1      | 0.4         | 0.3  |             |             |      | 0.3  |      |      | addpd xmm6, xmm1
|   1      | 0.3         | 0.4  |             |             |      | 0.3  |      |      | addpd xmm7, xmm1
|   1      | 0.3         | 0.3  |             |             |      | 0.4  |      |      | addpd xmm8, xmm1
|   1      | 0.4         | 0.3  |             |             |      | 0.3  |      |      | addpd xmm9, xmm1
|   1      | 0.3         | 0.4  |             |             |      | 0.3  |      |      | addpd xmm10, xmm1
|   2      |             |      |             |             |      |      | 2.0  |      | adc al, 0x0
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 bh, 0x0
|   1      | 1.0         |      |             |             |      |      |      |      | mov ch, 0x0
|   1      |             | 1.0  |             |             |      |      |      |      | mov dh, 0x0
|   1      |             |      |             |             |      | 1.0  |      |      | mov bh, 0x0
|   1      |             |      |             |             |      |      | 1.0  |      | mov ch, 0x0
|   1      | 1.0         |      |             |             |      |      |      |      | mov dh, 0x0
|   1      |             | 1.0  |             |             |      |      |      |      | mov bh, 0x0
|   2      |             |      |             |             |      | 1.0  | 1.0  |      | adc al, 0x0
Total Num Of Uops: 12
⇨ One μop that can only use ports {'0', '1', '5', '6'}