ADC_13 (R16, R16) - Throughput and Uops (IACA 2.3)


With different registers for different operands

With 1 independent instruction

Throughput Analysis Report
--------------------------
Block Throughput: 1.90 Cycles       Throughput Bottleneck: FrontEnd

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


| Num Of |              Ports pressure in cycles               |    |
|  Uops  |  0  - DV  |  1  |  2  -  D  |  3  -  D  |  4  |  5  |    |
---------------------------------------------------------------------
|   2    | 0.6       | 0.7 |           |           |     | 0.6 | CP | adc r8w, r9w
Total Num Of Uops: 2

With additional dependency-breaking instructions

Throughput Analysis Report
--------------------------
Block Throughput: 1.90 Cycles       Throughput Bottleneck: FrontEnd

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


| Num Of |              Ports pressure in cycles               |    |
|  Uops  |  0  - DV  |  1  |  2  -  D  |  3  -  D  |  4  |  5  |    |
---------------------------------------------------------------------
|   2    | 0.9       | 0.4 |           |           |     | 0.7 | CP | adc r8w, r9w
|   1    | 0.1       | 0.6 |           |           |     | 0.3 |    | test r15, r15
Total Num Of Uops: 3

With 12 independent instructions


Throughput Analysis Report
--------------------------
Block Throughput: 22.86 Cycles       Throughput Bottleneck: Dependency chains (possibly between iterations)

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


| Num Of |              Ports pressure in cycles               |    |
|  Uops  |  0  - DV  |  1  |  2  -  D  |  3  -  D  |  4  |  5  |    |
---------------------------------------------------------------------
|   2    | 0.2       | 0.9 |           |           |     | 1.0 | CP | adc r8w, r9w
|   2    | 1.0       | 1.0 |           |           |     |     | CP | adc r10w, r9w
|   2    | 1.0       |     |           |           |     | 1.0 | CP | adc r11w, r9w
|   2    |           | 1.0 |           |           |     | 1.0 | CP | adc r12w, r9w
|   2    | 1.0       | 1.0 |           |           |     |     | CP | adc r13w, r9w
|   2    | 1.0       |     |           |           |     | 1.0 | CP | adc r14w, r9w
|   2    |           | 1.0 |           |           |     | 1.0 | CP | adc bx, r9w
|   2    | 1.0       | 1.0 |           |           |     |     | CP | adc cx, r9w
|   2    | 0.9       | 0.1 |           |           |     | 1.0 | CP | adc dx, r9w
|   2    | 0.1       | 0.9 |           |           |     | 1.0 | CP | adc di, r9w
|   2    | 1.0       | 1.0 |           |           |     |     | CP | adc si, r9w
|   2    | 0.9       | 0.2 |           |           |     | 1.0 | CP | adc bp, r9w
Total Num Of Uops: 24

With additional dependency-breaking instructions

Throughput Analysis Report
--------------------------
Block Throughput: 12.00 Cycles       Throughput Bottleneck: Backend. Port0, Port1, Port5

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


| Num Of |              Ports pressure in cycles               |    |
|  Uops  |  0  - DV  |  1  |  2  -  D  |  3  -  D  |  4  |  5  |    |
---------------------------------------------------------------------
|   2    | 1.0       |     |           |           |     | 1.0 | CP | adc r8w, r9w
|   1    |           | 1.0 |           |           |     |     | CP | test r15, r15
|   2    | 1.0       |     |           |           |     | 1.0 | CP | adc r10w, r9w
|   1    |           | 1.0 |           |           |     |     | CP | test r15, r15
|   2    | 1.0       |     |           |           |     | 1.0 | CP | adc r11w, r9w
|   1    |           | 1.0 |           |           |     |     | CP | test r15, r15
|   2    | 1.0       |     |           |           |     | 1.0 | CP | adc r12w, r9w
|   1    |           | 1.0 |           |           |     |     | CP | test r15, r15
|   2    | 1.0       |     |           |           |     | 1.0 | CP | adc r13w, r9w
|   1    |           | 1.0 |           |           |     |     | CP | test r15, r15
|   2    | 1.0       |     |           |           |     | 1.0 | CP | adc r14w, r9w
|   1    |           | 1.0 |           |           |     |     | CP | test r15, r15
|   2    | 1.0       |     |           |           |     | 1.0 | CP | adc bx, r9w
|   1    |           | 1.0 |           |           |     |     | CP | test r15, r15
|   2    | 1.0       |     |           |           |     | 1.0 | CP | adc cx, r9w
|   1    |           | 1.0 |           |           |     |     | CP | test r15, r15
|   2    | 1.0       |     |           |           |     | 1.0 | CP | adc dx, r9w
|   1    |           | 1.0 |           |           |     |     | CP | test r15, r15
|   2    | 1.0       |     |           |           |     | 1.0 | CP | adc di, r9w
|   1    |           | 1.0 |           |           |     |     | CP | test r15, r15
|   2    | 1.0       |     |           |           |     | 1.0 | CP | adc si, r9w
|   1    |           | 1.0 |           |           |     |     | CP | test r15, r15
|   2    | 1.0       |     |           |           |     | 1.0 | CP | adc bp, r9w
|   1    |           | 1.0 |           |           |     |     | CP | test r15, r15
Total Num Of Uops: 36

With the same register for for different operands

Throughput Analysis Report
--------------------------
Block Throughput: 1.90 Cycles       Throughput Bottleneck: FrontEnd

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


| Num Of |              Ports pressure in cycles               |    |
|  Uops  |  0  - DV  |  1  |  2  -  D  |  3  -  D  |  4  |  5  |    |
---------------------------------------------------------------------
|   2    | 0.6       | 0.7 |           |           |     | 0.6 | CP | adc r8w, r8w
Total Num Of Uops: 2

With additional dependency-breaking instructions

Throughput Analysis Report
--------------------------
Block Throughput: 1.90 Cycles       Throughput Bottleneck: FrontEnd

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


| Num Of |              Ports pressure in cycles               |    |
|  Uops  |  0  - DV  |  1  |  2  -  D  |  3  -  D  |  4  |  5  |    |
---------------------------------------------------------------------
|   2    | 0.9       | 0.4 |           |           |     | 0.7 | CP | adc r8w, r8w
|   1    | 0.1       | 0.6 |           |           |     | 0.3 |    | test r15, r15
Total Num Of Uops: 3