| Function: hypre_LowerBound | Module: exec | Source: binsearch.c:95-107 [...] | Coverage: 0.01% |
|---|
| Function: hypre_LowerBound | Module: exec | Source: binsearch.c:95-107 [...] | Coverage: 0.01% |
|---|
/scratch_na/users/xoserete/qaas_runs/171-172-8217/intel/AMG/build/AMG/AMG/utilities/binsearch.c: 95 - 107 |
-------------------------------------------------------------------------------- |
95: { |
96: HYPRE_Int *it; |
97: size_t count = last - first, step; |
98: |
99: while (count > 0) { |
100: it = first; step = count/2; it += step; |
101: if (*it < value) { |
[...] |
107: return first; |
0x4d4620 MOV %RDI,%RAX |
0x4d4623 SUB %RDI,%RSI |
0x4d4626 JE 4d465f |
0x4d4628 PUSH %RBP |
0x4d4629 MOV %RSP,%RBP |
0x4d462c SAR $0x3,%RSI |
0x4d4630 MOV %RSI,%RCX |
0x4d4633 JMP 4d4648 |
0x4d4635 NOPW %CS:(%RAX,%RAX,1) |
(4157) 0x4d4640 MOV %RCX,%RSI |
(4157) 0x4d4643 TEST %RCX,%RCX |
(4157) 0x4d4646 JE 4d465e |
(4157) 0x4d4648 SHR $0x1,%RCX |
(4157) 0x4d464b CMP %RDX,(%RAX,%RCX,8) |
(4157) 0x4d464f JGE 4d4640 |
(4157) 0x4d4651 LEA 0x8(%RAX,%RCX,8),%RAX |
(4157) 0x4d4656 NOT %RCX |
(4157) 0x4d4659 ADD %RSI,%RCX |
(4157) 0x4d465c JMP 4d4640 |
0x4d465e POP %RBP |
0x4d465f RET |
| Path / |
| Source file and lines | binsearch.c:95-107 |
| Module | exec |
| nb instructions | 11 |
| nb uops | 11 |
| loop length | 34 |
| used x86 registers | 6 |
| used mmx registers | 0 |
| used xmm registers | 0 |
| used ymm registers | 0 |
| used zmm registers | 0 |
| nb stack references | 0 |
| micro-operation queue | 1.83 cycles |
| front end | 1.83 cycles |
| P0 | P1 | P2 | P3 | P4 | P5 | P6 | P7 | P8 | P9 | P10 | P11 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| uops | 1.50 | 0.40 | 0.67 | 0.67 | 0.50 | 0.40 | 1.50 | 0.50 | 0.50 | 0.50 | 0.20 | 0.67 |
| cycles | 1.50 | 0.40 | 0.67 | 0.67 | 0.50 | 0.40 | 1.50 | 0.50 | 0.50 | 0.50 | 0.20 | 0.67 |
| Cycles executing div or sqrt instructions | NA |
| FE+BE cycles | 2.35-3.34 |
| Stall cycles | 0.00-0.66 |
| Front-end | 1.83 |
| Dispatch | 1.50 |
| Overall L1 | 1.83 |
| all | 0% |
| load | NA (no load vectorizable/vectorized instructions) |
| store | NA (no store vectorizable/vectorized instructions) |
| mul | NA (no mul vectorizable/vectorized instructions) |
| add-sub | NA (no add-sub vectorizable/vectorized instructions) |
| fma | NA (no fma vectorizable/vectorized instructions) |
| div/sqrt | NA (no div/sqrt vectorizable/vectorized instructions) |
| other | 0% |
| all | 12% |
| load | NA (no load vectorizable/vectorized instructions) |
| store | NA (no store vectorizable/vectorized instructions) |
| mul | NA (no mul vectorizable/vectorized instructions) |
| add-sub | NA (no add-sub vectorizable/vectorized instructions) |
| fma | NA (no fma vectorizable/vectorized instructions) |
| div/sqrt | NA (no div/sqrt vectorizable/vectorized instructions) |
| other | 12% |
| Instruction | Nb FU | P0 | P1 | P2 | P3 | P4 | P5 | P6 | P7 | P8 | P9 | P10 | P11 | Latency | Recip. throughput |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| MOV %RDI,%RAX | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 |
| SUB %RDI,%RSI | 1 | 0.20 | 0.20 | 0 | 0 | 0 | 0.20 | 0.20 | 0 | 0 | 0 | 0.20 | 0 | 1 | 0.20 |
| JE 4d465f <hypre_LowerBound+0x3f> | 1 | 0.50 | 0 | 0 | 0 | 0 | 0 | 0.50 | 0 | 0 | 0 | 0 | 0 | 0 | 0.50 |
| PUSH %RBP | 1 | 0 | 0 | 0 | 0 | 0.50 | 0 | 0 | 0.50 | 0.50 | 0.50 | 0 | 0 | 5-12 | 0.50 |
| MOV %RSP,%RBP | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 |
| SAR $0x3,%RSI | 1 | 0.50 | 0 | 0 | 0 | 0 | 0 | 0.50 | 0 | 0 | 0 | 0 | 0 | 0-2 | 0.50 |
| MOV %RSI,%RCX | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 |
| JMP 4d4648 <hypre_LowerBound+0x28> | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5.84 |
| NOPW %CS:(%RAX,%RAX,1) | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17 |
| POP %RBP | 1 | 0 | 0 | 0.33 | 0.33 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.33 | 1-6 | 0.33 |
| RET | 1 | 0.50 | 0 | 0.33 | 0.33 | 0 | 0 | 0.50 | 0 | 0 | 0 | 0 | 0.33 | 0 | 2.13 |
| Source file and lines | binsearch.c:95-107 |
| Module | exec |
| nb instructions | 11 |
| nb uops | 11 |
| loop length | 34 |
| used x86 registers | 6 |
| used mmx registers | 0 |
| used xmm registers | 0 |
| used ymm registers | 0 |
| used zmm registers | 0 |
| nb stack references | 0 |
| micro-operation queue | 1.83 cycles |
| front end | 1.83 cycles |
| P0 | P1 | P2 | P3 | P4 | P5 | P6 | P7 | P8 | P9 | P10 | P11 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| uops | 1.50 | 0.40 | 0.67 | 0.67 | 0.50 | 0.40 | 1.50 | 0.50 | 0.50 | 0.50 | 0.20 | 0.67 |
| cycles | 1.50 | 0.40 | 0.67 | 0.67 | 0.50 | 0.40 | 1.50 | 0.50 | 0.50 | 0.50 | 0.20 | 0.67 |
| Cycles executing div or sqrt instructions | NA |
| FE+BE cycles | 2.35-3.34 |
| Stall cycles | 0.00-0.66 |
| Front-end | 1.83 |
| Dispatch | 1.50 |
| Overall L1 | 1.83 |
| all | 0% |
| load | NA (no load vectorizable/vectorized instructions) |
| store | NA (no store vectorizable/vectorized instructions) |
| mul | NA (no mul vectorizable/vectorized instructions) |
| add-sub | NA (no add-sub vectorizable/vectorized instructions) |
| fma | NA (no fma vectorizable/vectorized instructions) |
| div/sqrt | NA (no div/sqrt vectorizable/vectorized instructions) |
| other | 0% |
| all | 12% |
| load | NA (no load vectorizable/vectorized instructions) |
| store | NA (no store vectorizable/vectorized instructions) |
| mul | NA (no mul vectorizable/vectorized instructions) |
| add-sub | NA (no add-sub vectorizable/vectorized instructions) |
| fma | NA (no fma vectorizable/vectorized instructions) |
| div/sqrt | NA (no div/sqrt vectorizable/vectorized instructions) |
| other | 12% |
| Instruction | Nb FU | P0 | P1 | P2 | P3 | P4 | P5 | P6 | P7 | P8 | P9 | P10 | P11 | Latency | Recip. throughput |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| MOV %RDI,%RAX | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 |
| SUB %RDI,%RSI | 1 | 0.20 | 0.20 | 0 | 0 | 0 | 0.20 | 0.20 | 0 | 0 | 0 | 0.20 | 0 | 1 | 0.20 |
| JE 4d465f <hypre_LowerBound+0x3f> | 1 | 0.50 | 0 | 0 | 0 | 0 | 0 | 0.50 | 0 | 0 | 0 | 0 | 0 | 0 | 0.50 |
| PUSH %RBP | 1 | 0 | 0 | 0 | 0 | 0.50 | 0 | 0 | 0.50 | 0.50 | 0.50 | 0 | 0 | 5-12 | 0.50 |
| MOV %RSP,%RBP | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 |
| SAR $0x3,%RSI | 1 | 0.50 | 0 | 0 | 0 | 0 | 0 | 0.50 | 0 | 0 | 0 | 0 | 0 | 0-2 | 0.50 |
| MOV %RSI,%RCX | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 |
| JMP 4d4648 <hypre_LowerBound+0x28> | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5.84 |
| NOPW %CS:(%RAX,%RAX,1) | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17 |
| POP %RBP | 1 | 0 | 0 | 0.33 | 0.33 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.33 | 1-6 | 0.33 |
| RET | 1 | 0.50 | 0 | 0.33 | 0.33 | 0 | 0 | 0.50 | 0 | 0 | 0 | 0 | 0.33 | 0 | 2.13 |
| Name | Coverage (%) | Time (s) |
|---|---|---|
| ▼hypre_LowerBound– | 0.01 | 0 |
| ○Loop 4157 - binsearch.c:99-101 - exec | 0.01 | 0.01 |
