RDRAND (R32) - Port Usage (IACA 3.0)
With blocking instructions for port '0':
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 | 10.0 0.0 | 1.3 | 0.5 0.5 | 0.5 0.5 | 0.0 | 1.3 | 1.4 | 0.0 |
--------------------------------------------------------------------------------------------------
| Num Of | Ports pressure in cycles | |
| Uops | 0 - DV | 1 | 2 - D | 3 - D | 4 | 5 | 6 | 7 |
-----------------------------------------------------------------------------------------
| 1 | 1.0 | | | | | | | | movd r9d, mmx0
| 1 | 1.0 | | | | | | | | movd r10d, mmx0
| 1 | 1.0 | | | | | | | | movd r11d, mmx0
| 1 | 1.0 | | | | | | | | movd r12d, mmx0
| 1 | 1.0 | | | | | | | | movd ebx, mmx0
| 1 | 1.0 | | | | | | | | movd ecx, mmx0
| 1 | 1.0 | | | | | | | | movd edx, mmx0
| 1 | 1.0 | | | | | | | | movd r9d, mmx0
| 1 | 1.0 | | | | | | | | movd r10d, mmx0
| 1 | 1.0 | | | | | | | | movd r11d, mmx0
| 5^ | | 1.3 | 0.5 0.5 | 0.5 0.5 | | 1.3 | 1.4 | | rdrand r8d
Total Num Of Uops: 15
With blocking instructions for port '1':
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 | 1.3 0.0 | 10.0 | 0.5 0.5 | 0.5 0.5 | 0.0 | 1.4 | 1.3 | 0.0 |
--------------------------------------------------------------------------------------------------
| Num Of | Ports pressure in cycles | |
| Uops | 0 - DV | 1 | 2 - D | 3 - D | 4 | 5 | 6 | 7 |
-----------------------------------------------------------------------------------------
| 1 | | 1.0 | | | | | | | cvtdq2ps xmm0, xmm1
| 1 | | 1.0 | | | | | | | cvtdq2ps xmm2, xmm1
| 1 | | 1.0 | | | | | | | cvtdq2ps xmm3, xmm1
| 1 | | 1.0 | | | | | | | cvtdq2ps xmm4, xmm1
| 1 | | 1.0 | | | | | | | cvtdq2ps xmm5, xmm1
| 1 | | 1.0 | | | | | | | cvtdq2ps xmm6, xmm1
| 1 | | 1.0 | | | | | | | cvtdq2ps xmm7, xmm1
| 1 | | 1.0 | | | | | | | cvtdq2ps xmm8, xmm1
| 1 | | 1.0 | | | | | | | cvtdq2ps xmm9, xmm1
| 1 | | 1.0 | | | | | | | cvtdq2ps xmm10, xmm1
| 5^ | 1.3 | | 0.5 0.5 | 0.5 0.5 | | 1.4 | 1.3 | | rdrand r8d
Total Num Of Uops: 15
With blocking instructions for port '5':
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 | 1.3 0.0 | 1.4 | 0.5 0.5 | 0.5 0.5 | 0.0 | 10.0 | 1.3 | 0.0 |
--------------------------------------------------------------------------------------------------
| Num Of | Ports pressure in cycles | |
| Uops | 0 - DV | 1 | 2 - D | 3 - D | 4 | 5 | 6 | 7 |
-----------------------------------------------------------------------------------------
| 1 | | | | | | 1.0 | | | andnpd xmm0, xmm1
| 1 | | | | | | 1.0 | | | andnpd xmm2, xmm1
| 1 | | | | | | 1.0 | | | andnpd xmm3, xmm1
| 1 | | | | | | 1.0 | | | andnpd xmm4, xmm1
| 1 | | | | | | 1.0 | | | andnpd xmm5, xmm1
| 1 | | | | | | 1.0 | | | andnpd xmm6, xmm1
| 1 | | | | | | 1.0 | | | andnpd xmm7, xmm1
| 1 | | | | | | 1.0 | | | andnpd xmm8, xmm1
| 1 | | | | | | 1.0 | | | andnpd xmm9, xmm1
| 1 | | | | | | 1.0 | | | andnpd xmm10, xmm1
| 5^ | 1.3 | 1.4 | 0.5 0.5 | 0.5 0.5 | | | 1.3 | | rdrand r8d
Total Num Of Uops: 15
With blocking instructions for ports {'0', '1'}:
Throughput Analysis Report
--------------------------
Block Throughput: 4.79 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.5 0.5 | 0.5 0.5 | 0.0 | 2.0 | 2.0 | 0.0 |
--------------------------------------------------------------------------------------------------
| Num Of | Ports pressure in cycles | |
| Uops | 0 - DV | 1 | 2 - D | 3 - D | 4 | 5 | 6 | 7 |
-----------------------------------------------------------------------------------------
| 1 | 1.0 | | | | | | | | mulpd xmm0, xmm1
| 1 | | 1.0 | | | | | | | mulpd xmm2, xmm1
| 1 | 1.0 | | | | | | | | mulpd xmm3, xmm1
| 1 | | 1.0 | | | | | | | mulpd xmm4, xmm1
| 1 | 1.0 | | | | | | | | mulpd xmm5, xmm1
| 1 | | 1.0 | | | | | | | mulpd xmm6, xmm1
| 1 | 1.0 | | | | | | | | mulpd xmm7, xmm1
| 1 | | 1.0 | | | | | | | mulpd xmm8, xmm1
| 1 | 1.0 | | | | | | | | mulpd xmm9, xmm1
| 1 | | 1.0 | | | | | | | mulpd xmm10, xmm1
| 5^ | | | 0.5 0.5 | 0.5 0.5 | | 2.0 | 2.0 | | rdrand r8d
Total Num Of Uops: 15
With blocking instructions for ports {'0', '6'}:
Throughput Analysis Report
--------------------------
Block Throughput: 5.46 Cycles Throughput Bottleneck: Backend
Loop Count: 98
Port Binding In Cycles Per Iteration:
--------------------------------------------------------------------------------------------------
| Port | 0 - DV | 1 | 2 - D | 3 - D | 4 | 5 | 6 | 7 |
--------------------------------------------------------------------------------------------------
| Cycles | 5.5 0.0 | 1.5 | 0.5 0.5 | 0.5 0.5 | 0.0 | 1.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 bh, 0x0
| 1 | 0.5 | | | | | | 0.5 | | sar ch, 0x0
| 1 | 0.5 | | | | | | 0.5 | | sar dh, 0x0
| 1 | 0.5 | | | | | | 0.5 | | sar ah, 0x0
| 1 | 0.5 | | | | | | 0.5 | | sar bh, 0x0
| 1 | 0.5 | | | | | | 0.5 | | sar ch, 0x0
| 1 | 0.5 | | | | | | 0.5 | | sar dh, 0x0
| 1 | 0.5 | | | | | | 0.5 | | sar ah, 0x0
| 1 | 0.5 | | | | | | 0.5 | | sar bh, 0x0
| 1 | 0.5 | | | | | | 0.5 | | sar ch, 0x0
| 5^ | 0.5 | 1.5 | 0.5 0.5 | 0.5 0.5 | | 1.5 | 0.5 | | rdrand r8d
Total Num Of Uops: 15
⇨ One μop that can only use ports {'0', '6'}
With blocking instructions for ports {'1', '5'}:
Throughput Analysis Report
--------------------------
Block Throughput: 4.68 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 | 2.0 0.0 | 5.0 | 0.5 0.5 | 0.5 0.5 | 0.0 | 5.0 | 2.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 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 r9w, ptr [r14]
| 1 | | 1.0 | | | | | | | lea r10w, ptr [r14]
| 1 | | | | | | 1.0 | | | lea r11w, ptr [r14]
| 5^ | 2.0 | | 0.5 0.5 | 0.5 0.5 | | | 2.0 | | rdrand r8d
Total Num Of Uops: 15
With blocking instructions for ports {'2', '3'}:
Throughput Analysis Report
--------------------------
Block Throughput: 5.45 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 | 1.0 0.0 | 1.0 | 5.5 5.5 | 5.5 5.5 | 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^ | | | 0.5 0.5 | 0.5 0.5 | | | | | lddqu xmm0, xmmword ptr [r14+0x40]
| 1^ | | | 0.5 0.5 | 0.5 0.5 | | | | | lddqu xmm1, xmmword ptr [r14+0x50]
| 1^ | | | 0.5 0.5 | 0.5 0.5 | | | | | lddqu xmm2, xmmword ptr [r14+0x60]
| 1^ | | | 0.5 0.5 | 0.5 0.5 | | | | | lddqu xmm3, xmmword ptr [r14+0x70]
| 1^ | | | 0.5 0.5 | 0.5 0.5 | | | | | lddqu xmm4, xmmword ptr [r14+0x80]
| 1^ | | | 0.5 0.5 | 0.5 0.5 | | | | | lddqu xmm5, xmmword ptr [r14+0x90]
| 1^ | | | 0.5 0.5 | 0.5 0.5 | | | | | lddqu xmm6, xmmword ptr [r14+0xa0]
| 1^ | | | 0.5 0.5 | 0.5 0.5 | | | | | lddqu xmm7, xmmword ptr [r14+0xb0]
| 1^ | | | 0.5 0.5 | 0.5 0.5 | | | | | lddqu xmm8, xmmword ptr [r14+0xc0]
| 1^ | | | 0.5 0.5 | 0.5 0.5 | | | | | lddqu xmm9, xmmword ptr [r14+0xd0]
| 5^ | 1.0 | 1.0 | 0.5 0.5 | 0.5 0.5 | | 1.0 | 1.0 | | rdrand r8d
Total Num Of Uops: 15
⇨ One μop that can only use ports {'2', '3'}
With blocking instructions for ports {'0', '1', '5'}:
Throughput Analysis Report
--------------------------
Block Throughput: 4.68 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 | 5.0 0.0 | 5.0 | 0.5 0.5 | 0.5 0.5 | 0.0 | 5.0 | 4.0 | 0.0 |
--------------------------------------------------------------------------------------------------
| Num Of | Ports pressure in cycles | |
| Uops | 0 - DV | 1 | 2 - D | 3 - D | 4 | 5 | 6 | 7 |
-----------------------------------------------------------------------------------------
| 1 | 1.0 | | | | | | | | blendpd xmm0, xmm1, 0x2
| 1 | | 1.0 | | | | | | | blendpd xmm2, xmm1, 0x2
| 1 | | | | | | 1.0 | | | blendpd xmm3, xmm1, 0x2
| 1 | 1.0 | | | | | | | | blendpd xmm4, xmm1, 0x2
| 1 | | 1.0 | | | | | | | blendpd xmm5, xmm1, 0x2
| 1 | | | | | | 1.0 | | | blendpd xmm6, xmm1, 0x2
| 1 | 1.0 | | | | | | | | blendpd xmm7, xmm1, 0x2
| 1 | | 1.0 | | | | | | | blendpd xmm8, xmm1, 0x2
| 1 | | | | | | 1.0 | | | blendpd xmm9, xmm1, 0x2
| 1 | 1.0 | | | | | | | | blendpd xmm10, xmm1, 0x2
| 1 | | 1.0 | | | | | | | blendpd xmm11, xmm1, 0x2
| 1 | | | | | | 1.0 | | | blendpd xmm12, xmm1, 0x2
| 1 | 1.0 | | | | | | | | blendpd xmm0, xmm1, 0x2
| 1 | | 1.0 | | | | | | | blendpd xmm2, xmm1, 0x2
| 1 | | | | | | 1.0 | | | blendpd xmm3, xmm1, 0x2
| 5^ | | | 0.5 0.5 | 0.5 0.5 | | | 4.0 | | rdrand r8d
Total Num Of Uops: 20
With blocking instructions for ports {'0', '1', '5', '6'}:
Throughput Analysis Report
--------------------------
Block Throughput: 5.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 | 6.0 0.0 | 6.0 | 0.5 0.5 | 0.5 0.5 | 0.0 | 6.0 | 6.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 ah, 0x0
| 1 | 1.0 | | | | | | | | mov bh, 0x0
| 1 | | 1.0 | | | | | | | mov ch, 0x0
| 1 | | | | | | 1.0 | | | mov dh, 0x0
| 1 | | | | | | | 1.0 | | mov ah, 0x0
| 1 | 1.0 | | | | | | | | mov bh, 0x0
| 1 | | 1.0 | | | | | | | mov ch, 0x0
| 1 | | | | | | 1.0 | | | mov dh, 0x0
| 1 | | | | | | | 1.0 | | mov ah, 0x0
| 1 | 1.0 | | | | | | | | mov bh, 0x0
| 1 | | 1.0 | | | | | | | mov ch, 0x0
| 1 | | | | | | 1.0 | | | mov dh, 0x0
| 1 | | | | | | | 1.0 | | mov ah, 0x0
| 1 | 1.0 | | | | | | | | mov bh, 0x0
| 1 | | 1.0 | | | | | | | mov ch, 0x0
| 1 | | | | | | 1.0 | | | mov dh, 0x0
| 1 | | | | | | | 1.0 | | mov ah, 0x0
| 5^ | 1.0 | 1.0 | 0.5 0.5 | 0.5 0.5 | | 1.0 | 1.0 | | rdrand r8d
Total Num Of Uops: 25
⇨ 3 μops that can only use ports {'0', '1', '5', '6'}