| Loop Id: 86 | Module: exec | Source: ljForce.c:187-216 [...] | Coverage: 0.60% |
|---|
| Loop Id: 86 | Module: exec | Source: ljForce.c:187-216 [...] | Coverage: 0.60% |
|---|
0x40b240 LEA 0x1(%RBX),%RAX |
0x40b244 CMP %R9,%RBX |
0x40b247 MOV %RAX,%RBX |
0x40b24a JE 40b1f0 |
0x40b24c LEA (%RBX,%RDI,1),%RSI |
0x40b250 LEA (%RSI,%RSI,2),%RCX |
0x40b254 LEA (%R14,%RCX,8),%RAX |
0x40b258 XOR %R15D,%R15D |
0x40b25b JMP 40b269 |
(87) 0x40b260 ADD $0x18,%R15 |
(87) 0x40b264 CMP %R15,%R12 |
(87) 0x40b267 JE 40b240 |
(87) 0x40b269 VMOVUPD (%RAX),%XMM11 |
(87) 0x40b26d VSUBPD -0x10(%R13,%R15,1),%XMM11,%XMM11 |
(87) 0x40b274 VMULPD %XMM11,%XMM11,%XMM12 |
(87) 0x40b279 VSHUFPD $0x1,%XMM12,%XMM12,%XMM13 |
(87) 0x40b27f VADDSD %XMM12,%XMM13,%XMM13 |
(87) 0x40b284 VMOVSD 0x10(%RAX),%XMM12 |
(87) 0x40b289 VSUBSD (%R13,%R15,1),%XMM12,%XMM12 |
(87) 0x40b290 VFMADD231SD %XMM12,%XMM12,%XMM13 |
(87) 0x40b295 VUCOMISD %XMM13,%XMM2 |
(87) 0x40b29a JB 40b260 |
(87) 0x40b29c VUCOMISD %XMM4,%XMM13 |
(87) 0x40b2a0 JBE 40b260 |
(87) 0x40b2a2 VDIVSD %XMM13,%XMM6,%XMM13 |
(87) 0x40b2a7 VMULSD %XMM13,%XMM13,%XMM14 |
(87) 0x40b2ac VMULSD %XMM1,%XMM13,%XMM15 |
(87) 0x40b2b0 VMULSD %XMM15,%XMM14,%XMM14 |
(87) 0x40b2b5 VADDSD %XMM7,%XMM14,%XMM15 |
(87) 0x40b2b9 VFNMADD213SD %XMM0,%XMM14,%XMM15 |
(87) 0x40b2be VMULSD %XMM8,%XMM15,%XMM15 |
(87) 0x40b2c3 MOV 0x30(%R11),%RDX |
(87) 0x40b2c7 VADDSD (%RDX,%RSI,8),%XMM15,%XMM16 |
(87) 0x40b2ce VMOVSD %XMM16,(%RDX,%RSI,8) |
(87) 0x40b2d5 VMOVAPD %XMM9,%XMM16 |
(87) 0x40b2db VFMADD213SD %XMM10,%XMM14,%XMM16 |
(87) 0x40b2e1 VMULSD %XMM3,%XMM13,%XMM13 |
(87) 0x40b2e5 VMULSD %XMM14,%XMM13,%XMM13 |
(87) 0x40b2ea VMULSD %XMM16,%XMM13,%XMM13 |
(87) 0x40b2f0 MOV 0x28(%R11),%RDX |
(87) 0x40b2f4 VMOVDDUP %XMM13,%XMM14 |
(87) 0x40b2f9 VFMADD213PD (%RDX,%RCX,8),%XMM14,%XMM11 |
(87) 0x40b2ff VMOVUPD %XMM11,(%RDX,%RCX,8) |
(87) 0x40b304 VFMADD213SD 0x10(%RDX,%RCX,8),%XMM13,%XMM12 |
(87) 0x40b30b VMOVSD %XMM12,0x10(%RDX,%RCX,8) |
(87) 0x40b311 VADDSD %XMM5,%XMM15,%XMM5 |
(87) 0x40b315 JMP 40b260 |
/home/eoseret/qaas_runs_GNR/173-814-1858/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; |
| Coverage (%) | Name | Source Location | Module |
|---|---|---|---|
| ►100.00+ | __kmp_invoke_microtask | libiomp5.so | |
| ○ | __kmp_invoke_task_func | libiomp5.so |
| Path / |
| Metric | Value |
|---|---|
| CQA speedup if no scalar integer | 1.00 |
| CQA speedup if FP arith vectorized | 1.00 |
| CQA speedup if fully vectorized | 16.00 |
| CQA speedup if no inter-iteration dependency | NA |
| CQA speedup if next bottleneck killed | 3.00 |
| 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.50 |
| CQA cycles if no scalar integer | 1.50 |
| CQA cycles if FP arith vectorized | 1.50 |
| CQA cycles if fully vectorized | 0.09 |
| Front-end cycles | 1.50 |
| P0 cycles | 0.50 |
| P1 cycles | 0.40 |
| P2 cycles | 0.00 |
| P3 cycles | 0.00 |
| P4 cycles | 0.00 |
| P5 cycles | 0.40 |
| P6 cycles | 0.50 |
| P7 cycles | 0.00 |
| P8 cycles | 0.00 |
| P9 cycles | 0.00 |
| P10 cycles | 0.20 |
| P11 cycles | 0.00 |
| DIV/SQRT cycles | 0.00 |
| Inter-iter dependencies cycles | 0 |
| FE+BE cycles (UFS) | NA |
| Stall cycles (UFS) | NA |
| Nb insns | 9.00 |
| Nb uops | 9.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 | 0.00 |
| Stride unknown | 2.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 | 6.25 |
| 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 | 6.25 |
| Metric | Value |
|---|---|
| CQA speedup if no scalar integer | 1.00 |
| CQA speedup if FP arith vectorized | 1.00 |
| CQA speedup if fully vectorized | 16.00 |
| CQA speedup if no inter-iteration dependency | NA |
| CQA speedup if next bottleneck killed | 3.00 |
| 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.50 |
| CQA cycles if no scalar integer | 1.50 |
| CQA cycles if FP arith vectorized | 1.50 |
| CQA cycles if fully vectorized | 0.09 |
| Front-end cycles | 1.50 |
| P0 cycles | 0.50 |
| P1 cycles | 0.40 |
| P2 cycles | 0.00 |
| P3 cycles | 0.00 |
| P4 cycles | 0.00 |
| P5 cycles | 0.40 |
| P6 cycles | 0.50 |
| P7 cycles | 0.00 |
| P8 cycles | 0.00 |
| P9 cycles | 0.00 |
| P10 cycles | 0.20 |
| P11 cycles | 0.00 |
| DIV/SQRT cycles | 0.00 |
| Inter-iter dependencies cycles | 0 |
| FE+BE cycles (UFS) | NA |
| Stall cycles (UFS) | NA |
| Nb insns | 9.00 |
| Nb uops | 9.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 | 0.00 |
| Stride unknown | 2.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 | 6.25 |
| 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 | 6.25 |
| Path / |
| Function | ljForce.extracted |
| Source file and lines | ljForce.c:187-216 |
| Module | exec |
| nb instructions | 9 |
| nb uops | 9 |
| loop length | 29 |
| used x86 registers | 8 |
| used mmx registers | 0 |
| used xmm registers | 0 |
| used ymm registers | 0 |
| used zmm registers | 0 |
| nb stack references | 0 |
| micro-operation queue | 1.50 cycles |
| front end | 1.50 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 |
| Front-end | 1.50 |
| Dispatch | 0.50 |
| Data deps. | 0.00 |
| Overall L1 | 1.50 |
| 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 | 6% |
| 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 | 6% |
| Instruction | Nb FU | P0 | P1 | P2 | P3 | P4 | P5 | P6 | P7 | P8 | P9 | P10 | P11 | Latency | Recip. throughput | Vectorization |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| LEA 0x1(%RBX),%RAX | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17 | N/A |
| CMP %R9,%RBX | 1 | 0.20 | 0.20 | 0 | 0 | 0 | 0.20 | 0.20 | 0 | 0 | 0 | 0.20 | 0 | 1 | 0.20 | N/A |
| MOV %RAX,%RBX | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 | N/A |
| JE 40b1f0 <ljForce.extracted+0x1c0> | 1 | 0.50 | 0 | 0 | 0 | 0 | 0 | 0.50 | 0 | 0 | 0 | 0 | 0 | 0 | 0.50 | N/A |
| LEA (%RBX,%RDI,1),%RSI | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17 | N/A |
| LEA (%RSI,%RSI,2),%RCX | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17 | N/A |
| LEA (%R14,%RCX,8),%RAX | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17 | N/A |
| XOR %R15D,%R15D | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17 | scal (6.3%) |
| JMP 40b269 <ljForce.extracted+0x239> | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5.84 | N/A |
| Function | ljForce.extracted |
| Source file and lines | ljForce.c:187-216 |
| Module | exec |
| nb instructions | 9 |
| nb uops | 9 |
| loop length | 29 |
| used x86 registers | 8 |
| used mmx registers | 0 |
| used xmm registers | 0 |
| used ymm registers | 0 |
| used zmm registers | 0 |
| nb stack references | 0 |
| micro-operation queue | 1.50 cycles |
| front end | 1.50 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 |
| Front-end | 1.50 |
| Dispatch | 0.50 |
| Data deps. | 0.00 |
| Overall L1 | 1.50 |
| 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 | 6% |
| 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 | 6% |
| Instruction | Nb FU | P0 | P1 | P2 | P3 | P4 | P5 | P6 | P7 | P8 | P9 | P10 | P11 | Latency | Recip. throughput | Vectorization |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| LEA 0x1(%RBX),%RAX | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17 | N/A |
| CMP %R9,%RBX | 1 | 0.20 | 0.20 | 0 | 0 | 0 | 0.20 | 0.20 | 0 | 0 | 0 | 0.20 | 0 | 1 | 0.20 | N/A |
| MOV %RAX,%RBX | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 | N/A |
| JE 40b1f0 <ljForce.extracted+0x1c0> | 1 | 0.50 | 0 | 0 | 0 | 0 | 0 | 0.50 | 0 | 0 | 0 | 0 | 0 | 0 | 0.50 | N/A |
| LEA (%RBX,%RDI,1),%RSI | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17 | N/A |
| LEA (%RSI,%RSI,2),%RCX | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17 | N/A |
| LEA (%R14,%RCX,8),%RAX | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17 | N/A |
| XOR %R15D,%R15D | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17 | scal (6.3%) |
| JMP 40b269 <ljForce.extracted+0x239> | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5.84 | N/A |
