Loop Id: 91 | Module: exec | Source: ljForce.c:187-216 [...] | Coverage: 0.36% |
---|
Loop Id: 91 | Module: exec | Source: ljForce.c:187-216 [...] | Coverage: 0.36% |
---|
0x40efc0 CMP %RSI,%RAX |
0x40efc3 LEA 0x1(%RAX),%RAX |
0x40efc7 JE 40ef40 |
0x40efcd LEA (%RAX,%RDI,1),%R15 |
0x40efd1 LEA (%R15,%R15,2),%RDX |
0x40efd5 MOV %R11,%RCX |
0x40efd8 MOV %R8,%R12 |
0x40efdb JMP 40f009 |
(92) 0x40f000 ADD $0x18,%RCX |
(92) 0x40f004 DEC %R12 |
(92) 0x40f007 JE 40efc0 |
(92) 0x40f009 VMOVUPD (%RBX,%RDX,8),%XMM11 |
(92) 0x40f00e VSUBPD -0x10(%RCX),%XMM11,%XMM11 |
(92) 0x40f013 VMULPD %XMM11,%XMM11,%XMM12 |
(92) 0x40f018 VSHUFPD $0x1,%XMM12,%XMM12,%XMM13 |
(92) 0x40f01e VADDSD %XMM12,%XMM13,%XMM13 |
(92) 0x40f023 VMOVSD 0x10(%RBX,%RDX,8),%XMM12 |
(92) 0x40f029 VSUBSD (%RCX),%XMM12,%XMM12 |
(92) 0x40f02d VFMADD231SD %XMM12,%XMM12,%XMM13 |
(92) 0x40f032 VUCOMISD %XMM2,%XMM13 |
(92) 0x40f036 JA 40f000 |
(92) 0x40f038 VUCOMISD %XMM4,%XMM13 |
(92) 0x40f03c JBE 40f000 |
(92) 0x40f03e VDIVSD %XMM13,%XMM6,%XMM13 |
(92) 0x40f043 VMULSD %XMM13,%XMM13,%XMM14 |
(92) 0x40f048 VMULSD %XMM1,%XMM13,%XMM15 |
(92) 0x40f04c VMULSD %XMM15,%XMM14,%XMM14 |
(92) 0x40f051 VADDSD %XMM7,%XMM14,%XMM15 |
(92) 0x40f055 VFNMADD213SD %XMM0,%XMM14,%XMM15 |
(92) 0x40f05a VMULSD %XMM8,%XMM15,%XMM15 |
(92) 0x40f05f MOV 0x30(%R13),%R10 |
(92) 0x40f063 VADDSD (%R10,%R15,8),%XMM15,%XMM16 |
(92) 0x40f06a VMOVSD %XMM16,(%R10,%R15,8) |
(92) 0x40f071 VMOVAPD %XMM9,%XMM16 |
(92) 0x40f077 VFMADD213SD %XMM10,%XMM14,%XMM16 |
(92) 0x40f07d VMULSD %XMM3,%XMM13,%XMM13 |
(92) 0x40f081 VMULSD %XMM14,%XMM16,%XMM14 |
(92) 0x40f087 VMULSD %XMM13,%XMM14,%XMM13 |
(92) 0x40f08c MOV 0x28(%R13),%R10 |
(92) 0x40f090 VMOVDDUP %XMM13,%XMM14 |
(92) 0x40f095 VFMADD213PD (%R10,%RDX,8),%XMM14,%XMM11 |
(92) 0x40f09b VMOVUPD %XMM11,(%R10,%RDX,8) |
(92) 0x40f0a1 VFMADD213SD 0x10(%R10,%RDX,8),%XMM13,%XMM12 |
(92) 0x40f0a8 VMOVSD %XMM12,0x10(%R10,%RDX,8) |
(92) 0x40f0af VADDSD %XMM5,%XMM15,%XMM5 |
(92) 0x40f0b3 JMP 40f000 |
/scratch_na/users/xoserete/qaas_runs/171-172-4338/intel/CoMD/build/CoMD/CoMD/src-openmp/ljForce.c: 187 - 216 |
-------------------------------------------------------------------------------- |
187: for (int iOff=MAXATOMS*iBox; iOff<(iBox*MAXATOMS+nIBox); iOff++) |
188: { |
189: |
190: // loop over atoms in jBox |
191: for (int jOff=jBox*MAXATOMS; jOff<(jBox*MAXATOMS+nJBox); jOff++) |
[...] |
197: dr[m] = s->atoms->r[iOff][m]-s->atoms->r[jOff][m]; |
198: r2+=dr[m]*dr[m]; |
199: } |
200: |
201: if ( r2 <= rCut2 && r2 > 0.0) |
202: { |
203: |
204: // Important note: |
205: // from this point on r actually refers to 1.0/r |
206: r2 = 1.0/r2; |
207: real_t r6 = s6 * (r2*r2*r2); |
208: real_t eLocal = r6 * (r6 - 1.0) - eShift; |
209: s->atoms->U[iOff] += 0.5*eLocal; |
210: ePot += 0.5*eLocal; |
211: |
212: // different formulation to avoid sqrt computation |
213: real_t fr = - 4.0*epsilon*r6*r2*(12.0*r6 - 6.0); |
214: for (int m=0; m<3; m++) |
215: { |
216: s->atoms->f[iOff][m] -= dr[m]*fr; |
Path / |
Metric | Value |
---|---|
CQA speedup if no scalar integer | 1.00 |
CQA speedup if FP arith vectorized | 1.00 |
CQA speedup if fully vectorized | 8.00 |
CQA speedup if no inter-iteration dependency | NA |
CQA speedup if next bottleneck killed | 2.67 |
Bottlenecks | micro-operation queue, |
Function | ljForce.extracted |
Source | ljForce.c:187-187,ljForce.c:197-197 |
Source loop unroll info | NA |
Source loop unroll confidence level | NA |
Unroll/vectorization loop type | NA |
Unroll factor | NA |
CQA cycles | 1.33 |
CQA cycles if no scalar integer | 1.33 |
CQA cycles if FP arith vectorized | 1.33 |
CQA cycles if fully vectorized | 0.17 |
Front-end cycles | 1.33 |
DIV/SQRT cycles | 0.50 |
P0 cycles | 0.40 |
P1 cycles | 0.00 |
P2 cycles | 0.00 |
P3 cycles | 0.00 |
P4 cycles | 0.40 |
P5 cycles | 0.50 |
P6 cycles | 0.00 |
P7 cycles | 0.00 |
P8 cycles | 0.00 |
P9 cycles | 0.20 |
P10 cycles | 0.00 |
P11 cycles | 0.00 |
Inter-iter dependencies cycles | 0 |
FE+BE cycles (UFS) | 1.38 |
Stall cycles (UFS) | 0.00 |
Nb insns | 8.00 |
Nb uops | 8.00 |
Nb loads | 0.00 |
Nb stores | 0.00 |
Nb stack references | 0.00 |
FLOP/cycle | 0.00 |
Nb FLOP add-sub | 0.00 |
Nb FLOP mul | 0.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 | 0.00 |
Bytes prefetched | 0.00 |
Bytes loaded | 0.00 |
Bytes stored | 0.00 |
Stride 0 | 0.00 |
Stride 1 | 0.00 |
Stride n | 1.00 |
Stride unknown | 1.00 |
Stride indirect | 0.00 |
Vectorization ratio all | 0.00 |
Vectorization ratio load | NA |
Vectorization ratio store | NA |
Vectorization ratio mul | NA |
Vectorization ratio add_sub | NA |
Vectorization ratio fma | NA |
Vectorization ratio div_sqrt | NA |
Vectorization ratio other | 0.00 |
Vector-efficiency ratio all | 12.50 |
Vector-efficiency ratio load | NA |
Vector-efficiency ratio store | NA |
Vector-efficiency ratio mul | NA |
Vector-efficiency ratio add_sub | NA |
Vector-efficiency ratio fma | NA |
Vector-efficiency ratio div_sqrt | NA |
Vector-efficiency ratio other | 12.50 |
Metric | Value |
---|---|
CQA speedup if no scalar integer | 1.00 |
CQA speedup if FP arith vectorized | 1.00 |
CQA speedup if fully vectorized | 8.00 |
CQA speedup if no inter-iteration dependency | NA |
CQA speedup if next bottleneck killed | 2.67 |
Bottlenecks | micro-operation queue, |
Function | ljForce.extracted |
Source | ljForce.c:187-187,ljForce.c:197-197 |
Source loop unroll info | NA |
Source loop unroll confidence level | NA |
Unroll/vectorization loop type | NA |
Unroll factor | NA |
CQA cycles | 1.33 |
CQA cycles if no scalar integer | 1.33 |
CQA cycles if FP arith vectorized | 1.33 |
CQA cycles if fully vectorized | 0.17 |
Front-end cycles | 1.33 |
DIV/SQRT cycles | 0.50 |
P0 cycles | 0.40 |
P1 cycles | 0.00 |
P2 cycles | 0.00 |
P3 cycles | 0.00 |
P4 cycles | 0.40 |
P5 cycles | 0.50 |
P6 cycles | 0.00 |
P7 cycles | 0.00 |
P8 cycles | 0.00 |
P9 cycles | 0.20 |
P10 cycles | 0.00 |
P11 cycles | 0.00 |
Inter-iter dependencies cycles | 0 |
FE+BE cycles (UFS) | 1.38 |
Stall cycles (UFS) | 0.00 |
Nb insns | 8.00 |
Nb uops | 8.00 |
Nb loads | 0.00 |
Nb stores | 0.00 |
Nb stack references | 0.00 |
FLOP/cycle | 0.00 |
Nb FLOP add-sub | 0.00 |
Nb FLOP mul | 0.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 | 0.00 |
Bytes prefetched | 0.00 |
Bytes loaded | 0.00 |
Bytes stored | 0.00 |
Stride 0 | 0.00 |
Stride 1 | 0.00 |
Stride n | 1.00 |
Stride unknown | 1.00 |
Stride indirect | 0.00 |
Vectorization ratio all | 0.00 |
Vectorization ratio load | NA |
Vectorization ratio store | NA |
Vectorization ratio mul | NA |
Vectorization ratio add_sub | NA |
Vectorization ratio fma | NA |
Vectorization ratio div_sqrt | NA |
Vectorization ratio other | 0.00 |
Vector-efficiency ratio all | 12.50 |
Vector-efficiency ratio load | NA |
Vector-efficiency ratio store | NA |
Vector-efficiency ratio mul | NA |
Vector-efficiency ratio add_sub | NA |
Vector-efficiency ratio fma | NA |
Vector-efficiency ratio div_sqrt | NA |
Vector-efficiency ratio other | 12.50 |
Path / |
Function | ljForce.extracted |
Source file and lines | ljForce.c:187-216 |
Module | exec |
nb instructions | 8 |
nb uops | 8 |
loop length | 29 |
used x86 registers | 9 |
used mmx registers | 0 |
used xmm registers | 0 |
used ymm registers | 0 |
used zmm registers | 0 |
nb stack references | 0 |
micro-operation queue | 1.33 cycles |
front end | 1.33 cycles |
P0 | P1 | P2 | P3 | P4 | P5 | P6 | P7 | P8 | P9 | P10 | P11 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|
uops | 0.50 | 0.40 | 0.00 | 0.00 | 0.00 | 0.40 | 0.50 | 0.00 | 0.00 | 0.00 | 0.20 | 0.00 |
cycles | 0.50 | 0.40 | 0.00 | 0.00 | 0.00 | 0.40 | 0.50 | 0.00 | 0.00 | 0.00 | 0.20 | 0.00 |
Cycles executing div or sqrt instructions | NA |
Longest recurrence chain latency (RecMII) | 0.00 |
FE+BE cycles | 1.38 |
Stall cycles | 0.00 |
Front-end | 1.33 |
Dispatch | 0.50 |
Data deps. | 0.00 |
Overall L1 | 1.33 |
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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CMP %RSI,%RAX | 1 | 0.20 | 0.20 | 0 | 0 | 0 | 0.20 | 0.20 | 0 | 0 | 0 | 0.20 | 0 | 1 | 0.20 |
LEA 0x1(%RAX),%RAX | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17 |
JE 40ef40 <ljForce.extracted+0x200> | 1 | 0.50 | 0 | 0 | 0 | 0 | 0 | 0.50 | 0 | 0 | 0 | 0 | 0 | 0 | 0.50 |
LEA (%RAX,%RDI,1),%R15 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17 |
LEA (%R15,%R15,2),%RDX | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17 |
MOV %R11,%RCX | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 |
MOV %R8,%R12 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 |
JMP 40f009 <ljForce.extracted+0x2c9> | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5.84 |
Function | ljForce.extracted |
Source file and lines | ljForce.c:187-216 |
Module | exec |
nb instructions | 8 |
nb uops | 8 |
loop length | 29 |
used x86 registers | 9 |
used mmx registers | 0 |
used xmm registers | 0 |
used ymm registers | 0 |
used zmm registers | 0 |
nb stack references | 0 |
micro-operation queue | 1.33 cycles |
front end | 1.33 cycles |
P0 | P1 | P2 | P3 | P4 | P5 | P6 | P7 | P8 | P9 | P10 | P11 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|
uops | 0.50 | 0.40 | 0.00 | 0.00 | 0.00 | 0.40 | 0.50 | 0.00 | 0.00 | 0.00 | 0.20 | 0.00 |
cycles | 0.50 | 0.40 | 0.00 | 0.00 | 0.00 | 0.40 | 0.50 | 0.00 | 0.00 | 0.00 | 0.20 | 0.00 |
Cycles executing div or sqrt instructions | NA |
Longest recurrence chain latency (RecMII) | 0.00 |
FE+BE cycles | 1.38 |
Stall cycles | 0.00 |
Front-end | 1.33 |
Dispatch | 0.50 |
Data deps. | 0.00 |
Overall L1 | 1.33 |
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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CMP %RSI,%RAX | 1 | 0.20 | 0.20 | 0 | 0 | 0 | 0.20 | 0.20 | 0 | 0 | 0 | 0.20 | 0 | 1 | 0.20 |
LEA 0x1(%RAX),%RAX | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17 |
JE 40ef40 <ljForce.extracted+0x200> | 1 | 0.50 | 0 | 0 | 0 | 0 | 0 | 0.50 | 0 | 0 | 0 | 0 | 0 | 0 | 0.50 |
LEA (%RAX,%RDI,1),%R15 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17 |
LEA (%R15,%R15,2),%RDX | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17 |
MOV %R11,%RCX | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 |
MOV %R8,%R12 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 |
JMP 40f009 <ljForce.extracted+0x2c9> | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5.84 |