Function: hypre_RandI | Module: libHYPRE_utilities.so | Source: random.c:76-89 [...] | Coverage: 0.02% |
---|
Function: hypre_RandI | Module: libHYPRE_utilities.so | Source: random.c:76-89 [...] | Coverage: 0.02% |
---|
/home/eoseret/qaas_runs_CPU_9468/171-716-5699/intel/AMG/build/AMG/AMG/utilities/random.c: 76 - 89 |
-------------------------------------------------------------------------------- |
76: high = Seed / q; |
77: low = Seed % q; |
78: test = a * low - r * high; |
[...] |
85: Seed = test + m; |
86: } |
87: |
88: return Seed; |
89: } |
0x7f10 MOV 0xb511(%RIP),%RCX |
0x7f17 MOV $0x41a705af1fe3fb79,%RAX |
0x7f21 IMUL %RCX |
0x7f24 MOV %RCX,%RSI |
0x7f27 SAR $0x3f,%RSI |
0x7f2b SAR $0xf,%RDX |
0x7f2f SUB %RSI,%RDX |
0x7f32 IMUL $0x1f31d,%RDX,%RDI |
0x7f39 IMUL $-0xb14,%RDX,%R9 |
0x7f40 SUB %RDI,%RCX |
0x7f43 IMUL $0x41a7,%RCX,%R8 |
0x7f4a ADD %R9,%R8 |
0x7f4d LEA 0x7fffffff(%R8),%RAX |
0x7f54 TEST %R8,%R8 |
0x7f57 CMOVG %R8,%RAX |
0x7f5b MOV %RAX,0xb4c6(%RIP) |
0x7f62 RET |
0x7f63 NOPW %CS:(%RAX,%RAX,1) |
0x7f6e XCHG %AX,%AX |
Path / |
Source file and lines | random.c:76-89 |
Module | libHYPRE_utilities.so |
nb instructions | 17 |
nb uops | 18 |
loop length | 83 |
used x86 registers | 7 |
used mmx registers | 0 |
used xmm registers | 0 |
used ymm registers | 0 |
used zmm registers | 0 |
nb stack references | 0 |
micro-operation queue | 3.00 cycles |
front end | 3.00 cycles |
P0 | P1 | P2 | P3 | P4 | P5 | P6 | P7 | P8 | P9 | P10 | P11 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|
uops | 2.40 | 4.00 | 0.67 | 0.67 | 0.50 | 2.60 | 2.40 | 0.50 | 0.50 | 0.50 | 2.60 | 0.67 |
cycles | 2.40 | 5.00 | 0.67 | 0.67 | 0.50 | 2.60 | 2.40 | 0.50 | 0.50 | 0.50 | 2.60 | 0.67 |
Cycles executing div or sqrt instructions | NA |
FE+BE cycles | 4.28 |
Stall cycles | 0.79-0.79 |
PRF_INT full (events) | 1.41-1.48 |
Front-end | 3.00 |
Dispatch | 5.00 |
Overall L1 | 5.00 |
all | 0% |
load | 0% |
store | 0% |
mul | 0% |
add-sub | 0% |
fma | NA (no fma vectorizable/vectorized instructions) |
div/sqrt | NA (no div/sqrt vectorizable/vectorized instructions) |
other | 0% |
all | 12% |
load | 12% |
store | 12% |
mul | 12% |
add-sub | 12% |
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 0xb511(%RIP),%RCX | 1 | 0 | 0 | 0.33 | 0.33 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.33 | 1 | 0.33 |
MOV $0x41a705af1fe3fb79,%RAX | 1 | 0.20 | 0.20 | 0 | 0 | 0 | 0.20 | 0.20 | 0 | 0 | 0 | 0.20 | 0 | 1 | 0.28 |
IMUL %RCX | 2 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 | 1 |
MOV %RCX,%RSI | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 |
SAR $0x3f,%RSI | 1 | 0.50 | 0 | 0 | 0 | 0 | 0 | 0.50 | 0 | 0 | 0 | 0 | 0 | 0-2 | 0.50 |
SAR $0xf,%RDX | 1 | 0.50 | 0 | 0 | 0 | 0 | 0 | 0.50 | 0 | 0 | 0 | 0 | 0 | 0-2 | 0.50 |
SUB %RSI,%RDX | 1 | 0.20 | 0.20 | 0 | 0 | 0 | 0.20 | 0.20 | 0 | 0 | 0 | 0.20 | 0 | 1 | 0.20 |
IMUL $0x1f31d,%RDX,%RDI | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 | 1 |
IMUL $-0xb14,%RDX,%R9 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 | 1 |
SUB %RDI,%RCX | 1 | 0.20 | 0.20 | 0 | 0 | 0 | 0.20 | 0.20 | 0 | 0 | 0 | 0.20 | 0 | 1 | 0.20 |
IMUL $0x41a7,%RCX,%R8 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 | 1 |
ADD %R9,%R8 | 1 | 0.20 | 0.20 | 0 | 0 | 0 | 0.20 | 0.20 | 0 | 0 | 0 | 0.20 | 0 | 1 | 0.20 |
LEA 0x7fffffff(%R8),%RAX | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17 |
TEST %R8,%R8 | 1 | 0.20 | 0.20 | 0 | 0 | 0 | 0.20 | 0.20 | 0 | 0 | 0 | 0.20 | 0 | 2 | 0.20 |
CMOVG %R8,%RAX | 1 | 0.50 | 0 | 0 | 0 | 0 | 0 | 0.50 | 0 | 0 | 0 | 0 | 0 | 1 | 0.50 |
MOV %RAX,0xb4c6(%RIP) | 1 | 0 | 0 | 0 | 0 | 0.50 | 0 | 0 | 0.50 | 0.50 | 0.50 | 0 | 0 | 1 | 0.50 |
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 | random.c:76-89 |
Module | libHYPRE_utilities.so |
nb instructions | 17 |
nb uops | 18 |
loop length | 83 |
used x86 registers | 7 |
used mmx registers | 0 |
used xmm registers | 0 |
used ymm registers | 0 |
used zmm registers | 0 |
nb stack references | 0 |
micro-operation queue | 3.00 cycles |
front end | 3.00 cycles |
P0 | P1 | P2 | P3 | P4 | P5 | P6 | P7 | P8 | P9 | P10 | P11 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|
uops | 2.40 | 4.00 | 0.67 | 0.67 | 0.50 | 2.60 | 2.40 | 0.50 | 0.50 | 0.50 | 2.60 | 0.67 |
cycles | 2.40 | 5.00 | 0.67 | 0.67 | 0.50 | 2.60 | 2.40 | 0.50 | 0.50 | 0.50 | 2.60 | 0.67 |
Cycles executing div or sqrt instructions | NA |
FE+BE cycles | 4.28 |
Stall cycles | 0.79-0.79 |
PRF_INT full (events) | 1.41-1.48 |
Front-end | 3.00 |
Dispatch | 5.00 |
Overall L1 | 5.00 |
all | 0% |
load | 0% |
store | 0% |
mul | 0% |
add-sub | 0% |
fma | NA (no fma vectorizable/vectorized instructions) |
div/sqrt | NA (no div/sqrt vectorizable/vectorized instructions) |
other | 0% |
all | 12% |
load | 12% |
store | 12% |
mul | 12% |
add-sub | 12% |
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 0xb511(%RIP),%RCX | 1 | 0 | 0 | 0.33 | 0.33 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.33 | 1 | 0.33 |
MOV $0x41a705af1fe3fb79,%RAX | 1 | 0.20 | 0.20 | 0 | 0 | 0 | 0.20 | 0.20 | 0 | 0 | 0 | 0.20 | 0 | 1 | 0.28 |
IMUL %RCX | 2 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 | 1 |
MOV %RCX,%RSI | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |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