Loop Id: 192 | Module: exec | Source: ideal_gas.cpp:38-46 [...] | Coverage: 3.22% |
---|
Loop Id: 192 | Module: exec | Source: ideal_gas.cpp:38-46 [...] | Coverage: 3.22% |
---|
0x42b790 VMOVDQA64 %ZMM17,%ZMM0 |
0x42b796 VMOVDQA64 %ZMM16,%ZMM1 |
0x42b79c MOV $0x451520,%RAX |
0x42b7a3 CALL %RAX |
0x42b7a5 VPADDQ %ZMM18,%ZMM0,%ZMM29 |
0x42b7ab VMOVDQA64 %ZMM17,%ZMM0 |
0x42b7b1 VMOVDQA64 %ZMM16,%ZMM1 |
0x42b7b7 CALL 4513a0 <__svml_i64rem8_z0> |
0x42b7bd VPADDQ %ZMM19,%ZMM0,%ZMM0 |
0x42b7c3 VPSLLQ $0x20,%ZMM0,%ZMM0 |
0x42b7ca VPSLLQ $0x20,%ZMM29,%ZMM1 |
0x42b7d1 VPSRAQ $0x20,%ZMM0,%ZMM0 |
0x42b7d8 VPSRAQ $0x20,%ZMM1,%ZMM1 |
0x42b7df VPXOR %XMM2,%XMM2,%XMM2 |
0x42b7e3 VPMULLQ %ZMM1,%ZMM20,%ZMM2 |
0x42b7e9 KXNORW %K0,%K0,%K1 |
0x42b7ed VPADDQ %ZMM0,%ZMM2,%ZMM2 |
0x42b7f3 VXORPD %XMM3,%XMM3,%XMM3 |
0x42b7f7 VGATHERQPD (%R13,%ZMM2,8),%ZMM3{%K1} [1] |
0x42b7ff VPXOR %XMM4,%XMM4,%XMM4 |
0x42b803 VPMULLQ %ZMM1,%ZMM21,%ZMM4 |
0x42b809 KXNORW %K0,%K0,%K1 |
0x42b80d VPADDQ %ZMM0,%ZMM4,%ZMM4 |
0x42b813 VXORPD %XMM5,%XMM5,%XMM5 |
0x42b817 VGATHERQPD (%R12,%ZMM4,8),%ZMM5{%K1} [3] |
0x42b81e VPXOR %XMM4,%XMM4,%XMM4 |
0x42b822 VPMULLQ %ZMM1,%ZMM22,%ZMM4 |
0x42b828 VMULPD %ZMM25,%ZMM3,%ZMM6 |
0x42b82e VMULPD %ZMM5,%ZMM6,%ZMM5 |
0x42b834 VPADDQ %ZMM0,%ZMM4,%ZMM4 |
0x42b83a KXNORW %K0,%K0,%K1 |
0x42b83e KXNORW %K0,%K0,%K2 |
0x42b842 VSCATTERQPD %ZMM5,(%RBX,%ZMM4,8){%K1} [2] |
0x42b849 VXORPD %XMM4,%XMM4,%XMM4 |
0x42b84d VGATHERQPD (%R13,%ZMM2,8),%ZMM4{%K2} [1] |
0x42b855 VDIVPD %ZMM3,%ZMM24,%ZMM2 |
0x42b85b VANDPD %ZMM27,%ZMM2,%ZMM2 |
0x42b861 VMULPD %ZMM26,%ZMM5,%ZMM3 |
0x42b867 VMULPD %ZMM4,%ZMM3,%ZMM3 |
0x42b86d VSQRTPD %ZMM3,%ZMM3 |
0x42b873 VMULPD %ZMM2,%ZMM3,%ZMM2 |
0x42b879 VPMULLQ %ZMM1,%ZMM23,%ZMM1 |
0x42b87f VPADDQ %ZMM0,%ZMM1,%ZMM0 |
0x42b885 KXNORW %K0,%K0,%K1 |
0x42b889 VSCATTERQPD %ZMM2,(%R15,%ZMM0,8){%K1} [4] |
0x42b890 VPADDQ %ZMM28,%ZMM17,%ZMM17 |
0x42b896 ADD $0x8,%R14 |
0x42b89a CMP %RDI,%R14 |
0x42b89d JB 42b790 |
/scratch_na/users/xoserete/qaas_runs/171-291-1828/intel/CloverLeafCXX/build/CloverLeafCXX/src/omp/context.h: 69 - 69 |
-------------------------------------------------------------------------------- |
69: T &operator()(size_t i, size_t j) const { return data[i + j * sizeX]; } |
/scratch_na/users/xoserete/qaas_runs/171-291-1828/intel/CloverLeafCXX/build/CloverLeafCXX/src/omp/ideal_gas.cpp: 38 - 46 |
-------------------------------------------------------------------------------- |
38: for (int j = (y_min + 1); j < (y_max + 2); j++) { |
39: for (int i = (x_min + 1); i < (x_max + 2); i++) { |
40: double v = 1.0 / density(i, j); |
41: pressure(i, j) = (1.4 - 1.0) * density(i, j) * energy(i, j); |
42: double pressurebyenergy = (1.4 - 1.0) * density(i, j); |
43: double pressurebyvolume = -density(i, j) * pressure(i, j); |
44: double sound_speed_squared = v * v * (pressure(i, j) * pressurebyenergy - pressurebyvolume); |
45: soundspeed(i, j) = std::sqrt(sound_speed_squared); |
46: } |
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 | 1.28 |
Bottlenecks | P0, |
Function | ideal_gas_kernel(int, int, int, int, clover::Buffer2D |
Source | context.h:69-69,ideal_gas.cpp:38-46 |
Source loop unroll info | unrolled by 8 |
Source loop unroll confidence level | high |
Unroll/vectorization loop type | main |
Unroll factor | 8 |
CQA cycles | 34.00 |
CQA cycles if no scalar integer | 34.00 |
CQA cycles if FP arith vectorized | 34.00 |
CQA cycles if fully vectorized | 34.00 |
Front-end cycles | 20.00 |
DIV/SQRT cycles | 26.50 |
P0 cycles | 2.50 |
P1 cycles | 8.00 |
P2 cycles | 8.00 |
P3 cycles | 9.00 |
P4 cycles | 26.50 |
P5 cycles | 2.00 |
P6 cycles | 9.00 |
P7 cycles | 9.00 |
P8 cycles | 9.00 |
P9 cycles | 1.40 |
P10 cycles | 8.00 |
P11 cycles | 34.00 |
Inter-iter dependencies cycles | 1 |
FE+BE cycles (UFS) | 49.50 - 151.15 |
Stall cycles (UFS) | 33.90 - 135.59 |
Nb insns | 49.00 |
Nb uops | 120.00 |
Nb loads | 3.00 |
Nb stores | 2.00 |
Nb stack references | 0.00 |
FLOP/cycle | 1.65 |
Nb FLOP add-sub | 0.00 |
Nb FLOP mul | 40.00 |
Nb FLOP fma | 0.00 |
Nb FLOP div | 8.00 |
Nb FLOP rcp | 0.00 |
Nb FLOP sqrt | 8.00 |
Nb FLOP rsqrt | 0.00 |
Bytes/cycle | 9.41 |
Bytes prefetched | 0.00 |
Bytes loaded | 192.00 |
Bytes stored | 128.00 |
Stride 0 | 0.00 |
Stride 1 | 0.00 |
Stride n | 0.00 |
Stride unknown | 0.00 |
Stride indirect | 4.00 |
Vectorization ratio all | 97.44 |
Vectorization ratio load | 100.00 |
Vectorization ratio store | 100.00 |
Vectorization ratio mul | 100.00 |
Vectorization ratio add_sub | 100.00 |
Vectorization ratio fma | NA |
Vectorization ratio div_sqrt | 100.00 |
Vectorization ratio other | 94.74 |
Vector-efficiency ratio all | 86.06 |
Vector-efficiency ratio load | 100.00 |
Vector-efficiency ratio store | 100.00 |
Vector-efficiency ratio mul | 100.00 |
Vector-efficiency ratio add_sub | 100.00 |
Vector-efficiency ratio fma | NA |
Vector-efficiency ratio div_sqrt | 100.00 |
Vector-efficiency ratio other | 71.38 |
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 | 1.28 |
Bottlenecks | P0, |
Function | ideal_gas_kernel(int, int, int, int, clover::Buffer2D |
Source | context.h:69-69,ideal_gas.cpp:38-46 |
Source loop unroll info | unrolled by 8 |
Source loop unroll confidence level | high |
Unroll/vectorization loop type | main |
Unroll factor | 8 |
CQA cycles | 34.00 |
CQA cycles if no scalar integer | 34.00 |
CQA cycles if FP arith vectorized | 34.00 |
CQA cycles if fully vectorized | 34.00 |
Front-end cycles | 20.00 |
DIV/SQRT cycles | 26.50 |
P0 cycles | 2.50 |
P1 cycles | 8.00 |
P2 cycles | 8.00 |
P3 cycles | 9.00 |
P4 cycles | 26.50 |
P5 cycles | 2.00 |
P6 cycles | 9.00 |
P7 cycles | 9.00 |
P8 cycles | 9.00 |
P9 cycles | 1.40 |
P10 cycles | 8.00 |
P11 cycles | 34.00 |
Inter-iter dependencies cycles | 1 |
FE+BE cycles (UFS) | 49.50 - 151.15 |
Stall cycles (UFS) | 33.90 - 135.59 |
Nb insns | 49.00 |
Nb uops | 120.00 |
Nb loads | 3.00 |
Nb stores | 2.00 |
Nb stack references | 0.00 |
FLOP/cycle | 1.65 |
Nb FLOP add-sub | 0.00 |
Nb FLOP mul | 40.00 |
Nb FLOP fma | 0.00 |
Nb FLOP div | 8.00 |
Nb FLOP rcp | 0.00 |
Nb FLOP sqrt | 8.00 |
Nb FLOP rsqrt | 0.00 |
Bytes/cycle | 9.41 |
Bytes prefetched | 0.00 |
Bytes loaded | 192.00 |
Bytes stored | 128.00 |
Stride 0 | 0.00 |
Stride 1 | 0.00 |
Stride n | 0.00 |
Stride unknown | 0.00 |
Stride indirect | 4.00 |
Vectorization ratio all | 97.44 |
Vectorization ratio load | 100.00 |
Vectorization ratio store | 100.00 |
Vectorization ratio mul | 100.00 |
Vectorization ratio add_sub | 100.00 |
Vectorization ratio fma | NA |
Vectorization ratio div_sqrt | 100.00 |
Vectorization ratio other | 94.74 |
Vector-efficiency ratio all | 86.06 |
Vector-efficiency ratio load | 100.00 |
Vector-efficiency ratio store | 100.00 |
Vector-efficiency ratio mul | 100.00 |
Vector-efficiency ratio add_sub | 100.00 |
Vector-efficiency ratio fma | NA |
Vector-efficiency ratio div_sqrt | 100.00 |
Vector-efficiency ratio other | 71.38 |
Path / |
Function | ideal_gas_kernel(int, int, int, int, clover::Buffer2D |
Source file and lines | ideal_gas.cpp:38-46 |
Module | exec |
nb instructions | 49 |
nb uops | 120 |
loop length | 275 |
used x86 registers | 7 |
used mmx registers | 0 |
used xmm registers | 4 |
used ymm registers | 0 |
used zmm registers | 21 |
nb stack references | 0 |
micro-operation queue | 20.00 cycles |
front end | 20.00 cycles |
P0 | P1 | P2 | P3 | P4 | P5 | P6 | P7 | P8 | P9 | P10 | P11 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|
uops | 26.50 | 1.60 | 8.00 | 8.00 | 9.00 | 26.50 | 2.00 | 9.00 | 9.00 | 9.00 | 1.40 | 8.00 |
cycles | 26.50 | 2.50 | 8.00 | 8.00 | 9.00 | 26.50 | 2.00 | 9.00 | 9.00 | 9.00 | 1.40 | 8.00 |
Cycles executing div or sqrt instructions | 34.00 |
Longest recurrence chain latency (RecMII) | 1.00 |
FE+BE cycles | 49.50-151.15 |
Stall cycles | 33.90-135.59 |
RS full (events) | 46.00-149.64 |
Front-end | 20.00 |
Dispatch | 26.50 |
DIV/SQRT | 34.00 |
Data deps. | 1.00 |
Overall L1 | 34.00 |
all | 95% |
load | NA (no load vectorizable/vectorized instructions) |
store | NA (no store vectorizable/vectorized instructions) |
mul | 100% |
add-sub | 100% |
fma | NA (no fma vectorizable/vectorized instructions) |
other | 91% |
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 | 100% |
all | 97% |
load | 100% |
store | 100% |
mul | 100% |
add-sub | 100% |
fma | NA (no fma vectorizable/vectorized instructions) |
div/sqrt | 100% |
other | 94% |
all | 86% |
load | NA (no load vectorizable/vectorized instructions) |
store | NA (no store vectorizable/vectorized instructions) |
mul | 100% |
add-sub | 100% |
fma | NA (no fma vectorizable/vectorized instructions) |
other | 73% |
all | 85% |
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 | 67% |
all | 86% |
load | 100% |
store | 100% |
mul | 100% |
add-sub | 100% |
fma | NA (no fma vectorizable/vectorized instructions) |
div/sqrt | 100% |
other | 71% |
Instruction | Nb FU | P0 | P1 | P2 | P3 | P4 | P5 | P6 | P7 | P8 | P9 | P10 | P11 | Latency | Recip. throughput |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
VMOVDQA64 %ZMM17,%ZMM0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0-1 | 0.17 |
VMOVDQA64 %ZMM16,%ZMM1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 |
CMP %RDI,%R14 | 1 | 0.20 | 0.20 | 0 | 0 | 0 | 0.20 | 0.20 | 0 | 0 | 0 | 0.20 | 0 | 1 | 0.20 |
JB 42b790 <_Z16ideal_gas_kerneliiiiRN6clover8Buffer2DIdEES2_S2_S2_.extracted+0x190> | 1 | 0.50 | 0 | 0 | 0 | 0 | 0 | 0.50 | 0 | 0 | 0 | 0 | 0 | 0 | 0.50 |
Function | ideal_gas_kernel(int, int, int, int, clover::Buffer2D |
Source file and lines | ideal_gas.cpp:38-46 |
Module | exec |
nb instructions | 49 |
nb uops | 120 |
loop length | 275 |
used x86 registers | 7 |
used mmx registers | 0 |
used xmm registers | 4 |
used ymm registers | 0 |
used zmm registers | 21 |
nb stack references | 0 |
micro-operation queue | 20.00 cycles |
front end | 20.00 cycles |
P0 | P1 | P2 | P3 | P4 | P5 | P6 | P7 | P8 | P9 | P10 | P11 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|
uops | 26.50 | 1.60 | 8.00 | 8.00 | 9.00 | 26.50 | 2.00 | 9.00 | 9.00 | 9.00 | 1.40 | 8.00 |
cycles | 26.50 | 2.50 | 8.00 | 8.00 | 9.00 | 26.50 | 2.00 | 9.00 | 9.00 | 9.00 | 1.40 | 8.00 |
Cycles executing div or sqrt instructions | 34.00 |
Longest recurrence chain latency (RecMII) | 1.00 |
FE+BE cycles | 49.50-151.15 |
Stall cycles | 33.90-135.59 |
RS full (events) | 46.00-149.64 |
Front-end | 20.00 |
Dispatch | 26.50 |
DIV/SQRT | 34.00 |
Data deps. | 1.00 |
Overall L1 | 34.00 |
all | 95% |
load | NA (no load vectorizable/vectorized instructions) |
store | NA (no store vectorizable/vectorized instructions) |
mul | 100% |
add-sub | 100% |
fma | NA (no fma vectorizable/vectorized instructions) |
other | 91% |
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 | 100% |
all | 97% |
load | 100% |
store | 100% |
mul | 100% |
add-sub | 100% |
fma | NA (no fma vectorizable/vectorized instructions) |
div/sqrt | 100% |
other | 94% |
all | 86% |
load | NA (no load vectorizable/vectorized instructions) |
store | NA (no store vectorizable/vectorized instructions) |
mul | 100% |
add-sub | 100% |
fma | NA (no fma vectorizable/vectorized instructions) |
other | 73% |
all | 85% |
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 | 67% |
all | 86% |
load | 100% |
store | 100% |
mul | 100% |
add-sub | 100% |
fma | NA (no fma vectorizable/vectorized instructions) |
div/sqrt | 100% |
other | 71% |
Instruction | Nb FU | P0 | P1 | P2 | P3 | P4 | P5 | P6 | P7 | P8 | P9 | P10 | P11 | Latency | Recip. throughput |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
VMOVDQA64 %ZMM17,%ZMM0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0-1 | 0.17 |
VMOVDQA64 %ZMM16,%ZMM1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0-1 | 0.17 |
MOV $0x451520,%RAX | 1 | 0.20 | 0.20 | 0 | 0 | 0 | 0.20 | 0.20 | 0 | 0 | 0 | 0.20 | 0 | 1 | 0.20 |
CALL %RAX | 2 | 0.50 | 0 | 0 | 0 | 0.50 | 0 | 0.50 | 0.50 | 0.50 | 0.50 | 0 | 0 | 0 | 2.14 |
VPADDQ %ZMM18,%ZMM0,%ZMM29 | 1 | 0.50 | 0 | 0 | 0 | 0 | 0.50 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.50 |
VMOVDQA64 %ZMM17,%ZMM0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0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