XADD_LOCK (M32, R32) - Throughput and Uops (IACA 2.2)
With a non-indexed addressing mode
With 1 independent instruction
Throughput Analysis Report
--------------------------
Block Throughput: 6.00 Cycles Throughput Bottleneck: Dependency chains (possibly between iterations)
Port Binding In Cycles Per Iteration:
---------------------------------------------------------------------------------------
| Port | 0 - DV | 1 | 2 - D | 3 - D | 4 | 5 | 6 | 7 |
---------------------------------------------------------------------------------------
| Cycles | 1.3 0.0 | 1.4 | 0.6 0.5 | 0.7 0.5 | 1.0 | 1.4 | 2.0 | 0.6 |
---------------------------------------------------------------------------------------
| Num Of | Ports pressure in cycles | |
| Uops | 0 - DV | 1 | 2 - D | 3 - D | 4 | 5 | 6 | 7 | |
---------------------------------------------------------------------------------
| 9^ | 1.3 | 1.4 | 0.6 0.5 | 0.7 0.5 | 1.0 | 1.4 | 2.0 | 0.6 | CP | lock xadd dword ptr [r14], r8d
Total Num Of Uops: 9
With 8 independent instructions
Throughput Analysis Report
--------------------------
Block Throughput: 16.00 Cycles Throughput Bottleneck: FrontEnd, Port6
Port Binding In Cycles Per Iteration:
---------------------------------------------------------------------------------------
| Port | 0 - DV | 1 | 2 - D | 3 - D | 4 | 5 | 6 | 7 |
---------------------------------------------------------------------------------------
| Cycles | 10.6 0.0 | 10.6 | 5.3 4.0 | 5.3 4.0 | 8.0 | 10.7 | 16.0 | 5.3 |
---------------------------------------------------------------------------------------
| Num Of | Ports pressure in cycles | |
| Uops | 0 - DV | 1 | 2 - D | 3 - D | 4 | 5 | 6 | 7 | |
---------------------------------------------------------------------------------
| 9^ | 1.3 | 1.4 | 1.0 1.0 | 0.3 | 1.0 | 1.4 | 2.0 | 0.6 | CP | lock xadd dword ptr [r14], r8d
| 9^ | 1.4 | 1.3 | 0.3 | 1.0 1.0 | 1.0 | 1.4 | 2.0 | 0.6 | CP | lock xadd dword ptr [r14+0x4], r9d
| 9^ | 1.4 | 1.4 | 1.0 1.0 | 0.3 | 1.0 | 1.3 | 2.0 | 0.7 | CP | lock xadd dword ptr [r14+0x8], r10d
| 9^ | 1.3 | 1.4 | 0.3 | 1.0 1.0 | 1.0 | 1.4 | 2.0 | 0.6 | CP | lock xadd dword ptr [r14+0xc], r11d
| 9^ | 1.4 | 1.3 | 1.0 1.0 | 0.3 | 1.0 | 1.4 | 2.0 | 0.6 | CP | lock xadd dword ptr [r14+0x10], r12d
| 9^ | 1.4 | 1.4 | 0.3 | 1.0 1.0 | 1.0 | 1.3 | 2.0 | 0.7 | CP | lock xadd dword ptr [r14+0x14], ebx
| 9^ | 1.3 | 1.4 | 1.0 1.0 | 0.3 | 1.0 | 1.4 | 2.0 | 0.6 | CP | lock xadd dword ptr [r14+0x18], ecx
| 9^ | 1.4 | 1.3 | 0.3 | 1.0 1.0 | 1.0 | 1.4 | 2.0 | 0.6 | CP | lock xadd dword ptr [r14+0x1c], edx
Total Num Of Uops: 72
With an indexed addressing mode
With 1 independent instruction
Throughput Analysis Report
--------------------------
Block Throughput: 6.00 Cycles Throughput Bottleneck: Dependency chains (possibly between iterations)
Port Binding In Cycles Per Iteration:
---------------------------------------------------------------------------------------
| Port | 0 - DV | 1 | 2 - D | 3 - D | 4 | 5 | 6 | 7 |
---------------------------------------------------------------------------------------
| Cycles | 1.3 0.0 | 1.4 | 1.0 0.5 | 1.0 0.5 | 1.0 | 1.4 | 2.0 | 0.0 |
---------------------------------------------------------------------------------------
| Num Of | Ports pressure in cycles | |
| Uops | 0 - DV | 1 | 2 - D | 3 - D | 4 | 5 | 6 | 7 | |
---------------------------------------------------------------------------------
| 9 | 1.3 | 1.4 | 1.0 0.5 | 1.0 0.5 | 1.0 | 1.4 | 2.0 | | CP | lock xadd dword ptr [r14+r13*1], r8d
Total Num Of Uops: 9
With 8 independent instructions
Throughput Analysis Report
--------------------------
Block Throughput: 18.00 Cycles Throughput Bottleneck: FrontEnd
Port Binding In Cycles Per Iteration:
---------------------------------------------------------------------------------------
| Port | 0 - DV | 1 | 2 - D | 3 - D | 4 | 5 | 6 | 7 |
---------------------------------------------------------------------------------------
| Cycles | 10.6 0.0 | 10.6 | 8.0 4.0 | 8.0 4.0 | 8.0 | 10.7 | 16.0 | 0.0 |
---------------------------------------------------------------------------------------
| Num Of | Ports pressure in cycles | |
| Uops | 0 - DV | 1 | 2 - D | 3 - D | 4 | 5 | 6 | 7 | |
---------------------------------------------------------------------------------
| 9 | 1.3 | 1.4 | 1.0 1.0 | 1.0 | 1.0 | 1.4 | 2.0 | | | lock xadd dword ptr [r14+r13*1], r8d
| 9 | 1.4 | 1.3 | 1.0 | 1.0 1.0 | 1.0 | 1.4 | 2.0 | | | lock xadd dword ptr [r14+r13*1+0x4], r9d
| 9 | 1.4 | 1.4 | 1.0 1.0 | 1.0 | 1.0 | 1.3 | 2.0 | | | lock xadd dword ptr [r14+r13*1+0x8], r10d
| 9 | 1.3 | 1.4 | 1.0 | 1.0 1.0 | 1.0 | 1.4 | 2.0 | | | lock xadd dword ptr [r14+r13*1+0xc], r11d
| 9 | 1.4 | 1.3 | 1.0 1.0 | 1.0 | 1.0 | 1.4 | 2.0 | | | lock xadd dword ptr [r14+r13*1+0x10], r12d
| 9 | 1.4 | 1.4 | 1.0 | 1.0 1.0 | 1.0 | 1.3 | 2.0 | | | lock xadd dword ptr [r14+r13*1+0x14], ebx
| 9 | 1.3 | 1.4 | 1.0 1.0 | 1.0 | 1.0 | 1.4 | 2.0 | | | lock xadd dword ptr [r14+r13*1+0x18], ecx
| 9 | 1.4 | 1.3 | 1.0 | 1.0 1.0 | 1.0 | 1.4 | 2.0 | | | lock xadd dword ptr [r14+r13*1+0x1c], edx
Total Num Of Uops: 72
With the -no_interiteration flag
Throughput Analysis Report
--------------------------
Block Throughput: 4.00 Cycles Throughput Bottleneck: FrontEnd
Port Binding In Cycles Per Iteration:
---------------------------------------------------------------------------------------
| Port | 0 - DV | 1 | 2 - D | 3 - D | 4 | 5 | 6 | 7 |
---------------------------------------------------------------------------------------
| Cycles | 1.3 0.0 | 1.4 | 0.6 0.5 | 0.7 0.5 | 1.0 | 1.4 | 2.0 | 0.6 |
---------------------------------------------------------------------------------------
| Num Of | Ports pressure in cycles | |
| Uops | 0 - DV | 1 | 2 - D | 3 - D | 4 | 5 | 6 | 7 | |
---------------------------------------------------------------------------------
| 9^ | 1.3 | 1.4 | 0.6 0.5 | 0.7 0.5 | 1.0 | 1.4 | 2.0 | 0.6 | | lock xadd dword ptr [r14], r8d
Total Num Of Uops: 9