Loop Id: 134 | Module: exec | Source: advec_cell_kernel.f90:255-261 | Coverage: 3.38% |
---|
Loop Id: 134 | Module: exec | Source: advec_cell_kernel.f90:255-261 | Coverage: 3.38% |
---|
0x426770 VMOVUPD (%RSI,%RAX,8),%YMM0 [9] |
0x426775 VMULPD (%R14,%RAX,8),%YMM0,%YMM1 [6] |
0x42677b VADDPD (%R15,%RAX,8),%YMM1,%YMM2 [7] |
0x426781 VSUBPD (%R11,%RAX,8),%YMM2,%YMM2 [3] |
0x426787 VMOVUPD (%RDI,%RAX,8),%YMM3 [4] |
0x42678c VFMADD213PD (%R9,%RAX,8),%YMM1,%YMM3 [1] |
0x426792 VSUBPD (%R13,%RAX,8),%YMM3,%YMM1 [8] |
0x426799 VDIVPD %YMM2,%YMM1,%YMM1 |
0x42679d VADDPD (%RDX,%RAX,8),%YMM0,%YMM0 [2] |
0x4267a2 VSUBPD (%R8,%RAX,8),%YMM0,%YMM0 [5] |
0x4267a8 VDIVPD %YMM0,%YMM2,%YMM0 |
0x4267ac VMOVUPD %YMM0,(%R14,%RAX,8) [6] |
0x4267b2 VMOVUPD %YMM1,(%RDI,%RAX,8) [4] |
0x4267b7 ADD $0x4,%RAX |
0x4267bb CMP %RCX,%RAX |
0x4267be JB 426770 |
/beegfs/hackathon/users/eoseret/qaas_runs/170-861-0321/intel/CloverLeafFC/build/CloverLeafFC/CloverLeaf_ref/kernels/advec_cell_kernel.f90: 255 - 261 |
-------------------------------------------------------------------------------- |
255: DO j=x_min,x_max |
256: pre_mass_s=density1(j,k)*pre_vol(j,k) |
257: post_mass_s=pre_mass_s+mass_flux_y(j,k)-mass_flux_y(j,k+1) |
258: post_ener_s=(energy1(j,k)*pre_mass_s+ener_flux(j,k)-ener_flux(j,k+1))/post_mass_s |
259: advec_vol_s=pre_vol(j,k)+vol_flux_y(j,k)-vol_flux_y(j,k+1) |
260: density1(j,k)=post_mass_s/advec_vol_s |
261: energy1(j,k)=post_ener_s |
Path / |
Metric | Value |
---|---|
CQA speedup if no scalar integer | 1.00 |
CQA speedup if FP arith vectorized | 1.00 |
CQA speedup if fully vectorized | 1.00 |
CQA speedup if no inter-iteration dependency | NA |
CQA speedup if next bottleneck killed | 2.73 |
Bottlenecks | P8, P9, |
Function | advec_cell_kernel_.DIR.OMP.PARALLEL.2 |
Source | advec_cell_kernel.f90:255-261 |
Source loop unroll info | unrolled by 4 |
Source loop unroll confidence level | max |
Unroll/vectorization loop type | main |
Unroll factor | 4 |
CQA cycles | 10.00 |
CQA cycles if no scalar integer | 10.00 |
CQA cycles if FP arith vectorized | 10.00 |
CQA cycles if fully vectorized | 10.00 |
Front-end cycles | 2.50 |
DIV/SQRT cycles | 0.50 |
P0 cycles | 0.50 |
P1 cycles | 0.25 |
P2 cycles | 0.25 |
P3 cycles | 0.50 |
P4 cycles | 3.67 |
P5 cycles | 3.67 |
P6 cycles | 3.67 |
P7 cycles | 2.00 |
P8 cycles | 2.00 |
P9 cycles | 2.50 |
P10 cycles | 2.50 |
P11 cycles | 1.00 |
P12 cycles | 1.00 |
P13 cycles | 10.00 |
Inter-iter dependencies cycles | 1 |
FE+BE cycles (UFS) | NA |
Stall cycles (UFS) | NA |
Nb insns | 16.00 |
Nb uops | 15.00 |
Nb loads | 9.00 |
Nb stores | 2.00 |
Nb stack references | 0.00 |
FLOP/cycle | 4.00 |
Nb FLOP add-sub | 20.00 |
Nb FLOP mul | 4.00 |
Nb FLOP fma | 4.00 |
Nb FLOP div | 8.00 |
Nb FLOP rcp | 0.00 |
Nb FLOP sqrt | 0.00 |
Nb FLOP rsqrt | 0.00 |
Bytes/cycle | 35.20 |
Bytes prefetched | 0.00 |
Bytes loaded | 288.00 |
Bytes stored | 64.00 |
Stride 0 | 0.00 |
Stride 1 | 9.00 |
Stride n | 0.00 |
Stride unknown | 0.00 |
Stride indirect | 0.00 |
Vectorization ratio all | 100.00 |
Vectorization ratio load | 100.00 |
Vectorization ratio store | 100.00 |
Vectorization ratio mul | 100.00 |
Vectorization ratio add_sub | 100.00 |
Vectorization ratio fma | 100.00 |
Vectorization ratio div_sqrt | 100.00 |
Vectorization ratio other | NA |
Vector-efficiency ratio all | 50.00 |
Vector-efficiency ratio load | 50.00 |
Vector-efficiency ratio store | 50.00 |
Vector-efficiency ratio mul | 50.00 |
Vector-efficiency ratio add_sub | 50.00 |
Vector-efficiency ratio fma | 50.00 |
Vector-efficiency ratio div_sqrt | 50.00 |
Vector-efficiency ratio other | NA |
Metric | Value |
---|---|
CQA speedup if no scalar integer | 1.00 |
CQA speedup if FP arith vectorized | 1.00 |
CQA speedup if fully vectorized | 1.00 |
CQA speedup if no inter-iteration dependency | NA |
CQA speedup if next bottleneck killed | 2.73 |
Bottlenecks | P8, P9, |
Function | advec_cell_kernel_.DIR.OMP.PARALLEL.2 |
Source | advec_cell_kernel.f90:255-261 |
Source loop unroll info | unrolled by 4 |
Source loop unroll confidence level | max |
Unroll/vectorization loop type | main |
Unroll factor | 4 |
CQA cycles | 10.00 |
CQA cycles if no scalar integer | 10.00 |
CQA cycles if FP arith vectorized | 10.00 |
CQA cycles if fully vectorized | 10.00 |
Front-end cycles | 2.50 |
DIV/SQRT cycles | 0.50 |
P0 cycles | 0.50 |
P1 cycles | 0.25 |
P2 cycles | 0.25 |
P3 cycles | 0.50 |
P4 cycles | 3.67 |
P5 cycles | 3.67 |
P6 cycles | 3.67 |
P7 cycles | 2.00 |
P8 cycles | 2.00 |
P9 cycles | 2.50 |
P10 cycles | 2.50 |
P11 cycles | 1.00 |
P12 cycles | 1.00 |
P13 cycles | 10.00 |
Inter-iter dependencies cycles | 1 |
FE+BE cycles (UFS) | NA |
Stall cycles (UFS) | NA |
Nb insns | 16.00 |
Nb uops | 15.00 |
Nb loads | 9.00 |
Nb stores | 2.00 |
Nb stack references | 0.00 |
FLOP/cycle | 4.00 |
Nb FLOP add-sub | 20.00 |
Nb FLOP mul | 4.00 |
Nb FLOP fma | 4.00 |
Nb FLOP div | 8.00 |
Nb FLOP rcp | 0.00 |
Nb FLOP sqrt | 0.00 |
Nb FLOP rsqrt | 0.00 |
Bytes/cycle | 35.20 |
Bytes prefetched | 0.00 |
Bytes loaded | 288.00 |
Bytes stored | 64.00 |
Stride 0 | 0.00 |
Stride 1 | 9.00 |
Stride n | 0.00 |
Stride unknown | 0.00 |
Stride indirect | 0.00 |
Vectorization ratio all | 100.00 |
Vectorization ratio load | 100.00 |
Vectorization ratio store | 100.00 |
Vectorization ratio mul | 100.00 |
Vectorization ratio add_sub | 100.00 |
Vectorization ratio fma | 100.00 |
Vectorization ratio div_sqrt | 100.00 |
Vectorization ratio other | NA |
Vector-efficiency ratio all | 50.00 |
Vector-efficiency ratio load | 50.00 |
Vector-efficiency ratio store | 50.00 |
Vector-efficiency ratio mul | 50.00 |
Vector-efficiency ratio add_sub | 50.00 |
Vector-efficiency ratio fma | 50.00 |
Vector-efficiency ratio div_sqrt | 50.00 |
Vector-efficiency ratio other | NA |
Path / |
Function | advec_cell_kernel_.DIR.OMP.PARALLEL.2 |
Source file and lines | advec_cell_kernel.f90:255-261 |
Module | exec |
nb instructions | 16 |
nb uops | 15 |
loop length | 80 |
used x86 registers | 11 |
used mmx registers | 0 |
used xmm registers | 0 |
used ymm registers | 4 |
used zmm registers | 0 |
nb stack references | 0 |
ADD-SUB / MUL ratio | 5.00 |
micro-operation queue | 2.50 cycles |
front end | 2.50 cycles |
ALU0/BRU0 | ALU1 | ALU2 | ALU3 | BRU1 | AGU0 | AGU1 | AGU2 | FP0 | FP1 | FP2 | FP3 | FP4 | FP5 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
uops | 0.50 | 0.50 | 0.25 | 0.25 | 0.50 | 3.67 | 3.67 | 3.67 | 2.00 | 2.00 | 2.50 | 2.50 | 1.00 | 1.00 |
cycles | 0.50 | 0.50 | 0.25 | 0.25 | 0.50 | 3.67 | 3.67 | 3.67 | 2.00 | 2.00 | 2.50 | 2.50 | 1.00 | 1.00 |
Cycles executing div or sqrt instructions | 10.00 |
Longest recurrence chain latency (RecMII) | 1.00 |
Front-end | 2.50 |
Dispatch | 3.67 |
DIV/SQRT | 10.00 |
Data deps. | 1.00 |
Overall L1 | 10.00 |
all | 100% |
load | 100% |
store | 100% |
mul | 100% |
add-sub | 100% |
fma | 100% |
div/sqrt | 100% |
other | NA (no other vectorizable/vectorized instructions) |
all | 50% |
load | 50% |
store | 50% |
mul | 50% |
add-sub | 50% |
fma | 50% |
div/sqrt | 50% |
other | NA (no other vectorizable/vectorized instructions) |
Instruction | Nb FU | ALU0/BRU0 | ALU1 | ALU2 | ALU3 | BRU1 | AGU0 | AGU1 | AGU2 | FP0 | FP1 | FP2 | FP3 | FP4 | FP5 | Latency | Recip. throughput |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
VMOVUPD (%RSI,%RAX,8),%YMM0 | 1 | 0 | 0 | 0 | 0 | 0 | 0.33 | 0.33 | 0.33 | 0 | 0 | 0 | 0 | 0 | 0 | 3 | 0.50 |
VMULPD (%R14,%RAX,8),%YMM0,%YMM1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.33 | 0.33 | 0.33 | 0.50 | 0.50 | 0 | 0 | 0 | 0 | 3 | 0.50 |
VADDPD (%R15,%RAX,8),%YMM1,%YMM2 | 1 | 0 | 0 | 0 | 0 | 0 | 0.33 | 0.33 | 0.33 | 0 | 0 | 0.50 | 0.50 | 0 | 0 | 3 | 0.50 |
VSUBPD (%R11,%RAX,8),%YMM2,%YMM2 | 1 | 0 | 0 | 0 | 0 | 0 | 0.33 | 0.33 | 0.33 | 0 | 0 | 0.50 | 0.50 | 0 | 0 | 3 | 0.50 |
VMOVUPD (%RDI,%RAX,8),%YMM3 | 1 | 0 | 0 | 0 | 0 | 0 | 0.33 | 0.33 | 0.33 | 0 | 0 | 0 | 0 | 0 | 0 | 3 | 0.50 |
VFMADD213PD (%R9,%RAX,8),%YMM1,%YMM3 | 1 | 0 | 0 | 0 | 0 | 0 | 0.33 | 0.33 | 0.33 | 0.50 | 0.50 | 0 | 0 | 0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0.50 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.50-1 |
Function | advec_cell_kernel_.DIR.OMP.PARALLEL.2 |
Source file and lines | advec_cell_kernel.f90:255-261 |
Module | exec |
nb instructions | 16 |
nb uops | 15 |
loop length | 80 |
used x86 registers | 11 |
used mmx registers | 0 |
used xmm registers | 0 |
used ymm registers | 4 |
used zmm registers | 0 |
nb stack references | 0 |
ADD-SUB / MUL ratio | 5.00 |
micro-operation queue | 2.50 cycles |
front end | 2.50 cycles |
ALU0/BRU0 | ALU1 | ALU2 | ALU3 | BRU1 | AGU0 | AGU1 | AGU2 | FP0 | FP1 | FP2 | FP3 | FP4 | FP5 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
uops | 0.50 | 0.50 | 0.25 | 0.25 | 0.50 | 3.67 | 3.67 | 3.67 | 2.00 | 2.00 | 2.50 | 2.50 | 1.00 | 1.00 |
cycles | 0.50 | 0.50 | 0.25 | 0.25 | 0.50 | 3.67 | 3.67 | 3.67 | 2.00 | 2.00 | 2.50 | 2.50 | 1.00 | 1.00 |
Cycles executing div or sqrt instructions | 10.00 |
Longest recurrence chain latency (RecMII) | 1.00 |
Front-end | 2.50 |
Dispatch | 3.67 |
DIV/SQRT | 10.00 |
Data deps. | 1.00 |
Overall L1 | 10.00 |
all | 100% |
load | 100% |
store | 100% |
mul | 100% |
add-sub | 100% |
fma | 100% |
div/sqrt | 100% |
other | NA (no other vectorizable/vectorized instructions) |
all | 50% |
load | 50% |
store | 50% |
mul | 50% |
add-sub | 50% |
fma | 50% |
div/sqrt | 50% |
other | NA (no other vectorizable/vectorized instructions) |
Instruction | Nb FU | ALU0/BRU0 | ALU1 | ALU2 | ALU3 | BRU1 | AGU0 | AGU1 | AGU2 | FP0 | FP1 | FP2 | FP3 | FP4 | FP5 | Latency | Recip. throughput |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
VMOVUPD (%RSI,%RAX,8),%YMM0 | 1 | 0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