Loop Id: 330 | Module: exec | Source: ideal_gas_kernel.f90:49-55 | Coverage: 4.07% |
---|
Loop Id: 330 | Module: exec | Source: ideal_gas_kernel.f90:49-55 | Coverage: 4.07% |
---|
0x43a1f0 VMOVUPD (%R12,%RSI,8),%YMM6 [2] |
0x43a1f6 VMULPD %YMM4,%YMM6,%YMM7 |
0x43a1fa VMULPD (%R13,%RSI,8),%YMM7,%YMM7 [4] |
0x43a201 VDIVPD %YMM6,%YMM3,%YMM8 |
0x43a205 VMOVUPD %YMM7,(%R14,%RSI,8) [1] |
0x43a20b VMULPD %YMM8,%YMM8,%YMM8 |
0x43a210 VMULPD %YMM5,%YMM6,%YMM6 |
0x43a214 VMULPD %YMM7,%YMM6,%YMM6 |
0x43a218 VMULPD %YMM6,%YMM8,%YMM6 |
0x43a21c VSQRTPD %YMM6,%YMM6 |
0x43a220 VMOVUPD %YMM6,(%RDI,%RSI,8) [3] |
0x43a225 ADD $0x4,%RSI |
0x43a229 CMP %R8,%RSI |
0x43a22c JB 43a1f0 |
/scratch_na/users/xoserete/qaas_runs/171-419-3245/intel/CloverLeafFC/build/CloverLeafFC/CloverLeaf_ref/kernels/ideal_gas_kernel.f90: 49 - 55 |
-------------------------------------------------------------------------------- |
49: DO j=x_min,x_max |
50: v=1.0_8/density(j,k) |
51: pressure(j,k)=(1.4_8-1.0_8)*density(j,k)*energy(j,k) |
52: pressurebyenergy=(1.4_8-1.0_8)*density(j,k) |
53: pressurebyvolume=-density(j,k)*pressure(j,k) |
54: sound_speed_squared=v*v*(pressure(j,k)*pressurebyenergy-pressurebyvolume) |
55: soundspeed(j,k)=SQRT(sound_speed_squared) |
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 | 1.00 |
CQA speedup if no inter-iteration dependency | NA |
CQA speedup if next bottleneck killed | 4.25 |
Bottlenecks | P0, |
Function | ideal_gas_kernel_.DIR.OMP.PARALLEL.2 |
Source | ideal_gas_kernel.f90:49-55 |
Source loop unroll info | unrolled by 4 |
Source loop unroll confidence level | max |
Unroll/vectorization loop type | main |
Unroll factor | 4 |
CQA cycles | 17.00 |
CQA cycles if no scalar integer | 17.00 |
CQA cycles if FP arith vectorized | 17.00 |
CQA cycles if fully vectorized | 17.00 |
Front-end cycles | 2.33 |
DIV/SQRT cycles | 4.00 |
P0 cycles | 4.00 |
P1 cycles | 0.67 |
P2 cycles | 0.67 |
P3 cycles | 1.00 |
P4 cycles | 0.00 |
P5 cycles | 1.00 |
P6 cycles | 1.00 |
P7 cycles | 1.00 |
P8 cycles | 1.00 |
P9 cycles | 0.00 |
P10 cycles | 0.67 |
P11 cycles | 17.00 |
Inter-iter dependencies cycles | 1 |
FE+BE cycles (UFS) | 17.34 - 17.40 |
Stall cycles (UFS) | 14.16 - 14.22 |
Nb insns | 14.00 |
Nb uops | 13.00 |
Nb loads | 2.00 |
Nb stores | 2.00 |
Nb stack references | 0.00 |
FLOP/cycle | 1.88 |
Nb FLOP add-sub | 0.00 |
Nb FLOP mul | 24.00 |
Nb FLOP fma | 0.00 |
Nb FLOP div | 4.00 |
Nb FLOP rcp | 0.00 |
Nb FLOP sqrt | 4.00 |
Nb FLOP rsqrt | 0.00 |
Bytes/cycle | 7.53 |
Bytes prefetched | 0.00 |
Bytes loaded | 64.00 |
Bytes stored | 64.00 |
Stride 0 | 0.00 |
Stride 1 | 4.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 | NA |
Vectorization ratio fma | NA |
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 | NA |
Vector-efficiency ratio fma | NA |
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 | 4.25 |
Bottlenecks | P0, |
Function | ideal_gas_kernel_.DIR.OMP.PARALLEL.2 |
Source | ideal_gas_kernel.f90:49-55 |
Source loop unroll info | unrolled by 4 |
Source loop unroll confidence level | max |
Unroll/vectorization loop type | main |
Unroll factor | 4 |
CQA cycles | 17.00 |
CQA cycles if no scalar integer | 17.00 |
CQA cycles if FP arith vectorized | 17.00 |
CQA cycles if fully vectorized | 17.00 |
Front-end cycles | 2.33 |
DIV/SQRT cycles | 4.00 |
P0 cycles | 4.00 |
P1 cycles | 0.67 |
P2 cycles | 0.67 |
P3 cycles | 1.00 |
P4 cycles | 0.00 |
P5 cycles | 1.00 |
P6 cycles | 1.00 |
P7 cycles | 1.00 |
P8 cycles | 1.00 |
P9 cycles | 0.00 |
P10 cycles | 0.67 |
P11 cycles | 17.00 |
Inter-iter dependencies cycles | 1 |
FE+BE cycles (UFS) | 17.34 - 17.40 |
Stall cycles (UFS) | 14.16 - 14.22 |
Nb insns | 14.00 |
Nb uops | 13.00 |
Nb loads | 2.00 |
Nb stores | 2.00 |
Nb stack references | 0.00 |
FLOP/cycle | 1.88 |
Nb FLOP add-sub | 0.00 |
Nb FLOP mul | 24.00 |
Nb FLOP fma | 0.00 |
Nb FLOP div | 4.00 |
Nb FLOP rcp | 0.00 |
Nb FLOP sqrt | 4.00 |
Nb FLOP rsqrt | 0.00 |
Bytes/cycle | 7.53 |
Bytes prefetched | 0.00 |
Bytes loaded | 64.00 |
Bytes stored | 64.00 |
Stride 0 | 0.00 |
Stride 1 | 4.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 | NA |
Vectorization ratio fma | NA |
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 | NA |
Vector-efficiency ratio fma | NA |
Vector-efficiency ratio div_sqrt | 50.00 |
Vector-efficiency ratio other | NA |
Path / |
Function | ideal_gas_kernel_.DIR.OMP.PARALLEL.2 |
Source file and lines | ideal_gas_kernel.f90:49-55 |
Module | exec |
nb instructions | 14 |
nb uops | 13 |
loop length | 62 |
used x86 registers | 6 |
used mmx registers | 0 |
used xmm registers | 0 |
used ymm registers | 6 |
used zmm registers | 0 |
nb stack references | 0 |
micro-operation queue | 2.33 cycles |
front end | 2.33 cycles |
P0 | P1 | P2 | P3 | P4 | P5 | P6 | P7 | P8 | P9 | P10 | P11 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|
uops | 4.00 | 4.00 | 0.67 | 0.67 | 1.00 | 0.00 | 1.00 | 1.00 | 1.00 | 1.00 | 0.00 | 0.67 |
cycles | 4.00 | 4.00 | 0.67 | 0.67 | 1.00 | 0.00 | 1.00 | 1.00 | 1.00 | 1.00 | 0.00 | 0.67 |
Cycles executing div or sqrt instructions | 17.00 |
Longest recurrence chain latency (RecMII) | 1.00 |
FE+BE cycles | 17.34-17.40 |
Stall cycles | 14.16-14.22 |
ROB full (events) | 14.34-14.39 |
RS full (events) | 0.72-0.75 |
Front-end | 2.33 |
Dispatch | 4.00 |
DIV/SQRT | 17.00 |
Data deps. | 1.00 |
Overall L1 | 17.00 |
all | 100% |
load | 100% |
store | 100% |
mul | 100% |
add-sub | NA (no add-sub vectorizable/vectorized instructions) |
fma | NA (no fma vectorizable/vectorized instructions) |
div/sqrt | 100% |
other | NA (no other vectorizable/vectorized instructions) |
all | 50% |
load | 50% |
store | 50% |
mul | 50% |
add-sub | NA (no add-sub vectorizable/vectorized instructions) |
fma | NA (no fma vectorizable/vectorized instructions) |
div/sqrt | 50% |
other | NA (no other vectorizable/vectorized instructions) |
Instruction | Nb FU | P0 | P1 | P2 | P3 | P4 | P5 | P6 | P7 | P8 | P9 | P10 | P11 | Latency | Recip. throughput |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
VMOVUPD (%R12,%RSI,8),%YMM6 | 1 | 0 | 0 | 0.33 | 0.33 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.33 | 0-1 | 0.33 |
VMULPD %YMM4,%YMM6,%YMM7 | 1 | 0.50 | 0.50 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 | 0.50 |
VMULPD (%R13,%RSI,8),%YMM7,%YMM7 | 1 | 0.50 | 0.50 | 0.33 | 0.33 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.33 | 4 | 0.50 |
VDIVPD %YMM6,%YMM3,%YMM8 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 13-15 | 8 |
VMOVUPD %YMM7,(%R14,%RSI,8) | 1 | 0 | 0 | 0 | 0 | 0.50 | 0 | 0 | 0.50 | 0.50 | 0.50 | 0 | 0 | 0-1 | 0.50 |
VMULPD %YMM8,%YMM8,%YMM8 | 1 | 0.50 | 0.50 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 | 0.50 |
VMULPD %YMM5,%YMM6,%YMM6 | 1 | 0.50 | 0.50 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 | 0.50 |
VMULPD %YMM7,%YMM6,%YMM6 | 1 | 0.50 | 0.50 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 | 0.50 |
VMULPD %YMM6,%YMM8,%YMM6 | 1 | 0.50 | 0.50 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 | 0.50 |
VSQRTPD %YMM6,%YMM6 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 13-19 | 9 |
VMOVUPD %YMM6,(%RDI,%RSI,8) | 1 | 0 | 0 | 0 | 0 | 0.50 | 0 | 0 | 0.50 | 0.50 | 0.50 | 0 | 0 | 0-1 | 0.50 |
ADD $0x4,%RSI | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 |
CMP %R8,%RSI | 1 | 0.20 | 0.20 | 0 | 0 | 0 | 0.20 | 0.20 | 0 | 0 | 0 | 0.20 | 0 | 1 | 0.20 |
JB 43a1f0 <ideal_gas_kernel_module_mp_ideal_gas_kernel_.DIR.OMP.PARALLEL.2+0x290> | 1 | 0.50 | 0 | 0 | 0 | 0 | 0 | 0.50 | 0 | 0 | 0 | 0 | 0 | 0 | 0.50 |
Function | ideal_gas_kernel_.DIR.OMP.PARALLEL.2 |
Source file and lines | ideal_gas_kernel.f90:49-55 |
Module | exec |
nb instructions | 14 |
nb uops | 13 |
loop length | 62 |
used x86 registers | 6 |
used mmx registers | 0 |
used xmm registers | 0 |
used ymm registers | 6 |
used zmm registers | 0 |
nb stack references | 0 |
micro-operation queue | 2.33 cycles |
front end | 2.33 cycles |
P0 | P1 | P2 | P3 | P4 | P5 | P6 | P7 | P8 | P9 | P10 | P11 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|
uops | 4.00 | 4.00 | 0.67 | 0.67 | 1.00 | 0.00 | 1.00 | 1.00 | 1.00 | 1.00 | 0.00 | 0.67 |
cycles | 4.00 | 4.00 | 0.67 | 0.67 | 1.00 | 0.00 | 1.00 | 1.00 | 1.00 | 1.00 | 0.00 | 0.67 |
Cycles executing div or sqrt instructions | 17.00 |
Longest recurrence chain latency (RecMII) | 1.00 |
FE+BE cycles | 17.34-17.40 |
Stall cycles | 14.16-14.22 |
ROB full (events) | 14.34-14.39 |
RS full (events) | 0.72-0.75 |
Front-end | 2.33 |
Dispatch | 4.00 |
DIV/SQRT | 17.00 |
Data deps. | 1.00 |
Overall L1 | 17.00 |
all | 100% |
load | 100% |
store | 100% |
mul | 100% |
add-sub | NA (no add-sub vectorizable/vectorized instructions) |
fma | NA (no fma vectorizable/vectorized instructions) |
div/sqrt | 100% |
other | NA (no other vectorizable/vectorized instructions) |
all | 50% |
load | 50% |
store | 50% |
mul | 50% |
add-sub | NA (no add-sub vectorizable/vectorized instructions) |
fma | NA (no fma vectorizable/vectorized instructions) |
div/sqrt | 50% |
other | NA (no other vectorizable/vectorized instructions) |
Instruction | Nb FU | P0 | P1 | P2 | P3 | P4 | P5 | P6 | P7 | P8 | P9 | P10 | P11 | Latency | Recip. throughput |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
VMOVUPD (%R12,%RSI,8),%YMM6 | 1 | 0 | 0 | 0.33 | 0.33 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.33 | 0-1 | 0.33 |
VMULPD %YMM4,%YMM6,%YMM7 | 1 | 0.50 | 0.50 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 | 0.50 |
VMULPD (%R13,%RSI,8),%YMM7,%YMM7 | 1 | 0.50 | 0.50 | 0.33 | 0.33 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.33 | 4 | 0.50 |
VDIVPD %YMM6,%YMM3,%YMM8 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 13-15 | 8 |
VMOVUPD %YMM7,(%R14,%RSI,8) | 1 | 0 | 0 | 0 | 0 | 0.50 | 0 | 0 | 0.50 | 0.50 | 0.50 | 0 | 0 | 0-1 | 0.50 |
VMULPD %YMM8,%YMM8,%YMM8 | 1 | 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