BSF (R64, R64) - Throughput and Uops (IACA 2.1)
With different registers for different operands
With 1 independent instruction
Throughput Analysis Report
--------------------------
Block Throughput: 3.00 Cycles Throughput Bottleneck: InterIteration
Port Binding In Cycles Per Iteration:
-------------------------------------------------------------------------
| Port | 0 - DV | 1 | 2 - D | 3 - D | 4 | 5 |
-------------------------------------------------------------------------
| Cycles | 0.0 0.0 | 1.0 | 0.0 0.0 | 0.0 0.0 | 0.0 | 0.0 |
-------------------------------------------------------------------------
| Num Of | Ports pressure in cycles | |
| Uops | 0 - DV | 1 | 2 - D | 3 - D | 4 | 5 | |
---------------------------------------------------------------------
| 1 | | 1.0 | | | | | CP | bsf r8, r9
Total Num Of Uops: 1
With 12 independent instructions
Throughput Analysis Report
--------------------------
Block Throughput: 18.00 Cycles Throughput Bottleneck: InterIteration
Port Binding In Cycles Per Iteration:
-------------------------------------------------------------------------
| Port | 0 - DV | 1 | 2 - D | 3 - D | 4 | 5 |
-------------------------------------------------------------------------
| Cycles | 0.0 0.0 | 12.0 | 0.0 0.0 | 0.0 0.0 | 0.0 | 0.0 |
-------------------------------------------------------------------------
| Num Of | Ports pressure in cycles | |
| Uops | 0 - DV | 1 | 2 - D | 3 - D | 4 | 5 | |
---------------------------------------------------------------------
| 1 | | 1.0 | | | | | CP | bsf r8, r9
| 1 | | 1.0 | | | | | CP | bsf r10, r9
| 1 | | 1.0 | | | | | CP | bsf r11, r9
| 1 | | 1.0 | | | | | | bsf r12, r9
| 1 | | 1.0 | | | | | | bsf r13, r9
| 1 | | 1.0 | | | | | | bsf r14, r9
| 1 | | 1.0 | | | | | | bsf rbx, r9
| 1 | | 1.0 | | | | | | bsf rcx, r9
| 1 | | 1.0 | | | | | | bsf rdx, r9
| 1 | | 1.0 | | | | | | bsf rdi, r9
| 1 | | 1.0 | | | | | | bsf rsi, r9
| 1 | | 1.0 | | | | | CP | bsf rbp, r9
Total Num Of Uops: 12
With the same register for for different operands
With 1 independent instruction
Throughput Analysis Report
--------------------------
Block Throughput: 3.00 Cycles Throughput Bottleneck: InterIteration
Port Binding In Cycles Per Iteration:
-------------------------------------------------------------------------
| Port | 0 - DV | 1 | 2 - D | 3 - D | 4 | 5 |
-------------------------------------------------------------------------
| Cycles | 0.0 0.0 | 1.0 | 0.0 0.0 | 0.0 0.0 | 0.0 | 0.0 |
-------------------------------------------------------------------------
| Num Of | Ports pressure in cycles | |
| Uops | 0 - DV | 1 | 2 - D | 3 - D | 4 | 5 | |
---------------------------------------------------------------------
| 1 | | 1.0 | | | | | CP | bsf r8, r8
Total Num Of Uops: 1
With 13 independent instructions
Throughput Analysis Report
--------------------------
Block Throughput: 13.00 Cycles Throughput Bottleneck: Port1
Port Binding In Cycles Per Iteration:
-------------------------------------------------------------------------
| Port | 0 - DV | 1 | 2 - D | 3 - D | 4 | 5 |
-------------------------------------------------------------------------
| Cycles | 0.0 0.0 | 13.0 | 0.0 0.0 | 0.0 0.0 | 0.0 | 0.0 |
-------------------------------------------------------------------------
| Num Of | Ports pressure in cycles | |
| Uops | 0 - DV | 1 | 2 - D | 3 - D | 4 | 5 | |
---------------------------------------------------------------------
| 1 | | 1.0 | | | | | CP | bsf r8, r8
| 1 | | 1.0 | | | | | CP | bsf r9, r9
| 1 | | 1.0 | | | | | CP | bsf r10, r10
| 1 | | 1.0 | | | | | CP | bsf r11, r11
| 1 | | 1.0 | | | | | CP | bsf r12, r12
| 1 | | 1.0 | | | | | CP | bsf r13, r13
| 1 | | 1.0 | | | | | CP | bsf r14, r14
| 1 | | 1.0 | | | | | CP | bsf rbx, rbx
| 1 | | 1.0 | | | | | CP | bsf rcx, rcx
| 1 | | 1.0 | | | | | CP | bsf rdx, rdx
| 1 | | 1.0 | | | | | CP | bsf rdi, rdi
| 1 | | 1.0 | | | | | CP | bsf rsi, rsi
| 1 | | 1.0 | | | | | CP | bsf rbp, rbp
Total Num Of Uops: 13
With the -no_interiteration flag
Throughput Analysis Report
--------------------------
Block Throughput: 1.00 Cycles Throughput Bottleneck: Port1
Port Binding In Cycles Per Iteration:
-------------------------------------------------------------------------
| Port | 0 - DV | 1 | 2 - D | 3 - D | 4 | 5 |
-------------------------------------------------------------------------
| Cycles | 0.0 0.0 | 1.0 | 0.0 0.0 | 0.0 0.0 | 0.0 | 0.0 |
-------------------------------------------------------------------------
| Num Of | Ports pressure in cycles | |
| Uops | 0 - DV | 1 | 2 - D | 3 - D | 4 | 5 | |
---------------------------------------------------------------------
| 1 | | 1.0 | | | | | CP | bsf r8, r9
Total Num Of Uops: 1