ADD_LOCK (M32, I8) - Throughput and Uops (IACA 3.0)


With a non-indexed addressing mode

With 1 independent instruction

Throughput Analysis Report
--------------------------
Block Throughput: 1.10 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 |  0.8     0.0  |  0.8  |  0.7     0.7  |  0.7     0.7  |  1.0  |  0.8  |  0.8  |  0.7  |
--------------------------------------------------------------------------------------------------

| Num Of   |                    Ports pressure in cycles                         |      |
|  Uops    |  0  - DV    |  1   |  2  -  D    |  3  -  D    |  4   |  5   |  6   |  7   |
-----------------------------------------------------------------------------------------
|   6^     | 0.8         | 0.8  | 0.7     0.7 | 0.7     0.7 | 1.0  | 0.8  | 0.8  | 0.7  | lock add dword ptr [r14], 0x2
Total Num Of Uops: 6

With 16 independent instructions


Throughput Analysis Report
--------------------------
Block Throughput: 17.58 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 | 12.0     0.0  | 12.0  | 10.7    10.7  | 10.6    10.6  | 16.0  | 12.0  | 12.0  | 10.7  |
--------------------------------------------------------------------------------------------------

| Num Of   |                    Ports pressure in cycles                         |      |
|  Uops    |  0  - DV    |  1   |  2  -  D    |  3  -  D    |  4   |  5   |  6   |  7   |
-----------------------------------------------------------------------------------------
|   6^     | 1.0         | 1.0  | 0.7     0.7 | 0.6     0.6 | 1.0  | 1.0  |      | 0.7  | lock add dword ptr [r14], 0x2
|   6^     | 1.0         | 1.0  | 0.6     0.6 | 0.7     0.7 | 1.0  |      | 1.0  | 0.7  | lock add dword ptr [r14+0x4], 0x2
|   6^     | 1.0         |      | 0.7     0.7 | 0.7     0.7 | 1.0  | 1.0  | 1.0  | 0.6  | lock add dword ptr [r14+0x8], 0x2
|   6^     |             | 1.0  | 0.7     0.7 | 0.6     0.6 | 1.0  | 1.0  | 1.0  | 0.7  | lock add dword ptr [r14+0xc], 0x2
|   6^     | 1.0         | 1.0  | 0.6     0.6 | 0.7     0.7 | 1.0  | 1.0  |      | 0.7  | lock add dword ptr [r14+0x10], 0x2
|   6^     | 1.0         | 1.0  | 0.7     0.7 | 0.7     0.7 | 1.0  |      | 1.0  | 0.6  | lock add dword ptr [r14+0x14], 0x2
|   6^     | 1.0         |      | 0.7     0.7 | 0.6     0.6 | 1.0  | 1.0  | 1.0  | 0.7  | lock add dword ptr [r14+0x18], 0x2
|   6^     |             | 1.0  | 0.6     0.6 | 0.7     0.7 | 1.0  | 1.0  | 1.0  | 0.7  | lock add dword ptr [r14+0x1c], 0x2
|   6^     | 1.0         | 1.0  | 0.7     0.7 | 0.7     0.7 | 1.0  | 1.0  |      | 0.6  | lock add dword ptr [r14+0x20], 0x2
|   6^     | 1.0         | 1.0  | 0.7     0.7 | 0.6     0.6 | 1.0  |      | 1.0  | 0.7  | lock add dword ptr [r14+0x24], 0x2
|   6^     | 1.0         |      | 0.6     0.6 | 0.7     0.7 | 1.0  | 1.0  | 1.0  | 0.7  | lock add dword ptr [r14+0x28], 0x2
|   6^     |             | 1.0  | 0.7     0.7 | 0.7     0.7 | 1.0  | 1.0  | 1.0  | 0.6  | lock add dword ptr [r14+0x2c], 0x2
|   6^     | 1.0         | 1.0  | 0.7     0.7 | 0.6     0.6 | 1.0  | 1.0  |      | 0.7  | lock add dword ptr [r14+0x30], 0x2
|   6^     | 1.0         | 1.0  | 0.6     0.6 | 0.7     0.7 | 1.0  |      | 1.0  | 0.7  | lock add dword ptr [r14+0x34], 0x2
|   6^     | 1.0         |      | 0.7     0.7 | 0.7     0.7 | 1.0  | 1.0  | 1.0  | 0.6  | lock add dword ptr [r14+0x38], 0x2
|   6^     |             | 1.0  | 0.7     0.7 | 0.6     0.6 | 1.0  | 1.0  | 1.0  | 0.7  | lock add dword ptr [r14+0x3c], 0x2
Total Num Of Uops: 96

With an indexed addressing mode

With 1 independent instruction

Throughput Analysis Report
--------------------------
Block Throughput: 1.49 Cycles       Throughput Bottleneck: FrontEnd
Loop Count:  50
Port Binding In Cycles Per Iteration:
--------------------------------------------------------------------------------------------------
|  Port  |   0   -  DV   |   1   |   2   -  D    |   3   -  D    |   4   |   5   |   6   |   7   |
--------------------------------------------------------------------------------------------------
| Cycles |  0.8     0.0  |  0.7  |  1.0     1.0  |  1.0     1.0  |  1.0  |  0.7  |  0.7  |  0.0  |
--------------------------------------------------------------------------------------------------

| Num Of   |                    Ports pressure in cycles                         |      |
|  Uops    |  0  - DV    |  1   |  2  -  D    |  3  -  D    |  4   |  5   |  6   |  7   |
-----------------------------------------------------------------------------------------
|   6      | 0.8         | 0.7  | 1.0     1.0 | 1.0     1.0 | 1.0  | 0.7  | 0.7  |      | lock add dword ptr [r14+r13*1], 0x2
Total Num Of Uops: 6

With 16 independent instructions


Throughput Analysis Report
--------------------------
Block Throughput: 23.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 | 12.0     0.0  | 12.0  | 16.0    16.0  | 16.0    16.0  | 16.0  | 12.0  | 12.0  |  0.0  |
--------------------------------------------------------------------------------------------------

| Num Of   |                    Ports pressure in cycles                         |      |
|  Uops    |  0  - DV    |  1   |  2  -  D    |  3  -  D    |  4   |  5   |  6   |  7   |
-----------------------------------------------------------------------------------------
|   6      | 1.0         | 1.0  | 1.0     1.0 | 1.0     1.0 | 1.0  | 1.0  |      |      | lock add dword ptr [r14+r13*1], 0x2
|   6      | 1.0         | 1.0  | 1.0     1.0 | 1.0     1.0 | 1.0  |      | 1.0  |      | lock add dword ptr [r14+r13*1+0x4], 0x2
|   6      | 1.0         |      | 1.0     1.0 | 1.0     1.0 | 1.0  | 1.0  | 1.0  |      | lock add dword ptr [r14+r13*1+0x8], 0x2
|   6      |             | 1.0  | 1.0     1.0 | 1.0     1.0 | 1.0  | 1.0  | 1.0  |      | lock add dword ptr [r14+r13*1+0xc], 0x2
|   6      | 1.0         | 1.0  | 1.0     1.0 | 1.0     1.0 | 1.0  | 1.0  |      |      | lock add dword ptr [r14+r13*1+0x10], 0x2
|   6      | 1.0         | 1.0  | 1.0     1.0 | 1.0     1.0 | 1.0  |      | 1.0  |      | lock add dword ptr [r14+r13*1+0x14], 0x2
|   6      | 1.0         |      | 1.0     1.0 | 1.0     1.0 | 1.0  | 1.0  | 1.0  |      | lock add dword ptr [r14+r13*1+0x18], 0x2
|   6      |             | 1.0  | 1.0     1.0 | 1.0     1.0 | 1.0  | 1.0  | 1.0  |      | lock add dword ptr [r14+r13*1+0x1c], 0x2
|   6      | 1.0         | 1.0  | 1.0     1.0 | 1.0     1.0 | 1.0  | 1.0  |      |      | lock add dword ptr [r14+r13*1+0x20], 0x2
|   6      | 1.0         | 1.0  | 1.0     1.0 | 1.0     1.0 | 1.0  |      | 1.0  |      | lock add dword ptr [r14+r13*1+0x24], 0x2
|   6      | 1.0         |      | 1.0     1.0 | 1.0     1.0 | 1.0  | 1.0  | 1.0  |      | lock add dword ptr [r14+r13*1+0x28], 0x2
|   6      |             | 1.0  | 1.0     1.0 | 1.0     1.0 | 1.0  | 1.0  | 1.0  |      | lock add dword ptr [r14+r13*1+0x2c], 0x2
|   6      | 1.0         | 1.0  | 1.0     1.0 | 1.0     1.0 | 1.0  | 1.0  |      |      | lock add dword ptr [r14+r13*1+0x30], 0x2
|   6      | 1.0         | 1.0  | 1.0     1.0 | 1.0     1.0 | 1.0  |      | 1.0  |      | lock add dword ptr [r14+r13*1+0x34], 0x2
|   6      | 1.0         |      | 1.0     1.0 | 1.0     1.0 | 1.0  | 1.0  | 1.0  |      | lock add dword ptr [r14+r13*1+0x38], 0x2
|   6      |             | 1.0  | 1.0     1.0 | 1.0     1.0 | 1.0  | 1.0  | 1.0  |      | lock add dword ptr [r14+r13*1+0x3c], 0x2
Total Num Of Uops: 96