RCR (R32, I8) - Throughput and Uops (IACA 3.0)


With 1 independent instruction

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

| Num Of   |                    Ports pressure in cycles                         |      |
|  Uops    |  0  - DV    |  1   |  2  -  D    |  3  -  D    |  4   |  5   |  6   |  7   |
-----------------------------------------------------------------------------------------
|   3      | 0.8         | 0.8  |             |             |      | 0.8  | 0.8  |      | rcr r8d, 0x2
Total Num Of Uops: 3

With additional dependency-breaking instructions

Throughput Analysis Report
--------------------------
Block Throughput: 2.86 Cycles       Throughput Bottleneck: Dependency chains
Loop Count:  25
Port Binding In Cycles Per Iteration:
--------------------------------------------------------------------------------------------------
|  Port  |   0   -  DV   |   1   |   2   -  D    |   3   -  D    |   4   |   5   |   6   |   7   |
--------------------------------------------------------------------------------------------------
| Cycles |  1.0     0.0  |  1.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   |
-----------------------------------------------------------------------------------------
|   3      | 1.0         | 1.0  |             |             |      |      | 1.0  |      | rcr r8d, 0x2
|   1      |             |      |             |             |      | 1.0  |      |      | test r15, r15
Total Num Of Uops: 4

With 13 independent instructions


Throughput Analysis Report
--------------------------
Block Throughput: 9.70 Cycles       Throughput Bottleneck: Dependency chains
Loop Count:  23
Port Binding In Cycles Per Iteration:
--------------------------------------------------------------------------------------------------
|  Port  |   0   -  DV   |   1   |   2   -  D    |   3   -  D    |   4   |   5   |   6   |   7   |
--------------------------------------------------------------------------------------------------
| Cycles |  9.8     0.0  |  9.8  |  0.0     0.0  |  0.0     0.0  |  0.0  |  9.8  |  9.8  |  0.0  |
--------------------------------------------------------------------------------------------------

| Num Of   |                    Ports pressure in cycles                         |      |
|  Uops    |  0  - DV    |  1   |  2  -  D    |  3  -  D    |  4   |  5   |  6   |  7   |
-----------------------------------------------------------------------------------------
|   3      | 0.8         | 0.8  |             |             |      | 0.8  | 0.8  |      | rcr r8d, 0x2
|   3      | 0.8         | 0.8  |             |             |      | 0.8  | 0.8  |      | rcr r9d, 0x2
|   3      | 0.8         | 0.8  |             |             |      | 0.8  | 0.8  |      | rcr r10d, 0x2
|   3      | 0.8         | 0.8  |             |             |      | 0.8  | 0.8  |      | rcr r11d, 0x2
|   3      | 0.8         | 0.8  |             |             |      | 0.8  | 0.8  |      | rcr r12d, 0x2
|   3      | 0.8         | 0.8  |             |             |      | 0.8  | 0.8  |      | rcr r13d, 0x2
|   3      | 0.8         | 0.8  |             |             |      | 0.8  | 0.8  |      | rcr r14d, 0x2
|   3      | 0.8         | 0.8  |             |             |      | 0.8  | 0.8  |      | rcr ebx, 0x2
|   3      | 0.8         | 0.8  |             |             |      | 0.8  | 0.8  |      | rcr ecx, 0x2
|   3      | 0.8         | 0.8  |             |             |      | 0.8  | 0.8  |      | rcr edx, 0x2
|   3      | 0.8         | 0.8  |             |             |      | 0.8  | 0.8  |      | rcr edi, 0x2
|   3      | 0.8         | 0.8  |             |             |      | 0.8  | 0.8  |      | rcr esi, 0x2
|   3      | 0.8         | 0.8  |             |             |      | 0.8  | 0.8  |      | rcr ebp, 0x2
Total Num Of Uops: 39

With additional dependency-breaking instructions

Throughput Analysis Report
--------------------------
Block Throughput: 12.95 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 | 13.0     0.0  | 13.0  |  0.0     0.0  |  0.0     0.0  |  0.0  | 13.0  | 13.0  |  0.0  |
--------------------------------------------------------------------------------------------------

| Num Of   |                    Ports pressure in cycles                         |      |
|  Uops    |  0  - DV    |  1   |  2  -  D    |  3  -  D    |  4   |  5   |  6   |  7   |
-----------------------------------------------------------------------------------------
|   3      | 1.0         | 1.0  |             |             |      |      | 1.0  |      | rcr r8d, 0x2
|   1      |             |      |             |             |      | 1.0  |      |      | test r15, r15
|   3      | 1.0         | 1.0  |             |             |      |      | 1.0  |      | rcr r9d, 0x2
|   1      |             |      |             |             |      | 1.0  |      |      | test r15, r15
|   3      | 1.0         | 1.0  |             |             |      |      | 1.0  |      | rcr r10d, 0x2
|   1      |             |      |             |             |      | 1.0  |      |      | test r15, r15
|   3      | 1.0         | 1.0  |             |             |      |      | 1.0  |      | rcr r11d, 0x2
|   1      |             |      |             |             |      | 1.0  |      |      | test r15, r15
|   3      | 1.0         | 1.0  |             |             |      |      | 1.0  |      | rcr r12d, 0x2
|   1      |             |      |             |             |      | 1.0  |      |      | test r15, r15
|   3      | 1.0         | 1.0  |             |             |      |      | 1.0  |      | rcr r13d, 0x2
|   1      |             |      |             |             |      | 1.0  |      |      | test r15, r15
|   3      | 1.0         | 1.0  |             |             |      |      | 1.0  |      | rcr r14d, 0x2
|   1      |             |      |             |             |      | 1.0  |      |      | test r15, r15
|   3      | 1.0         | 1.0  |             |             |      |      | 1.0  |      | rcr ebx, 0x2
|   1      |             |      |             |             |      | 1.0  |      |      | test r15, r15
|   3      | 1.0         | 1.0  |             |             |      |      | 1.0  |      | rcr ecx, 0x2
|   1      |             |      |             |             |      | 1.0  |      |      | test r15, r15
|   3      | 1.0         | 1.0  |             |             |      |      | 1.0  |      | rcr edx, 0x2
|   1      |             |      |             |             |      | 1.0  |      |      | test r15, r15
|   3      | 1.0         | 1.0  |             |             |      |      | 1.0  |      | rcr edi, 0x2
|   1      |             |      |             |             |      | 1.0  |      |      | test r15, r15
|   3      | 1.0         | 1.0  |             |             |      |      | 1.0  |      | rcr esi, 0x2
|   1      |             |      |             |             |      | 1.0  |      |      | test r15, r15
|   3      | 1.0         | 1.0  |             |             |      |      | 1.0  |      | rcr ebp, 0x2
|   1      |             |      |             |             |      | 1.0  |      |      | test r15, r15
Total Num Of Uops: 52