Loop Id: 41 | Module: exec | Source: miniqmc.cpp:478-488 [...] | Coverage: 0.02% |
---|
Loop Id: 41 | Module: exec | Source: miniqmc.cpp:478-488 [...] | Coverage: 0.02% |
---|
0x40cbc0 MOV %RAX,-0x48(%RBP) [5] |
0x40cbc4 MOVQ $0,-0x300(%RBP) [5] |
0x40cbcf MOV -0x40(%RBP),%R8 [5] |
0x40cbd3 VMOVDDUP (%RBX,%R8,8),%XMM0 [9] |
0x40cbd9 VMULPD -0x10(%R13),%XMM0,%XMM1 [7] |
0x40cbdf VMOVUPD %XMM1,-0x310(%RBP) [5] |
0x40cbe7 VMULSD (%R13),%XMM0,%XMM0 [7] |
0x40cbed VMOVSD %XMM0,-0x300(%RBP) [5] |
0x40cbf5 MOV (%RCX),%RAX [3] |
0x40cbf8 MOV -0x38(%RBP),%RCX [5] |
0x40cbfc MOVSXD -0x10(%RCX),%RCX [2] |
0x40cc00 VMOVQ %RCX,%XMM0 |
0x40cc05 VPSLLDQ $0x8,%XMM0,%XMM0 |
0x40cc0a VPADDQ -0x110(%RBP),%XMM0,%XMM0 [5] |
0x40cc12 VPBROADCASTQ %RAX,%XMM2 |
0x40cc18 VPSLLQ $0x3,%XMM0,%XMM0 |
0x40cc1d VPADDQ %XMM0,%XMM2,%XMM0 |
0x40cc21 VMOVQ %XMM0,%RBX |
0x40cc26 VMOVSD (%RBX),%XMM2 [8] |
0x40cc2a VPEXTRQ $0x1,%XMM0,%RBX |
0x40cc30 VMOVHPD (%RBX),%XMM2,%XMM0 [1] |
0x40cc34 VMOVUPD %XMM0,-0x130(%RBP) [5] |
0x40cc3c LEA (%R8,%RCX,2),%RCX |
0x40cc40 VMOVSD (%RAX,%RCX,8),%XMM0 [4] |
0x40cc45 VMOVSD %XMM0,-0x120(%RBP) [5] |
0x40cc4d VSUBSD %XMM2,%XMM1,%XMM0 |
0x40cc51 VMOVSD %XMM0,-0x328(%RBP) [5] |
0x40cc59 VMOVUPD -0x308(%RBP),%XMM0 [5] |
0x40cc61 VSUBPD -0x128(%RBP),%XMM0,%XMM0 [5] |
0x40cc69 VMOVUPD %XMM0,-0x320(%RBP) [5] |
0x40cc71 MOV %R12,%RDI |
0x40cc74 MOV %R14D,%ESI |
0x40cc77 CALL 458180 <_ZN11qmcplusplus11ParticleSet8makeMoveEiRKNS_10TinyVectorIdLj3EEE> |
0x40cc7c MOV -0x68(%RBP),%RBX [5] |
0x40cc80 MOV 0x20(%RBX),%RDI [6] |
0x40cc84 CALL 464ec0 <_ZN11qmcplusplus9TimerTypeINS_8CPUClockEE5startEv> |
0x40cc89 MOV -0x58(%RBP),%RDI [5] |
0x40cc8d MOV %R12,%RSI |
0x40cc90 MOV %R14D,%EDX |
0x40cc93 CALL 411100 <_ZN11qmcplusplus12WaveFunction5ratioERNS_11ParticleSetEi> |
0x40cc98 MOV 0x20(%RBX),%RDI [6] |
0x40cc9c CALL 4650a0 <_ZN11qmcplusplus9TimerTypeINS_8CPUClockEE4stopEv> |
0x40cca1 MOV %R12,%RDI |
0x40cca4 MOV %R14D,%ESI |
0x40cca7 CALL 458c80 <_ZN11qmcplusplus11ParticleSet10rejectMoveEi> |
0x40ccac MOV -0x48(%RBP),%RAX [5] |
0x40ccb0 LEA -0x328(%RBP),%RDX |
0x40ccb7 MOV -0x38(%RBP),%RCX [5] |
0x40ccbb MOV -0xb8(%RBP),%RBX [5] |
0x40ccc2 ADD $0x18,%R13 |
0x40ccc6 DEC %RAX |
0x40ccc9 JNE 40cbc0 |
/home/kcamus/qaas_runs/169-451-1869/intel/miniqmc/build/miniqmc/src/Numerics/OhmmsPETE/TinyVectorOps.h: 85 - 111 |
-------------------------------------------------------------------------------- |
85: ret[d] = op(lhs[d], rhs[d]); |
[...] |
111: ret[d] = op(lhs, rhs[d]); |
/home/kcamus/qaas_runs/169-451-1869/intel/miniqmc/build/miniqmc/src/Numerics/PETE/OperatorTags.h: 53 - 183 |
-------------------------------------------------------------------------------- |
53: return (a - b); |
[...] |
63: return (a * b); |
[...] |
183: return (const_cast<T1&>(a) = b); |
/home/kcamus/qaas_runs/169-451-1869/intel/miniqmc/build/miniqmc/src/Drivers/miniqmc.cpp: 478 - 488 |
-------------------------------------------------------------------------------- |
478: for (int k = 0; k < nknots; k++) |
479: { |
480: PosType deltar(dist[iat] * rOnSphere[k] - displ[iat]); |
481: |
482: els.makeMove(jel, deltar); |
483: |
484: Timers[Timer_Value].get().start(); |
485: wavefunction.ratio(els, jel); |
486: Timers[Timer_Value].get().stop(); |
487: |
488: els.rejectMove(jel); |
/usr/lib64/gcc/x86_64-pc-linux-gnu/13.1.1/../../../../include/c++/13.1.1/bits/refwrap.h: 347 - 347 |
-------------------------------------------------------------------------------- |
347: { return *_M_data; } |
/home/kcamus/qaas_runs/169-451-1869/intel/miniqmc/build/miniqmc/src/Numerics/OhmmsPETE/TinyVector.h: 146 - 146 |
-------------------------------------------------------------------------------- |
146: X[i] = base[i * offset]; |
/home/kcamus/qaas_runs/169-451-1869/intel/miniqmc/build/miniqmc/src/Numerics/OhmmsPETE/VectorSoAContainer.h: 203 - 203 |
-------------------------------------------------------------------------------- |
203: const Type_t operator[](size_t i) const { return Type_t(myData + i, nGhosts); } |
Coverage (%) | Name | Source Location | Module |
---|---|---|---|
►100.00+ | __kmp_invoke_microtask | libiomp5.so | |
○ | __kmp_fork_call | libiomp5.so | |
○ | __kmpc_fork_call | libiomp5.so | |
○ | main | miniqmc.cpp:404 | exec |
○ | __libc_init_first | libc.so.6 |
Path / |
Metric | Value |
---|---|
CQA speedup if no scalar integer | 2.04 |
CQA speedup if FP arith vectorized | 1.65 |
CQA speedup if fully vectorized | 8.58 |
CQA speedup if no inter-iteration dependency | NA |
CQA speedup if next bottleneck killed | 1.10 |
Bottlenecks | micro-operation queue, |
Function | main.extracted.104 |
Source | TinyVectorOps.h:85-111,OperatorTags.h:53-183,miniqmc.cpp:478-488,refwrap.h:347-347,TinyVector.h:146-146,VectorSoAContainer.h:203-203 |
Source loop unroll info | not unrolled or unrolled with no peel/tail loop |
Source loop unroll confidence level | max |
Unroll/vectorization loop type | NA |
Unroll factor | NA |
CQA cycles | 14.25 |
CQA cycles if no scalar integer | 7.00 |
CQA cycles if FP arith vectorized | 8.63 |
CQA cycles if fully vectorized | 1.66 |
Front-end cycles | 14.25 |
DIV/SQRT cycles | 5.92 |
P0 cycles | 5.67 |
P1 cycles | 11.00 |
P2 cycles | 11.00 |
P3 cycles | 13.00 |
P4 cycles | 5.67 |
P5 cycles | 5.75 |
P6 cycles | 11.00 |
P7 cycles | 0.00 |
Inter-iter dependencies cycles | 1 |
FE+BE cycles (UFS) | 13.34 |
Stall cycles (UFS) | 0.00 |
Nb insns | 52.00 |
Nb uops | 57.00 |
Nb loads | 20.00 |
Nb stores | 8.00 |
Nb stack references | 15.00 |
FLOP/cycle | 0.42 |
Nb FLOP add-sub | 3.00 |
Nb FLOP mul | 3.00 |
Nb FLOP fma | 0.00 |
Nb FLOP div | 0.00 |
Nb FLOP rcp | 0.00 |
Nb FLOP sqrt | 0.00 |
Nb FLOP rsqrt | 0.00 |
Bytes/cycle | 19.37 |
Bytes prefetched | 0.00 |
Bytes loaded | 188.00 |
Bytes stored | 88.00 |
Stride 0 | 1.00 |
Stride 1 | 0.00 |
Stride n | 2.00 |
Stride unknown | 1.00 |
Stride indirect | 2.00 |
Vectorization ratio all | 29.41 |
Vectorization ratio load | 33.33 |
Vectorization ratio store | 37.50 |
Vectorization ratio mul | 50.00 |
Vectorization ratio add_sub | 75.00 |
Vectorization ratio fma | NA |
Vectorization ratio div_sqrt | NA |
Vectorization ratio other | 16.67 |
Vector-efficiency ratio all | 15.44 |
Vector-efficiency ratio load | 16.67 |
Vector-efficiency ratio store | 16.41 |
Vector-efficiency ratio mul | 18.75 |
Vector-efficiency ratio add_sub | 21.88 |
Vector-efficiency ratio fma | NA |
Vector-efficiency ratio div_sqrt | NA |
Vector-efficiency ratio other | 13.02 |
Metric | Value |
---|---|
CQA speedup if no scalar integer | 2.04 |
CQA speedup if FP arith vectorized | 1.65 |
CQA speedup if fully vectorized | 8.58 |
CQA speedup if no inter-iteration dependency | NA |
CQA speedup if next bottleneck killed | 1.10 |
Bottlenecks | micro-operation queue, |
Function | main.extracted.104 |
Source | TinyVectorOps.h:85-111,OperatorTags.h:53-183,miniqmc.cpp:478-488,refwrap.h:347-347,TinyVector.h:146-146,VectorSoAContainer.h:203-203 |
Source loop unroll info | not unrolled or unrolled with no peel/tail loop |
Source loop unroll confidence level | max |
Unroll/vectorization loop type | NA |
Unroll factor | NA |
CQA cycles | 14.25 |
CQA cycles if no scalar integer | 7.00 |
CQA cycles if FP arith vectorized | 8.63 |
CQA cycles if fully vectorized | 1.66 |
Front-end cycles | 14.25 |
DIV/SQRT cycles | 5.92 |
P0 cycles | 5.67 |
P1 cycles | 11.00 |
P2 cycles | 11.00 |
P3 cycles | 13.00 |
P4 cycles | 5.67 |
P5 cycles | 5.75 |
P6 cycles | 11.00 |
P7 cycles | 0.00 |
Inter-iter dependencies cycles | 1 |
FE+BE cycles (UFS) | 13.34 |
Stall cycles (UFS) | 0.00 |
Nb insns | 52.00 |
Nb uops | 57.00 |
Nb loads | 20.00 |
Nb stores | 8.00 |
Nb stack references | 15.00 |
FLOP/cycle | 0.42 |
Nb FLOP add-sub | 3.00 |
Nb FLOP mul | 3.00 |
Nb FLOP fma | 0.00 |
Nb FLOP div | 0.00 |
Nb FLOP rcp | 0.00 |
Nb FLOP sqrt | 0.00 |
Nb FLOP rsqrt | 0.00 |
Bytes/cycle | 19.37 |
Bytes prefetched | 0.00 |
Bytes loaded | 188.00 |
Bytes stored | 88.00 |
Stride 0 | 1.00 |
Stride 1 | 0.00 |
Stride n | 2.00 |
Stride unknown | 1.00 |
Stride indirect | 2.00 |
Vectorization ratio all | 29.41 |
Vectorization ratio load | 33.33 |
Vectorization ratio store | 37.50 |
Vectorization ratio mul | 50.00 |
Vectorization ratio add_sub | 75.00 |
Vectorization ratio fma | NA |
Vectorization ratio div_sqrt | NA |
Vectorization ratio other | 16.67 |
Vector-efficiency ratio all | 15.44 |
Vector-efficiency ratio load | 16.67 |
Vector-efficiency ratio store | 16.41 |
Vector-efficiency ratio mul | 18.75 |
Vector-efficiency ratio add_sub | 21.88 |
Vector-efficiency ratio fma | NA |
Vector-efficiency ratio div_sqrt | NA |
Vector-efficiency ratio other | 13.02 |
Path / |
Function | main.extracted.104 |
Source file and lines | miniqmc.cpp:478-488 |
Module | exec |
nb instructions | 52 |
nb uops | 57 |
loop length | 271 |
used x86 registers | 11 |
used mmx registers | 0 |
used xmm registers | 3 |
used ymm registers | 0 |
used zmm registers | 0 |
nb stack references | 15 |
ADD-SUB / MUL ratio | 1.00 |
micro-operation queue | 14.25 cycles |
front end | 14.25 cycles |
P0 | P1 | P2 | P3 | P4 | P5 | P6 | P7 | |
---|---|---|---|---|---|---|---|---|
uops | 5.92 | 5.67 | 11.00 | 11.00 | 13.00 | 5.67 | 5.75 | 11.00 |
cycles | 5.92 | 5.67 | 11.00 | 11.00 | 13.00 | 5.67 | 5.75 | 11.00 |
Cycles executing div or sqrt instructions | NA |
Longest recurrence chain latency (RecMII) | 1.00 |
FE+BE cycles | 13.34 |
Stall cycles | 0.00 |
Front-end | 14.25 |
Dispatch | 13.00 |
Data deps. | 1.00 |
Overall L1 | 14.25 |
all | 21% |
load | 25% |
store | 0% |
mul | NA (no mul vectorizable/vectorized instructions) |
add-sub | 100% |
fma | NA (no fma vectorizable/vectorized instructions) |
other | 16% |
all | 40% |
load | 37% |
store | 50% |
mul | 50% |
add-sub | 50% |
fma | NA (no fma vectorizable/vectorized instructions) |
div/sqrt | NA (no div/sqrt vectorizable/vectorized instructions) |
other | NA (no other vectorizable/vectorized instructions) |
all | 29% |
load | 33% |
store | 37% |
mul | 50% |
add-sub | 75% |
fma | NA (no fma vectorizable/vectorized instructions) |
div/sqrt | NA (no div/sqrt vectorizable/vectorized instructions) |
other | 16% |
all | 13% |
load | 15% |
store | 9% |
mul | NA (no mul vectorizable/vectorized instructions) |
add-sub | 25% |
fma | NA (no fma vectorizable/vectorized instructions) |
other | 13% |
all | 17% |
load | 17% |
store | 18% |
mul | 18% |
add-sub | 18% |
fma | NA (no fma vectorizable/vectorized instructions) |
div/sqrt | NA (no div/sqrt vectorizable/vectorized instructions) |
other | NA (no other vectorizable/vectorized instructions) |
all | 15% |
load | 16% |
store | 16% |
mul | 18% |
add-sub | 21% |
fma | NA (no fma vectorizable/vectorized instructions) |
div/sqrt | NA (no div/sqrt vectorizable/vectorized instructions) |
other | 13% |
Instruction | Nb FU | P0 | P1 | P2 | P3 | P4 | P5 | P6 | P7 | Latency | Recip. throughput |
---|---|---|---|---|---|---|---|---|---|---|---|
MOV %RAX,-0x48(%RBP) | 1 | 0 | 0 | 0.33 | 0.33 | 1 | 0 | 0 | 0.33 | 3 | 1 |
MOVQ $0,-0x300(%RBP) | 1 | 0 | 0 | 0.33 | 0.33 | 1 | 0 | 0 | 0.33 | 2 | 1 |
MOV -0x40(%RBP),%R8 | 1 | 0 | 0 | 0.50 | 0.50 | 0 | 0 | 0 | 0 | 4-5 | 0.50 |
VMOVDDUP (%RBX,%R8,8),%XMM0 | 1 | 0 | 0 | 0.50 | 0.50 | 0 | 0 | 0 | 0 | 4 | 0.50 |
VMULPD -0x10(%R13),%XMM0,%XMM1 | 1 | 0.50 | 0.50 | 0.50 | 0.50 | 0 | 0 | 0 | 0 | 4 | 0.50 |
VMOVUPD %XMM1,-0x310(%RBP) | 1 | 0 | 0 | 0.33 | 0.33 | 1 | 0 | 0 | 0.33 | 3 | 1 |
VMULSD (%R13),%XMM0,%XMM0 | 1 | 0.50 | 0.50 | 0.50 | 0.50 | 0 | 0 | 0 | 0 | 4 | 0.50 |
VMOVSD %XMM0,-0x300(%RBP) | 1 | 0 | 0 | 0.33 | 0.33 | 1 | 0 | 0 | 0.33 | 3 | 1 |
MOV (%RCX),%RAX | 1 | 0 | 0 | 0.50 | 0.50 | 0 | 0 | 0 | 0 | 4-5 | 0.50 |
MOV -0x38(%RBP),%RCX | 1 | 0 | 0 | 0.50 |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 0 | 0 | 0 | 0 | 4-5 | 0.50 |
VMOVSD %XMM0,-0x120(%RBP) | 1 | 0 | 0 | 0.33 | 0.33 | 1 | 0 | 0 | 0.33 | 3 | 1 |
VSUBSD %XMM2,%XMM1,%XMM0 | 1 | 0.50 | 0.50 | 0 | 0 | 0 | 0 | 0 | 0 | 4 | 0.50 |
VMOVSD %XMM0,-0x328(%RBP) | 1 | 0 | 0 | 0.33 | 0.33 | 1 | 0 | 0 | 0.33 | 3 | 1 |
VMOVUPD -0x308(%RBP),%XMM0 | 1 | 0 | 0 | 0.50 | 0.50 | 0 | 0 | 0 | 0 | 4-5 | 0.50 |
VSUBPD -0x128(%RBP),%XMM0,%XMM0 | 1 | 0.50 | 0.50 | 0.50 | 0.50 | 0 | 0 | 0 | 0 | 4 | 0.50 |
VMOVUPD %XMM0,-0x320(%RBP) | 1 | 0 | 0 | 0.33 | 0.33 | 1 | 0 | 0 | 0.33 | 3 | 1 |
MOV %R12,%RDI | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 |
MOV %R14D,%ESI | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 |
CALL 458180 <_ZN11qmcplusplus11ParticleSet8makeMoveEiRKNS_10TinyVectorIdLj3EEE> | 2 | 0 | 0 | 0.33 | 0.33 | 1 | 0 | 1 | 0.33 | 0 | 1 |
MOV -0x68(%RBP),%RBX | 1 | 0 | 0 | 0.50 | 0.50 | 0 | 0 | 0 | 0 | 4-5 | 0.50 |
MOV 0x20(%RBX),%RDI | 1 | 0 | 0 | 0.50 | 0.50 | 0 | 0 | 0 | 0 | 4-5 | 0.50 |
CALL 464ec0 <_ZN11qmcplusplus9TimerTypeINS_8CPUClockEE5startEv> | 2 | 0 | 0 | 0.33 | 0.33 | 1 | 0 | 1 | 0.33 | 0 | 1 |
MOV -0x58(%RBP),%RDI | 1 | 0 | 0 | 0.50 | 0.50 | 0 | 0 | 0 | 0 | 4-5 | 0.50 |
MOV %R12,%RSI | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 |
MOV %R14D,%EDX | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 |
CALL 411100 <_ZN11qmcplusplus12WaveFunction5ratioERNS_11ParticleSetEi> | 2 | 0 | 0 | 0.33 | 0.33 | 1 | 0 | 1 | 0.33 | 0 | 1 |
MOV 0x20(%RBX),%RDI | 1 | 0 | 0 | 0.50 | 0.50 | 0 | 0 | 0 | 0 | 4-5 | 0.50 |
CALL 4650a0 <_ZN11qmcplusplus9TimerTypeINS_8CPUClockEE4stopEv> | 2 | 0 | 0 | 0.33 | 0.33 | 1 | 0 | 1 | 0.33 | 0 | 1 |
MOV %R12,%RDI | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 |
MOV %R14D,%ESI | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 |
CALL 458c80 <_ZN11qmcplusplus11ParticleSet10rejectMoveEi> | 2 | 0 | 0 | 0.33 | 0.33 | 1 | 0 | 1 | 0.33 | 0 | 1 |
MOV -0x48(%RBP),%RAX | 1 | 0 | 0 | 0.50 | 0.50 | 0 | 0 | 0 | 0 | 4-5 | 0.50 |
LEA -0x328(%RBP),%RDX | 1 | 0 | 0.50 | 0 | 0 | 0 | 0.50 | 0 | 0 | 1 | 0.50 |
MOV -0x38(%RBP),%RCX | 1 | 0 | 0 | 0.50 | 0.50 | 0 | 0 | 0 | 0 | 4-5 | 0.50 |
MOV -0xb8(%RBP),%RBX | 1 | 0 | 0 | 0.50 | 0.50 | 0 | 0 | 0 | 0 | 4-5 | 0.50 |
ADD $0x18,%R13 | 1 | 0.25 | 0.25 | 0 | 0 | 0 | 0.25 | 0.25 | 0 | 1 | 0.25 |
DEC %RAX | 1 | 0.25 | 0.25 | 0 | 0 | 0 | 0.25 | 0.25 | 0 | 1 | 0.25 |
JNE 40cbc0 | 1 | 0.50 | 0 | 0 | 0 | 0 | 0 | 0.50 | 0 | 0 | 0.50-1 |
Function | main.extracted.104 |
Source file and lines | miniqmc.cpp:478-488 |
Module | exec |
nb instructions | 52 |
nb uops | 57 |
loop length | 271 |
used x86 registers | 11 |
used mmx registers | 0 |
used xmm registers | 3 |
used ymm registers | 0 |
used zmm registers | 0 |
nb stack references | 15 |
ADD-SUB / MUL ratio | 1.00 |
micro-operation queue | 14.25 cycles |
front end | 14.25 cycles |
P0 | P1 | P2 | P3 | P4 | P5 | P6 | P7 | |
---|---|---|---|---|---|---|---|---|
uops | 5.92 | 5.67 | 11.00 | 11.00 | 13.00 | 5.67 | 5.75 | 11.00 |
cycles | 5.92 | 5.67 | 11.00 | 11.00 | 13.00 | 5.67 | 5.75 | 11.00 |
Cycles executing div or sqrt instructions | NA |
Longest recurrence chain latency (RecMII) | 1.00 |
FE+BE cycles | 13.34 |
Stall cycles | 0.00 |
Front-end | 14.25 |
Dispatch | 13.00 |
Data deps. | 1.00 |
Overall L1 | 14.25 |
all | 21% |
load | 25% |
store | 0% |
mul | NA (no mul vectorizable/vectorized instructions) |
add-sub | 100% |
fma | NA (no fma vectorizable/vectorized instructions) |
other | 16% |
all | 40% |
load | 37% |
store | 50% |
mul | 50% |
add-sub | 50% |
fma | NA (no fma vectorizable/vectorized instructions) |
div/sqrt | NA (no div/sqrt vectorizable/vectorized instructions) |
other | NA (no other vectorizable/vectorized instructions) |
all | 29% |
load | 33% |
store | 37% |
mul | 50% |
add-sub | 75% |
fma | NA (no fma vectorizable/vectorized instructions) |
div/sqrt | NA (no div/sqrt vectorizable/vectorized instructions) |
other | 16% |
all | 13% |
load | 15% |
store | 9% |
mul | NA (no mul vectorizable/vectorized instructions) |
add-sub | 25% |
fma | NA (no fma vectorizable/vectorized instructions) |
other | 13% |
all | 17% |
load | 17% |
store | 18% |
mul | 18% |
add-sub | 18% |
fma | NA (no fma vectorizable/vectorized instructions) |
div/sqrt | NA (no div/sqrt vectorizable/vectorized instructions) |
other | NA (no other vectorizable/vectorized instructions) |
all | 15% |
load | 16% |
store | 16% |
mul | 18% |
add-sub | 21% |
fma | NA (no fma vectorizable/vectorized instructions) |
div/sqrt | NA (no div/sqrt vectorizable/vectorized instructions) |
other | 13% |
Instruction | Nb FU | P0 | P1 | P2 | P3 | P4 | P5 | P6 | P7 | Latency | Recip. throughput |
---|---|---|---|---|---|---|---|---|---|---|---|
MOV %RAX,-0x48(%RBP) | 1 | 0 | 0 | 0.33 | 0.33 | 1 | 0 | 0 | 0.33 | 3 | 1 |
MOVQ $0,-0x300(%RBP) | 1 | 0 | 0 | 0.33 | 0.33 | 1 | 0 | 0 | 0.33 | 2 | 1 |
MOV -0x40(%RBP),%R8 | 1 | 0 | 0 | 0.50 | 0.50 | 0 | 0 | 0 | 0 | 4-5 | 0.50 |
VMOVDDUP (%RBX,%R8,8),%XMM0 | 1 | 0 | 0 | 0.50 | 0.50 | 0 | 0 | 0 | 0 | 4 | 0.50 |
VMULPD -0x10(%R13),%XMM0,%XMM1 | 1 | 0.50 | 0.50 | 0.50 | 0.50 | 0 | 0 | 0 | 0 | 4 | 0.50 |
VMOVUPD %XMM1,-0x310(%RBP) | 1 | 0 | 0 | 0.33 | 0.33 | 1 | 0 | 0 | 0.33 | 3 | 1 |
VMULSD (%R13),%XMM0,%XMM0 | 1 | 0.50 | 0.50 | 0.50 | 0.50 | 0 | 0 | 0 | 0 | 4 | 0.50 |
VMOVSD %XMM0,-0x300(%RBP) | 1 | 0 | 0 | 0.33 | 0.33 | 1 | 0 | 0 | 0.33 | 3 | 1 |
MOV (%RCX),%RAX | 1 | 0 | 0 | 0.50 | 0.50 | 0 | 0 | 0 | 0 | 4-5 | 0.50 |
MOV -0x38(%RBP),%RCX | 1 | 0 | 0 | 0.50 | 0.50 | 0 | 0 | 0 | 0 | 4-5 | 0.50 |
MOVSXD -0x10(%RCX),%RCX | 1 | 0 | 0 | 0.50 | 0.50 | 0 | 0 | 0 | 0 | 4-5 | 0.50 |
V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XMM2,%XMM1,%XMM0 | 1 | 0.50 | 0.50 | 0 | 0 | 0 | 0 | 0 | 0 | 4 | 0.50 |
VMOVSD %XMM0,-0x328(%RBP) | 1 | 0 | 0 | 0.33 | 0.33 | 1 | 0 | 0 | 0.33 | 3 | 1 |
VMOVUPD -0x308(%RBP),%XMM0 | 1 | 0 | 0 | 0.50 | 0.50 | 0 | 0 | 0 | 0 | 4-5 | 0.50 |
VSUBPD -0x128(%RBP),%XMM0,%XMM0 | 1 | 0.50 | 0.50 | 0.50 | 0.50 | 0 | 0 | 0 | 0 | 4 | 0.50 |
VMOVUPD %XMM0,-0x320(%RBP) | 1 | 0 | 0 | 0.33 | 0.33 | 1 | 0 | 0 | 0.33 | 3 | 1 |
MOV %R12,%RDI | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 |
MOV %R14D,%ESI | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 |
CALL 458180 <_ZN11qmcplusplus11ParticleSet8makeMoveEiRKNS_10TinyVectorIdLj3EEE> | 2 | 0 | 0 | 0.33 | 0.33 | 1 | 0 | 1 | 0.33 | 0 | 1 |
MOV -0x68(%RBP),%RBX | 1 | 0 | 0 | 0.50 | 0.50 | 0 | 0 | 0 | 0 | 4-5 | 0.50 |
MOV 0x20(%RBX),%RDI | 1 | 0 | 0 | 0.50 | 0.50 | 0 | 0 | 0 | 0 | 4-5 | 0.50 |
CALL 464ec0 <_ZN11qmcplusplus9TimerTypeINS_8CPUClockEE5startEv> | 2 | 0 | 0 | 0.33 | 0.33 | 1 | 0 | 1 | 0.33 | 0 | 1 |
MOV -0x58(%RBP),%RDI | 1 | 0 | 0 | 0.50 | 0.50 | 0 | 0 | 0 | 0 | 4-5 | 0.50 |
MOV %R12,%RSI | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 |
MOV %R14D,%EDX | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 |
CALL 411100 <_ZN11qmcplusplus12WaveFunction5ratioERNS_11ParticleSetEi> | 2 | 0 | 0 | 0.33 | 0.33 | 1 | 0 | 1 | 0.33 | 0 | 1 |
MOV 0x20(%RBX),%RDI | 1 | 0 | 0 | 0.50 | 0.50 | 0 | 0 | 0 | 0 | 4-5 | 0.50 |
CALL 4650a0 <_ZN11qmcplusplus9TimerTypeINS_8CPUClockEE4stopEv> | 2 | 0 | 0 | 0.33 | 0.33 | 1 | 0 | 1 | 0.33 | 0 | 1 |
MOV %R12,%RDI | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 |
MOV %R14D,%ESI | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 |
CALL 458c80 <_ZN11qmcplusplus11ParticleSet10rejectMoveEi> | 2 | 0 | 0 | 0.33 | 0.33 | 1 | 0 | 1 | 0.33 | 0 | 1 |
MOV -0x48(%RBP),%RAX | 1 | 0 | 0 | 0.50 | 0.50 | 0 | 0 | 0 | 0 | 4-5 | 0.50 |
LEA -0x328(%RBP),%RDX | 1 | 0 | 0.50 | 0 | 0 | 0 | 0.50 | 0 | 0 | 1 | 0.50 |
MOV -0x38(%RBP),%RCX | 1 | 0 | 0 | 0.50 | 0.50 | 0 | 0 | 0 | 0 | 4-5 | 0.50 |
MOV -0xb8(%RBP),%RBX | 1 | 0 | 0 | 0.50 | 0.50 | 0 | 0 | 0 | 0 | 4-5 | 0.50 |
ADD $0x18,%R13 | 1 | 0.25 | 0.25 | 0 | 0 | 0 | 0.25 | 0.25 | 0 | 1 | 0.25 |
DEC %RAX | 1 | 0.25 | 0.25 | 0 | 0 | 0 | 0.25 | 0.25 | 0 | 1 | 0.25 |
JNE 40cbc0 | 1 | 0.50 | 0 | 0 | 0 | 0 | 0 | 0.50 | 0 | 0 | 0.50-1 |