| Loop Id: 125 | Module: exec | Source: advec_cell_kernel.f90:164-170 | Coverage: 3.5% |
|---|
| Loop Id: 125 | Module: exec | Source: advec_cell_kernel.f90:164-170 | Coverage: 3.5% |
|---|
0x426b20 VMOVUPD (%RSI,%R9,8),%YMM0 [6] |
0x426b26 VMULPD (%R15,%R9,8),%YMM0,%YMM1 [4] |
0x426b2c VADDPD -0x8(%RDI,%R9,8),%YMM1,%YMM2 [2] |
0x426b33 VSUBPD (%RDI,%R9,8),%YMM2,%YMM2 [2] |
0x426b39 VMOVUPD (%R12,%R9,8),%YMM3 [5] |
0x426b3f VFMADD213PD -0x8(%RDX,%R9,8),%YMM1,%YMM3 [3] |
0x426b46 VSUBPD (%RDX,%R9,8),%YMM3,%YMM1 [3] |
0x426b4c VDIVPD %YMM2,%YMM1,%YMM1 |
0x426b50 VADDPD -0x8(%RCX,%R9,8),%YMM0,%YMM0 [1] |
0x426b57 VSUBPD (%RCX,%R9,8),%YMM0,%YMM0 [1] |
0x426b5d VDIVPD %YMM0,%YMM2,%YMM0 |
0x426b61 VMOVUPD %YMM0,(%R15,%R9,8) [4] |
0x426b67 VMOVUPD %YMM1,(%R12,%R9,8) [5] |
0x426b6d ADD $0x4,%R9 |
0x426b71 CMP %R8,%R9 |
0x426b74 JB 426b20 |
/scratch_na/users/xoserete/qaas_runs/171-415-7919/intel/CloverLeafFC/build/CloverLeafFC/CloverLeaf_ref/kernels/advec_cell_kernel.f90: 164 - 170 |
-------------------------------------------------------------------------------- |
164: DO j=x_min,x_max |
165: pre_mass_s=density1(j,k)*pre_vol(j,k) |
166: post_mass_s=pre_mass_s+mass_flux_x(j,k)-mass_flux_x(j+1,k) |
167: post_ener_s=(energy1(j,k)*pre_mass_s+ener_flux(j,k)-ener_flux(j+1,k))/post_mass_s |
168: advec_vol_s=pre_vol(j,k)+vol_flux_x(j,k)-vol_flux_x(j+1,k) |
169: density1(j,k)=post_mass_s/advec_vol_s |
170: energy1(j,k)=post_ener_s |
| 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.36 |
| Bottlenecks | P0, |
| Function | advec_cell_kernel_.DIR.OMP.PARALLEL.2 |
| Source | advec_cell_kernel.f90:164-170 |
| Source loop unroll info | unrolled by 4 |
| Source loop unroll confidence level | high |
| Unroll/vectorization loop type | main |
| Unroll factor | 4 |
| CQA cycles | 16.00 |
| CQA cycles if no scalar integer | 16.00 |
| CQA cycles if FP arith vectorized | 16.00 |
| CQA cycles if fully vectorized | 16.00 |
| Front-end cycles | 3.67 |
| DIV/SQRT cycles | 2.50 |
| P0 cycles | 3.50 |
| P1 cycles | 3.00 |
| P2 cycles | 3.00 |
| P3 cycles | 1.00 |
| P4 cycles | 3.00 |
| P5 cycles | 1.00 |
| P6 cycles | 1.00 |
| P7 cycles | 1.00 |
| P8 cycles | 1.00 |
| P9 cycles | 0.00 |
| P10 cycles | 3.00 |
| P11 cycles | 16.00 |
| Inter-iter dependencies cycles | 1 |
| FE+BE cycles (UFS) | 16.28 - 16.30 |
| Stall cycles (UFS) | 11.84 - 11.86 |
| Nb insns | 16.00 |
| Nb uops | 15.00 |
| Nb loads | 9.00 |
| Nb stores | 2.00 |
| Nb stack references | 0.00 |
| FLOP/cycle | 2.50 |
| 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 | 22.00 |
| Bytes prefetched | 0.00 |
| Bytes loaded | 288.00 |
| Bytes stored | 64.00 |
| Stride 0 | 0.00 |
| Stride 1 | 3.00 |
| Stride n | 3.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 | 4.36 |
| Bottlenecks | P0, |
| Function | advec_cell_kernel_.DIR.OMP.PARALLEL.2 |
| Source | advec_cell_kernel.f90:164-170 |
| Source loop unroll info | unrolled by 4 |
| Source loop unroll confidence level | high |
| Unroll/vectorization loop type | main |
| Unroll factor | 4 |
| CQA cycles | 16.00 |
| CQA cycles if no scalar integer | 16.00 |
| CQA cycles if FP arith vectorized | 16.00 |
| CQA cycles if fully vectorized | 16.00 |
| Front-end cycles | 3.67 |
| DIV/SQRT cycles | 2.50 |
| P0 cycles | 3.50 |
| P1 cycles | 3.00 |
| P2 cycles | 3.00 |
| P3 cycles | 1.00 |
| P4 cycles | 3.00 |
| P5 cycles | 1.00 |
| P6 cycles | 1.00 |
| P7 cycles | 1.00 |
| P8 cycles | 1.00 |
| P9 cycles | 0.00 |
| P10 cycles | 3.00 |
| P11 cycles | 16.00 |
| Inter-iter dependencies cycles | 1 |
| FE+BE cycles (UFS) | 16.28 - 16.30 |
| Stall cycles (UFS) | 11.84 - 11.86 |
| Nb insns | 16.00 |
| Nb uops | 15.00 |
| Nb loads | 9.00 |
| Nb stores | 2.00 |
| Nb stack references | 0.00 |
| FLOP/cycle | 2.50 |
| 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 | 22.00 |
| Bytes prefetched | 0.00 |
| Bytes loaded | 288.00 |
| Bytes stored | 64.00 |
| Stride 0 | 0.00 |
| Stride 1 | 3.00 |
| Stride n | 3.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:164-170 |
| Module | exec |
| nb instructions | 16 |
| nb uops | 15 |
| loop length | 86 |
| used x86 registers | 8 |
| 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 | 3.67 cycles |
| front end | 3.67 cycles |
| P0 | P1 | P2 | P3 | P4 | P5 | P6 | P7 | P8 | P9 | P10 | P11 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| uops | 2.50 | 3.50 | 3.00 | 3.00 | 1.00 | 3.00 | 1.00 | 1.00 | 1.00 | 1.00 | 0.00 | 3.00 |
| cycles | 2.50 | 3.50 | 3.00 | 3.00 | 1.00 | 3.00 | 1.00 | 1.00 | 1.00 | 1.00 | 0.00 | 3.00 |
| Cycles executing div or sqrt instructions | 16.00 |
| Longest recurrence chain latency (RecMII) | 1.00 |
| FE+BE cycles | 16.28-16.30 |
| Stall cycles | 11.84-11.86 |
| LB full (events) | 13.43-13.46 |
| Front-end | 3.67 |
| Dispatch | 3.50 |
| DIV/SQRT | 16.00 |
| Data deps. | 1.00 |
| Overall L1 | 16.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 | P0 | P1 | P2 | P3 | P4 | P5 | P6 | P7 | P8 | P9 | P10 | P11 | Latency | Recip. throughput |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| VMOVUPD (%RSI,%R9,8),%YMM0 | 1 | 0 | 0 | 0.33 | 0.33 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.33 | 0-1 | 0.33 |
| VMULPD (%R15,%R9,8),%YMM0,%YMM1 | 1 | 0.50 | 0.50 | 0.33 | 0.33 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.33 | 4 | 0.50 |
| VADDPD -0x8(%RDI,%R9,8),%YMM1,%YMM2 | 1 | 0 | 0.50 | 0.33 | 0.33 | 0 | 0.50 | 0 | 0 | 0 | 0 | 0 | 0.33 | 3 | 0.50 |
| VSUBPD (%RDI,%R9,8),%YMM2,%YMM2 | 1 | 0 | 0.50 | 0.33 | 0.33 | 0 | 0.50 | 0 | 0 | 0 | 0 | 0 | 0.33 | 3 | 0.50 |
| V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 0.20 | 0 | 0 | 0 | 0.20 | 0 | 1 | 0.20 |
| JB 426b20 <advec_cell_kernel_module_mp_advec_cell_kernel_.DIR.OMP.PARALLEL.2+0xec0> | 1 | 0.50 | 0 | 0 | 0 | 0 | 0 | 0.50 | 0 | 0 | 0 | 0 | 0 | 0 | 0.50 |
| Function | advec_cell_kernel_.DIR.OMP.PARALLEL.2 |
| Source file and lines | advec_cell_kernel.f90:164-170 |
| Module | exec |
| nb instructions | 16 |
| nb uops | 15 |
| loop length | 86 |
| used x86 registers | 8 |
| 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 | 3.67 cycles |
| front end | 3.67 cycles |
| P0 | P1 | P2 | P3 | P4 | P5 | P6 | P7 | P8 | P9 | P10 | P11 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| uops | 2.50 | 3.50 | 3.00 | 3.00 | 1.00 | 3.00 | 1.00 | 1.00 | 1.00 | 1.00 | 0.00 | 3.00 |
| cycles | 2.50 | 3.50 | 3.00 | 3.00 | 1.00 | 3.00 | 1.00 | 1.00 | 1.00 | 1.00 | 0.00 | 3.00 |
| Cycles executing div or sqrt instructions | 16.00 |
| Longest recurrence chain latency (RecMII) | 1.00 |
| FE+BE cycles | 16.28-16.30 |
| Stall cycles | 11.84-11.86 |
| LB full (events) | 13.43-13.46 |
| Front-end | 3.67 |
| Dispatch | 3.50 |
| DIV/SQRT | 16.00 |
| Data deps. | 1.00 |
| Overall L1 | 16.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 | P0 | P1 | P2 | P3 | P4 | P5 | P6 | P7 | P8 | P9 | P10 | P11 | Latency | Recip. throughput |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| VMOVUPD (%RSI,%R9,8),%YMM0 | 1 | 0 | 0 | 0.33 | 0.33 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.33 | 0-1 | 0.33 |
| VMULPD (%R15,%R9,8),%YMM0,%YMM1 | 1 | 0.50 | 0.50 | 0.33 | 0.33 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.33 | 4 | 0.50 |
| VADDPD -0x8(%RDI,%R9,8),%YMM1,%YMM2 | 1 | 0 | 0.50 | 0.33 | 0.33 | 0 | 0.50 | 0 | 0 | 0 | 0 | 0 | 0.33 | 3 | 0.50 |
| VSUBPD (%RDI,%R9,8),%YMM2,%YMM2 | 1 | 0 | 0.50 | 0.33 | 0.33 | 0 | 0.50 | 0 | 0 | 0 | 0 | 0 | 0.33 | 3 | 0.50 |
| VMOVUPD (%R12,%R9,8),%YMM3 | 1 | 0 | 0 | 0.33 | 0.33 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.33 | 0-1 | 0.33 |
| VFMADD213PD -0x8(%RDX,%R9,8),%YMM1,%YMM3 | 1 | 0.50 | 0.50 | 0.33 | 0.33 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.33 | 4 | 0.50 |
| VSUBPD (%RDX,%R9,8),%YMM3,%YMM1 | 1 | 0 | 0.50 | 0.33 | 0.33 | 0 | 0.50 | 0 | 0 | 0 | 0 | 0 | 0.33 | 3 | 0.50 |
| VDIVPD %YMM2,%YMM1,%YMM1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 13-15 | 8 |
| VADDPD -0x8(%RCX,%R9,8),%YMM0,%YMM0 | 1 | 0 | 0.50 | 0.33 | 0.33 | 0 | 0.50 | 0 | 0 | 0 | 0 | 0 | 0.33 | 3 | 0.50 |
| VSUBPD (%RCX,%R9,8),%YM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