Task #132970 - added.err
back to task #132970download
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/common/convolution_avx.c:33:9: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
# 31|
# 32| for (int k = 0; k < filter_width; k++) {
# 33|-> f[k] = _mm256_broadcast_ss(filter + k);
# 34| }
# 35|
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/common/convolution_avx.c:33:16: note[note]: called from here
# 31|
# 32| for (int k = 0; k < filter_width; k++) {
# 33|-> f[k] = _mm256_broadcast_ss(filter + k);
# 34| }
# 35|
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/common/convolution_avx.c:37:22: note[note]: called from here
# 35|
# 36| for (int j = 0; j < j_end; j += AVX_STEP) {
# 37|-> __m256 sum = _mm256_setzero_ps();
# 38|
# 39| for (int k = 0; k < filter_width; k++) {
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/common/convolution_avx.c:40:24: note[note]: called from here
# 38|
# 39| for (int k = 0; k < filter_width; k++) {
# 40|-> __m256 g = _mm256_loadu_ps(src + j + k);
# 41| g = _mm256_mul_ps(f[k], g);
# 42| sum = _mm256_add_ps(sum, g);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/common/convolution_avx.c:41:17: note[note]: called from here
# 39| for (int k = 0; k < filter_width; k++) {
# 40| __m256 g = _mm256_loadu_ps(src + j + k);
# 41|-> g = _mm256_mul_ps(f[k], g);
# 42| sum = _mm256_add_ps(sum, g);
# 43| }
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/common/convolution_avx.c:42:19: note[note]: called from here
# 40| __m256 g = _mm256_loadu_ps(src + j + k);
# 41| g = _mm256_mul_ps(f[k], g);
# 42|-> sum = _mm256_add_ps(sum, g);
# 43| }
# 44|
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/common/convolution_avx.c:45:9: note[note]: called from here
# 43| }
# 44|
# 45|-> _mm256_storeu_ps(dst + j + radius, sum);
# 46| }
# 47| }
Error: GCC_ANALYZER_WARNING (CWE-835):
vmaf-3.2.0/libvmaf/src/feature/feature_collector.c:449:12: warning[-Wanalyzer-infinite-loop]: infinite loop
vmaf-3.2.0/libvmaf/src/feature/feature_collector.c:449:12: danger: infinite loop here
vmaf-3.2.0/libvmaf/src/feature/feature_collector.c:449:12: branch_true: if it ever follows ‘true’ branch, it will always do so...
vmaf-3.2.0/libvmaf/src/feature/feature_collector.c:450:9: branch_true: ...to here
# 447| for (unsigned i = 0; i < feature_collector->cnt; i++)
# 448| feature_vector_destroy(feature_collector->feature_vector[i]);
# 449|-> while (feature_collector->models)
# 450| vmaf_feature_collector_unmount_model(feature_collector,
# 451| feature_collector->models->model);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx2.c:1345:1: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
# 1343|
# 1344| static inline __m256i blend(__m256i a, __m256i b, __m256i mask)
# 1345|-> {
# 1346| return _mm256_or_si256(_mm256_and_si256(mask, a), _mm256_andnot_si256(mask, b));
# 1347| }
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx2.c:1346:12: note[note]: called from here
# 1344| static inline __m256i blend(__m256i a, __m256i b, __m256i mask)
# 1345| {
# 1346|-> return _mm256_or_si256(_mm256_and_si256(mask, a), _mm256_andnot_si256(mask, b));
# 1347| }
# 1348|
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx2.c:1349:23: note[note]: the ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
# 1347| }
# 1348|
# 1349|-> static inline __m256i sra_epi64(__m256i a, __m256i mask)
# 1350| {
# 1351| __m256i rl_shift = _mm256_srlv_epi64(a, mask); // logical shift
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:821:12: warning[-Wpsabi]: AVX512F vector return without AVX512F enabled changes the ABI
# 819|
# 820| int right_mod16 = right - ((right-left) % 16);
# 821|-> __m512 inv_32768 = _mm512_set1_ps(1.0f / 32768.0f);
# 822| __m512 inv_4096 = _mm512_set1_ps(1.0f / 4096.0f);
# 823| __m512 inv_64 = _mm512_set1_ps(1.0f / 64.0f);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:821:24: note[note]: called from here
# 819|
# 820| int right_mod16 = right - ((right-left) % 16);
# 821|-> __m512 inv_32768 = _mm512_set1_ps(1.0f / 32768.0f);
# 822| __m512 inv_4096 = _mm512_set1_ps(1.0f / 4096.0f);
# 823| __m512 inv_64 = _mm512_set1_ps(1.0f / 64.0f);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:822:23: note[note]: called from here
# 820| int right_mod16 = right - ((right-left) % 16);
# 821| __m512 inv_32768 = _mm512_set1_ps(1.0f / 32768.0f);
# 822|-> __m512 inv_4096 = _mm512_set1_ps(1.0f / 4096.0f);
# 823| __m512 inv_64 = _mm512_set1_ps(1.0f / 64.0f);
# 824| __m512d cos_1deg_sq_pd = _mm512_set1_pd(const_cos_1deg_sq);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:823:21: note[note]: called from here
# 821| __m512 inv_32768 = _mm512_set1_ps(1.0f / 32768.0f);
# 822| __m512 inv_4096 = _mm512_set1_ps(1.0f / 4096.0f);
# 823|-> __m512 inv_64 = _mm512_set1_ps(1.0f / 64.0f);
# 824| __m512d cos_1deg_sq_pd = _mm512_set1_pd(const_cos_1deg_sq);
# 825|
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:824:30: note[note]: called from here
# 822| __m512 inv_4096 = _mm512_set1_ps(1.0f / 4096.0f);
# 823| __m512 inv_64 = _mm512_set1_ps(1.0f / 64.0f);
# 824|-> __m512d cos_1deg_sq_pd = _mm512_set1_pd(const_cos_1deg_sq);
# 825|
# 826| for (int i = top; i < bottom; ++i) {
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:828:26: note[note]: called from here
# 826| for (int i = top; i < bottom; ++i) {
# 827| for (int j = left; j < right_mod16; j += 16) {
# 828|-> __m512i oh = _mm512_cvtepi16_epi32(_mm256_loadu_si256((__m256i*)(ref->band_h + i * stride + j)));
# 829| __m512i ov = _mm512_cvtepi16_epi32(_mm256_loadu_si256((__m256i*)(ref->band_v + i * stride + j)));
# 830| __m512i od = _mm512_cvtepi16_epi32(_mm256_loadu_si256((__m256i*)(ref->band_d + i * stride + j)));
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:828:26: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
# 826| for (int i = top; i < bottom; ++i) {
# 827| for (int j = left; j < right_mod16; j += 16) {
# 828|-> __m512i oh = _mm512_cvtepi16_epi32(_mm256_loadu_si256((__m256i*)(ref->band_h + i * stride + j)));
# 829| __m512i ov = _mm512_cvtepi16_epi32(_mm256_loadu_si256((__m256i*)(ref->band_v + i * stride + j)));
# 830| __m512i od = _mm512_cvtepi16_epi32(_mm256_loadu_si256((__m256i*)(ref->band_d + i * stride + j)));
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:829:26: note[note]: called from here
# 827| for (int j = left; j < right_mod16; j += 16) {
# 828| __m512i oh = _mm512_cvtepi16_epi32(_mm256_loadu_si256((__m256i*)(ref->band_h + i * stride + j)));
# 829|-> __m512i ov = _mm512_cvtepi16_epi32(_mm256_loadu_si256((__m256i*)(ref->band_v + i * stride + j)));
# 830| __m512i od = _mm512_cvtepi16_epi32(_mm256_loadu_si256((__m256i*)(ref->band_d + i * stride + j)));
# 831| __m512i th = _mm512_cvtepi16_epi32(_mm256_loadu_si256((__m256i*)(dis->band_h + i * stride + j)));
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:830:26: note[note]: called from here
# 828| __m512i oh = _mm512_cvtepi16_epi32(_mm256_loadu_si256((__m256i*)(ref->band_h + i * stride + j)));
# 829| __m512i ov = _mm512_cvtepi16_epi32(_mm256_loadu_si256((__m256i*)(ref->band_v + i * stride + j)));
# 830|-> __m512i od = _mm512_cvtepi16_epi32(_mm256_loadu_si256((__m256i*)(ref->band_d + i * stride + j)));
# 831| __m512i th = _mm512_cvtepi16_epi32(_mm256_loadu_si256((__m256i*)(dis->band_h + i * stride + j)));
# 832| __m512i tv = _mm512_cvtepi16_epi32(_mm256_loadu_si256((__m256i*)(dis->band_v + i * stride + j)));
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:831:26: note[note]: called from here
# 829| __m512i ov = _mm512_cvtepi16_epi32(_mm256_loadu_si256((__m256i*)(ref->band_v + i * stride + j)));
# 830| __m512i od = _mm512_cvtepi16_epi32(_mm256_loadu_si256((__m256i*)(ref->band_d + i * stride + j)));
# 831|-> __m512i th = _mm512_cvtepi16_epi32(_mm256_loadu_si256((__m256i*)(dis->band_h + i * stride + j)));
# 832| __m512i tv = _mm512_cvtepi16_epi32(_mm256_loadu_si256((__m256i*)(dis->band_v + i * stride + j)));
# 833| __m512i td = _mm512_cvtepi16_epi32(_mm256_loadu_si256((__m256i*)(dis->band_d + i * stride + j)));
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:832:26: note[note]: called from here
# 830| __m512i od = _mm512_cvtepi16_epi32(_mm256_loadu_si256((__m256i*)(ref->band_d + i * stride + j)));
# 831| __m512i th = _mm512_cvtepi16_epi32(_mm256_loadu_si256((__m256i*)(dis->band_h + i * stride + j)));
# 832|-> __m512i tv = _mm512_cvtepi16_epi32(_mm256_loadu_si256((__m256i*)(dis->band_v + i * stride + j)));
# 833| __m512i td = _mm512_cvtepi16_epi32(_mm256_loadu_si256((__m256i*)(dis->band_d + i * stride + j)));
# 834|
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:833:26: note[note]: called from here
# 831| __m512i th = _mm512_cvtepi16_epi32(_mm256_loadu_si256((__m256i*)(dis->band_h + i * stride + j)));
# 832| __m512i tv = _mm512_cvtepi16_epi32(_mm256_loadu_si256((__m256i*)(dis->band_v + i * stride + j)));
# 833|-> __m512i td = _mm512_cvtepi16_epi32(_mm256_loadu_si256((__m256i*)(dis->band_d + i * stride + j)));
# 834|
# 835| // Calculate angle_flag using double precision
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:836:29: note[note]: called from here
# 834|
# 835| // Calculate angle_flag using double precision
# 836|-> __m512i oh_ov = _mm512_or_si512(_mm512_and_si512(oh, _mm512_set1_epi32(0xFFFF)), _mm512_slli_epi32(ov, 16));
# 837| __m512i th_tv = _mm512_or_si512(_mm512_and_si512(th, _mm512_set1_epi32(0xFFFF)), _mm512_slli_epi32(tv, 16));
# 838|
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:837:29: note[note]: called from here
# 835| // Calculate angle_flag using double precision
# 836| __m512i oh_ov = _mm512_or_si512(_mm512_and_si512(oh, _mm512_set1_epi32(0xFFFF)), _mm512_slli_epi32(ov, 16));
# 837|-> __m512i th_tv = _mm512_or_si512(_mm512_and_si512(th, _mm512_set1_epi32(0xFFFF)), _mm512_slli_epi32(tv, 16));
# 838|
# 839| __m512i o_mag_sq = _mm512_madd_epi16(oh_ov, oh_ov);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:839:32: note[note]: called from here
# 837| __m512i th_tv = _mm512_or_si512(_mm512_and_si512(th, _mm512_set1_epi32(0xFFFF)), _mm512_slli_epi32(tv, 16));
# 838|
# 839|-> __m512i o_mag_sq = _mm512_madd_epi16(oh_ov, oh_ov);
# 840| __m512i ot_dp = _mm512_madd_epi16(oh_ov, th_tv);
# 841| __m512i t_mag_sq = _mm512_madd_epi16(th_tv, th_tv);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:840:29: note[note]: called from here
# 838|
# 839| __m512i o_mag_sq = _mm512_madd_epi16(oh_ov, oh_ov);
# 840|-> __m512i ot_dp = _mm512_madd_epi16(oh_ov, th_tv);
# 841| __m512i t_mag_sq = _mm512_madd_epi16(th_tv, th_tv);
# 842|
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:841:32: note[note]: called from here
# 839| __m512i o_mag_sq = _mm512_madd_epi16(oh_ov, oh_ov);
# 840| __m512i ot_dp = _mm512_madd_epi16(oh_ov, th_tv);
# 841|-> __m512i t_mag_sq = _mm512_madd_epi16(th_tv, th_tv);
# 842|
# 843| __m512 ot_dp_ps = _mm512_mul_ps(inv_4096, _mm512_cvtepi32_ps(ot_dp));
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:843:31: note[note]: called from here
# 841| __m512i t_mag_sq = _mm512_madd_epi16(th_tv, th_tv);
# 842|
# 843|-> __m512 ot_dp_ps = _mm512_mul_ps(inv_4096, _mm512_cvtepi32_ps(ot_dp));
# 844| __m512 o_mag_sq_ps = _mm512_mul_ps(inv_4096, _mm512_cvtepi32_ps(o_mag_sq));
# 845| __m512 t_mag_sq_ps = _mm512_mul_ps(inv_4096, _mm512_cvtepi32_ps(t_mag_sq));
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:844:34: note[note]: called from here
# 842|
# 843| __m512 ot_dp_ps = _mm512_mul_ps(inv_4096, _mm512_cvtepi32_ps(ot_dp));
# 844|-> __m512 o_mag_sq_ps = _mm512_mul_ps(inv_4096, _mm512_cvtepi32_ps(o_mag_sq));
# 845| __m512 t_mag_sq_ps = _mm512_mul_ps(inv_4096, _mm512_cvtepi32_ps(t_mag_sq));
# 846|
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:845:34: note[note]: called from here
# 843| __m512 ot_dp_ps = _mm512_mul_ps(inv_4096, _mm512_cvtepi32_ps(ot_dp));
# 844| __m512 o_mag_sq_ps = _mm512_mul_ps(inv_4096, _mm512_cvtepi32_ps(o_mag_sq));
# 845|-> __m512 t_mag_sq_ps = _mm512_mul_ps(inv_4096, _mm512_cvtepi32_ps(t_mag_sq));
# 846|
# 847| __mmask16 gt_0 = _mm512_cmp_ps_mask(ot_dp_ps, _mm512_setzero_ps(), 13);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:847:30: note[note]: called from here
# 845| __m512 t_mag_sq_ps = _mm512_mul_ps(inv_4096, _mm512_cvtepi32_ps(t_mag_sq));
# 846|
# 847|-> __mmask16 gt_0 = _mm512_cmp_ps_mask(ot_dp_ps, _mm512_setzero_ps(), 13);
# 848| __m512d ot_dp_pd_lo = _mm512_cvtps_pd(_mm512_castps512_ps256(ot_dp_ps));
# 849| __m512d ot_dp_pd_hi = _mm512_cvtps_pd(_mm512_extractf32x8_ps(ot_dp_ps, 1));
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:848:35: note[note]: called from here
# 846|
# 847| __mmask16 gt_0 = _mm512_cmp_ps_mask(ot_dp_ps, _mm512_setzero_ps(), 13);
# 848|-> __m512d ot_dp_pd_lo = _mm512_cvtps_pd(_mm512_castps512_ps256(ot_dp_ps));
# 849| __m512d ot_dp_pd_hi = _mm512_cvtps_pd(_mm512_extractf32x8_ps(ot_dp_ps, 1));
# 850| __m512d ot_dp_sq_lo = _mm512_mul_pd(ot_dp_pd_lo, ot_dp_pd_lo);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:849:35: note[note]: called from here
# 847| __mmask16 gt_0 = _mm512_cmp_ps_mask(ot_dp_ps, _mm512_setzero_ps(), 13);
# 848| __m512d ot_dp_pd_lo = _mm512_cvtps_pd(_mm512_castps512_ps256(ot_dp_ps));
# 849|-> __m512d ot_dp_pd_hi = _mm512_cvtps_pd(_mm512_extractf32x8_ps(ot_dp_ps, 1));
# 850| __m512d ot_dp_sq_lo = _mm512_mul_pd(ot_dp_pd_lo, ot_dp_pd_lo);
# 851| __m512d ot_dp_sq_hi = _mm512_mul_pd(ot_dp_pd_hi, ot_dp_pd_hi);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:850:35: note[note]: called from here
# 848| __m512d ot_dp_pd_lo = _mm512_cvtps_pd(_mm512_castps512_ps256(ot_dp_ps));
# 849| __m512d ot_dp_pd_hi = _mm512_cvtps_pd(_mm512_extractf32x8_ps(ot_dp_ps, 1));
# 850|-> __m512d ot_dp_sq_lo = _mm512_mul_pd(ot_dp_pd_lo, ot_dp_pd_lo);
# 851| __m512d ot_dp_sq_hi = _mm512_mul_pd(ot_dp_pd_hi, ot_dp_pd_hi);
# 852| __m512d o_mag_sq_pd_lo = _mm512_cvtps_pd(_mm512_castps512_ps256(o_mag_sq_ps));
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:851:35: note[note]: called from here
# 849| __m512d ot_dp_pd_hi = _mm512_cvtps_pd(_mm512_extractf32x8_ps(ot_dp_ps, 1));
# 850| __m512d ot_dp_sq_lo = _mm512_mul_pd(ot_dp_pd_lo, ot_dp_pd_lo);
# 851|-> __m512d ot_dp_sq_hi = _mm512_mul_pd(ot_dp_pd_hi, ot_dp_pd_hi);
# 852| __m512d o_mag_sq_pd_lo = _mm512_cvtps_pd(_mm512_castps512_ps256(o_mag_sq_ps));
# 853| __m512d o_mag_sq_pd_hi = _mm512_cvtps_pd(_mm512_extractf32x8_ps(o_mag_sq_ps, 1));
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:852:38: note[note]: called from here
# 850| __m512d ot_dp_sq_lo = _mm512_mul_pd(ot_dp_pd_lo, ot_dp_pd_lo);
# 851| __m512d ot_dp_sq_hi = _mm512_mul_pd(ot_dp_pd_hi, ot_dp_pd_hi);
# 852|-> __m512d o_mag_sq_pd_lo = _mm512_cvtps_pd(_mm512_castps512_ps256(o_mag_sq_ps));
# 853| __m512d o_mag_sq_pd_hi = _mm512_cvtps_pd(_mm512_extractf32x8_ps(o_mag_sq_ps, 1));
# 854| __m512d t_mag_sq_pd_lo = _mm512_cvtps_pd(_mm512_castps512_ps256(t_mag_sq_ps));
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:853:38: note[note]: called from here
# 851| __m512d ot_dp_sq_hi = _mm512_mul_pd(ot_dp_pd_hi, ot_dp_pd_hi);
# 852| __m512d o_mag_sq_pd_lo = _mm512_cvtps_pd(_mm512_castps512_ps256(o_mag_sq_ps));
# 853|-> __m512d o_mag_sq_pd_hi = _mm512_cvtps_pd(_mm512_extractf32x8_ps(o_mag_sq_ps, 1));
# 854| __m512d t_mag_sq_pd_lo = _mm512_cvtps_pd(_mm512_castps512_ps256(t_mag_sq_ps));
# 855| __m512d t_mag_sq_pd_hi = _mm512_cvtps_pd(_mm512_extractf32x8_ps(t_mag_sq_ps, 1));
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:854:38: note[note]: called from here
# 852| __m512d o_mag_sq_pd_lo = _mm512_cvtps_pd(_mm512_castps512_ps256(o_mag_sq_ps));
# 853| __m512d o_mag_sq_pd_hi = _mm512_cvtps_pd(_mm512_extractf32x8_ps(o_mag_sq_ps, 1));
# 854|-> __m512d t_mag_sq_pd_lo = _mm512_cvtps_pd(_mm512_castps512_ps256(t_mag_sq_ps));
# 855| __m512d t_mag_sq_pd_hi = _mm512_cvtps_pd(_mm512_extractf32x8_ps(t_mag_sq_ps, 1));
# 856| __m512d o_mag_sq_t_mag_sq_lo = _mm512_mul_pd(o_mag_sq_pd_lo, t_mag_sq_pd_lo);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:855:38: note[note]: called from here
# 853| __m512d o_mag_sq_pd_hi = _mm512_cvtps_pd(_mm512_extractf32x8_ps(o_mag_sq_ps, 1));
# 854| __m512d t_mag_sq_pd_lo = _mm512_cvtps_pd(_mm512_castps512_ps256(t_mag_sq_ps));
# 855|-> __m512d t_mag_sq_pd_hi = _mm512_cvtps_pd(_mm512_extractf32x8_ps(t_mag_sq_ps, 1));
# 856| __m512d o_mag_sq_t_mag_sq_lo = _mm512_mul_pd(o_mag_sq_pd_lo, t_mag_sq_pd_lo);
# 857| __m512d o_mag_sq_t_mag_sq_hi = _mm512_mul_pd(o_mag_sq_pd_hi, t_mag_sq_pd_hi);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:856:44: note[note]: called from here
# 854| __m512d t_mag_sq_pd_lo = _mm512_cvtps_pd(_mm512_castps512_ps256(t_mag_sq_ps));
# 855| __m512d t_mag_sq_pd_hi = _mm512_cvtps_pd(_mm512_extractf32x8_ps(t_mag_sq_ps, 1));
# 856|-> __m512d o_mag_sq_t_mag_sq_lo = _mm512_mul_pd(o_mag_sq_pd_lo, t_mag_sq_pd_lo);
# 857| __m512d o_mag_sq_t_mag_sq_hi = _mm512_mul_pd(o_mag_sq_pd_hi, t_mag_sq_pd_hi);
# 858| __m512d ot_mag_sq_cos1_lo = _mm512_mul_pd(o_mag_sq_t_mag_sq_lo, cos_1deg_sq_pd);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:857:44: note[note]: called from here
# 855| __m512d t_mag_sq_pd_hi = _mm512_cvtps_pd(_mm512_extractf32x8_ps(t_mag_sq_ps, 1));
# 856| __m512d o_mag_sq_t_mag_sq_lo = _mm512_mul_pd(o_mag_sq_pd_lo, t_mag_sq_pd_lo);
# 857|-> __m512d o_mag_sq_t_mag_sq_hi = _mm512_mul_pd(o_mag_sq_pd_hi, t_mag_sq_pd_hi);
# 858| __m512d ot_mag_sq_cos1_lo = _mm512_mul_pd(o_mag_sq_t_mag_sq_lo, cos_1deg_sq_pd);
# 859| __m512d ot_mag_sq_cos1_hi = _mm512_mul_pd(o_mag_sq_t_mag_sq_hi, cos_1deg_sq_pd);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:858:41: note[note]: called from here
# 856| __m512d o_mag_sq_t_mag_sq_lo = _mm512_mul_pd(o_mag_sq_pd_lo, t_mag_sq_pd_lo);
# 857| __m512d o_mag_sq_t_mag_sq_hi = _mm512_mul_pd(o_mag_sq_pd_hi, t_mag_sq_pd_hi);
# 858|-> __m512d ot_mag_sq_cos1_lo = _mm512_mul_pd(o_mag_sq_t_mag_sq_lo, cos_1deg_sq_pd);
# 859| __m512d ot_mag_sq_cos1_hi = _mm512_mul_pd(o_mag_sq_t_mag_sq_hi, cos_1deg_sq_pd);
# 860| __mmask8 cmp_ot_cosot_mag_lo = _mm512_cmp_pd_mask(ot_dp_sq_lo, ot_mag_sq_cos1_lo, 13);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:859:41: note[note]: called from here
# 857| __m512d o_mag_sq_t_mag_sq_hi = _mm512_mul_pd(o_mag_sq_pd_hi, t_mag_sq_pd_hi);
# 858| __m512d ot_mag_sq_cos1_lo = _mm512_mul_pd(o_mag_sq_t_mag_sq_lo, cos_1deg_sq_pd);
# 859|-> __m512d ot_mag_sq_cos1_hi = _mm512_mul_pd(o_mag_sq_t_mag_sq_hi, cos_1deg_sq_pd);
# 860| __mmask8 cmp_ot_cosot_mag_lo = _mm512_cmp_pd_mask(ot_dp_sq_lo, ot_mag_sq_cos1_lo, 13);
# 861| __mmask8 cmp_ot_cosot_mag_hi = _mm512_cmp_pd_mask(ot_dp_sq_hi, ot_mag_sq_cos1_hi, 13);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:860:44: note[note]: called from here
# 858| __m512d ot_mag_sq_cos1_lo = _mm512_mul_pd(o_mag_sq_t_mag_sq_lo, cos_1deg_sq_pd);
# 859| __m512d ot_mag_sq_cos1_hi = _mm512_mul_pd(o_mag_sq_t_mag_sq_hi, cos_1deg_sq_pd);
# 860|-> __mmask8 cmp_ot_cosot_mag_lo = _mm512_cmp_pd_mask(ot_dp_sq_lo, ot_mag_sq_cos1_lo, 13);
# 861| __mmask8 cmp_ot_cosot_mag_hi = _mm512_cmp_pd_mask(ot_dp_sq_hi, ot_mag_sq_cos1_hi, 13);
# 862| __mmask16 angle_flag = _kand_mask16(gt_0, cmp_ot_cosot_mag_lo | ((__mmask16)cmp_ot_cosot_mag_hi << 8));
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:861:44: note[note]: called from here
# 859| __m512d ot_mag_sq_cos1_hi = _mm512_mul_pd(o_mag_sq_t_mag_sq_hi, cos_1deg_sq_pd);
# 860| __mmask8 cmp_ot_cosot_mag_lo = _mm512_cmp_pd_mask(ot_dp_sq_lo, ot_mag_sq_cos1_lo, 13);
# 861|-> __mmask8 cmp_ot_cosot_mag_hi = _mm512_cmp_pd_mask(ot_dp_sq_hi, ot_mag_sq_cos1_hi, 13);
# 862| __mmask16 angle_flag = _kand_mask16(gt_0, cmp_ot_cosot_mag_lo | ((__mmask16)cmp_ot_cosot_mag_hi << 8));
# 863|
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:862:36: note[note]: called from here
# 860| __mmask8 cmp_ot_cosot_mag_lo = _mm512_cmp_pd_mask(ot_dp_sq_lo, ot_mag_sq_cos1_lo, 13);
# 861| __mmask8 cmp_ot_cosot_mag_hi = _mm512_cmp_pd_mask(ot_dp_sq_hi, ot_mag_sq_cos1_hi, 13);
# 862|-> __mmask16 angle_flag = _kand_mask16(gt_0, cmp_ot_cosot_mag_lo | ((__mmask16)cmp_ot_cosot_mag_hi << 8));
# 863|
# 864|
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:865:30: note[note]: called from here
# 863|
# 864|
# 865|-> __m512i oh_div = _mm512_i32gather_epi32(_mm512_add_epi32(oh, _mm512_set1_epi32(32768)), adm_div_lookup, 4);
# 866| __m512i ov_div = _mm512_i32gather_epi32(_mm512_add_epi32(ov, _mm512_set1_epi32(32768)), adm_div_lookup, 4);
# 867| __m512i od_div = _mm512_i32gather_epi32(_mm512_add_epi32(od, _mm512_set1_epi32(32768)), adm_div_lookup, 4);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:866:30: note[note]: called from here
# 864|
# 865| __m512i oh_div = _mm512_i32gather_epi32(_mm512_add_epi32(oh, _mm512_set1_epi32(32768)), adm_div_lookup, 4);
# 866|-> __m512i ov_div = _mm512_i32gather_epi32(_mm512_add_epi32(ov, _mm512_set1_epi32(32768)), adm_div_lookup, 4);
# 867| __m512i od_div = _mm512_i32gather_epi32(_mm512_add_epi32(od, _mm512_set1_epi32(32768)), adm_div_lookup, 4);
# 868|
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:867:30: note[note]: called from here
# 865| __m512i oh_div = _mm512_i32gather_epi32(_mm512_add_epi32(oh, _mm512_set1_epi32(32768)), adm_div_lookup, 4);
# 866| __m512i ov_div = _mm512_i32gather_epi32(_mm512_add_epi32(ov, _mm512_set1_epi32(32768)), adm_div_lookup, 4);
# 867|-> __m512i od_div = _mm512_i32gather_epi32(_mm512_add_epi32(od, _mm512_set1_epi32(32768)), adm_div_lookup, 4);
# 868|
# 869| // Process Each element Pair for 64-bit multiplication
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:870:36: note[note]: called from here
# 868|
# 869| // Process Each element Pair for 64-bit multiplication
# 870|-> __m512i oh_div_th_lo = _mm512_mul_epi32(oh_div, th);
# 871| __m512i oh_div_th_hi = _mm512_mul_epi32(_mm512_srli_epi64(oh_div, 32), _mm512_srli_epi64(th, 32));
# 872| __m512i ov_div_tv_lo = _mm512_mul_epi32(ov_div, tv);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:871:36: note[note]: called from here
# 869| // Process Each element Pair for 64-bit multiplication
# 870| __m512i oh_div_th_lo = _mm512_mul_epi32(oh_div, th);
# 871|-> __m512i oh_div_th_hi = _mm512_mul_epi32(_mm512_srli_epi64(oh_div, 32), _mm512_srli_epi64(th, 32));
# 872| __m512i ov_div_tv_lo = _mm512_mul_epi32(ov_div, tv);
# 873| __m512i ov_div_tv_hi = _mm512_mul_epi32(_mm512_srli_epi64(ov_div, 32), _mm512_srli_epi64(tv, 32));
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:872:36: note[note]: called from here
# 870| __m512i oh_div_th_lo = _mm512_mul_epi32(oh_div, th);
# 871| __m512i oh_div_th_hi = _mm512_mul_epi32(_mm512_srli_epi64(oh_div, 32), _mm512_srli_epi64(th, 32));
# 872|-> __m512i ov_div_tv_lo = _mm512_mul_epi32(ov_div, tv);
# 873| __m512i ov_div_tv_hi = _mm512_mul_epi32(_mm512_srli_epi64(ov_div, 32), _mm512_srli_epi64(tv, 32));
# 874| __m512i od_div_td_lo = _mm512_mul_epi32(od_div, td);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:873:36: note[note]: called from here
# 871| __m512i oh_div_th_hi = _mm512_mul_epi32(_mm512_srli_epi64(oh_div, 32), _mm512_srli_epi64(th, 32));
# 872| __m512i ov_div_tv_lo = _mm512_mul_epi32(ov_div, tv);
# 873|-> __m512i ov_div_tv_hi = _mm512_mul_epi32(_mm512_srli_epi64(ov_div, 32), _mm512_srli_epi64(tv, 32));
# 874| __m512i od_div_td_lo = _mm512_mul_epi32(od_div, td);
# 875| __m512i od_div_td_hi = _mm512_mul_epi32(_mm512_srli_epi64(od_div, 32), _mm512_srli_epi64(td, 32));
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:874:36: note[note]: called from here
# 872| __m512i ov_div_tv_lo = _mm512_mul_epi32(ov_div, tv);
# 873| __m512i ov_div_tv_hi = _mm512_mul_epi32(_mm512_srli_epi64(ov_div, 32), _mm512_srli_epi64(tv, 32));
# 874|-> __m512i od_div_td_lo = _mm512_mul_epi32(od_div, td);
# 875| __m512i od_div_td_hi = _mm512_mul_epi32(_mm512_srli_epi64(od_div, 32), _mm512_srli_epi64(td, 32));
# 876|
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:875:36: note[note]: called from here
# 873| __m512i ov_div_tv_hi = _mm512_mul_epi32(_mm512_srli_epi64(ov_div, 32), _mm512_srli_epi64(tv, 32));
# 874| __m512i od_div_td_lo = _mm512_mul_epi32(od_div, td);
# 875|-> __m512i od_div_td_hi = _mm512_mul_epi32(_mm512_srli_epi64(od_div, 32), _mm512_srli_epi64(td, 32));
# 876|
# 877| // Add 16384 for proper rounding
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:878:39: note[note]: called from here
# 876|
# 877| // Add 16384 for proper rounding
# 878|-> __m512i const_16384_64b = _mm512_set1_epi64(16384);
# 879| oh_div_th_lo = _mm512_add_epi64(oh_div_th_lo, const_16384_64b);
# 880| oh_div_th_hi = _mm512_add_epi64(oh_div_th_hi, const_16384_64b);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:879:28: note[note]: called from here
# 877| // Add 16384 for proper rounding
# 878| __m512i const_16384_64b = _mm512_set1_epi64(16384);
# 879|-> oh_div_th_lo = _mm512_add_epi64(oh_div_th_lo, const_16384_64b);
# 880| oh_div_th_hi = _mm512_add_epi64(oh_div_th_hi, const_16384_64b);
# 881| ov_div_tv_lo = _mm512_add_epi64(ov_div_tv_lo, const_16384_64b);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:880:28: note[note]: called from here
# 878| __m512i const_16384_64b = _mm512_set1_epi64(16384);
# 879| oh_div_th_lo = _mm512_add_epi64(oh_div_th_lo, const_16384_64b);
# 880|-> oh_div_th_hi = _mm512_add_epi64(oh_div_th_hi, const_16384_64b);
# 881| ov_div_tv_lo = _mm512_add_epi64(ov_div_tv_lo, const_16384_64b);
# 882| ov_div_tv_hi = _mm512_add_epi64(ov_div_tv_hi, const_16384_64b);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:881:28: note[note]: called from here
# 879| oh_div_th_lo = _mm512_add_epi64(oh_div_th_lo, const_16384_64b);
# 880| oh_div_th_hi = _mm512_add_epi64(oh_div_th_hi, const_16384_64b);
# 881|-> ov_div_tv_lo = _mm512_add_epi64(ov_div_tv_lo, const_16384_64b);
# 882| ov_div_tv_hi = _mm512_add_epi64(ov_div_tv_hi, const_16384_64b);
# 883| od_div_td_lo = _mm512_add_epi64(od_div_td_lo, const_16384_64b);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:882:28: note[note]: called from here
# 880| oh_div_th_hi = _mm512_add_epi64(oh_div_th_hi, const_16384_64b);
# 881| ov_div_tv_lo = _mm512_add_epi64(ov_div_tv_lo, const_16384_64b);
# 882|-> ov_div_tv_hi = _mm512_add_epi64(ov_div_tv_hi, const_16384_64b);
# 883| od_div_td_lo = _mm512_add_epi64(od_div_td_lo, const_16384_64b);
# 884| od_div_td_hi = _mm512_add_epi64(od_div_td_hi, const_16384_64b);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:883:28: note[note]: called from here
# 881| ov_div_tv_lo = _mm512_add_epi64(ov_div_tv_lo, const_16384_64b);
# 882| ov_div_tv_hi = _mm512_add_epi64(ov_div_tv_hi, const_16384_64b);
# 883|-> od_div_td_lo = _mm512_add_epi64(od_div_td_lo, const_16384_64b);
# 884| od_div_td_hi = _mm512_add_epi64(od_div_td_hi, const_16384_64b);
# 885|
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:884:28: note[note]: called from here
# 882| ov_div_tv_hi = _mm512_add_epi64(ov_div_tv_hi, const_16384_64b);
# 883| od_div_td_lo = _mm512_add_epi64(od_div_td_lo, const_16384_64b);
# 884|-> od_div_td_hi = _mm512_add_epi64(od_div_td_hi, const_16384_64b);
# 885|
# 886| // arithmetic Shift right by 15
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:887:28: note[note]: called from here
# 885|
# 886| // arithmetic Shift right by 15
# 887|-> oh_div_th_lo = _mm512_srai_epi64(oh_div_th_lo, 15);
# 888| oh_div_th_hi = _mm512_srai_epi64(oh_div_th_hi, 15);
# 889| ov_div_tv_lo = _mm512_srai_epi64(ov_div_tv_lo, 15);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:888:28: note[note]: called from here
# 886| // arithmetic Shift right by 15
# 887| oh_div_th_lo = _mm512_srai_epi64(oh_div_th_lo, 15);
# 888|-> oh_div_th_hi = _mm512_srai_epi64(oh_div_th_hi, 15);
# 889| ov_div_tv_lo = _mm512_srai_epi64(ov_div_tv_lo, 15);
# 890| ov_div_tv_hi = _mm512_srai_epi64(ov_div_tv_hi, 15);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:889:28: note[note]: called from here
# 887| oh_div_th_lo = _mm512_srai_epi64(oh_div_th_lo, 15);
# 888| oh_div_th_hi = _mm512_srai_epi64(oh_div_th_hi, 15);
# 889|-> ov_div_tv_lo = _mm512_srai_epi64(ov_div_tv_lo, 15);
# 890| ov_div_tv_hi = _mm512_srai_epi64(ov_div_tv_hi, 15);
# 891| od_div_td_lo = _mm512_srai_epi64(od_div_td_lo, 15);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:890:28: note[note]: called from here
# 888| oh_div_th_hi = _mm512_srai_epi64(oh_div_th_hi, 15);
# 889| ov_div_tv_lo = _mm512_srai_epi64(ov_div_tv_lo, 15);
# 890|-> ov_div_tv_hi = _mm512_srai_epi64(ov_div_tv_hi, 15);
# 891| od_div_td_lo = _mm512_srai_epi64(od_div_td_lo, 15);
# 892| od_div_td_hi = _mm512_srai_epi64(od_div_td_hi, 15);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:891:28: note[note]: called from here
# 889| ov_div_tv_lo = _mm512_srai_epi64(ov_div_tv_lo, 15);
# 890| ov_div_tv_hi = _mm512_srai_epi64(ov_div_tv_hi, 15);
# 891|-> od_div_td_lo = _mm512_srai_epi64(od_div_td_lo, 15);
# 892| od_div_td_hi = _mm512_srai_epi64(od_div_td_hi, 15);
# 893|
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:892:28: note[note]: called from here
# 890| ov_div_tv_hi = _mm512_srai_epi64(ov_div_tv_hi, 15);
# 891| od_div_td_lo = _mm512_srai_epi64(od_div_td_lo, 15);
# 892|-> od_div_td_hi = _mm512_srai_epi64(od_div_td_hi, 15);
# 893|
# 894| __m512i tmp_kh = _mm512_or_si512(_mm512_and_si512(oh_div_th_lo, _mm512_set1_epi64(0xFFFFFFFF)), _mm512_slli_epi64(oh_div_th_hi, 32));
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:894:30: note[note]: called from here
# 892| od_div_td_hi = _mm512_srai_epi64(od_div_td_hi, 15);
# 893|
# 894|-> __m512i tmp_kh = _mm512_or_si512(_mm512_and_si512(oh_div_th_lo, _mm512_set1_epi64(0xFFFFFFFF)), _mm512_slli_epi64(oh_div_th_hi, 32));
# 895| __m512i tmp_kv = _mm512_or_si512(_mm512_and_si512(ov_div_tv_lo, _mm512_set1_epi64(0xFFFFFFFF)), _mm512_slli_epi64(ov_div_tv_hi, 32));
# 896| __m512i tmp_kd = _mm512_or_si512(_mm512_and_si512(od_div_td_lo, _mm512_set1_epi64(0xFFFFFFFF)), _mm512_slli_epi64(od_div_td_hi, 32));
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:895:30: note[note]: called from here
# 893|
# 894| __m512i tmp_kh = _mm512_or_si512(_mm512_and_si512(oh_div_th_lo, _mm512_set1_epi64(0xFFFFFFFF)), _mm512_slli_epi64(oh_div_th_hi, 32));
# 895|-> __m512i tmp_kv = _mm512_or_si512(_mm512_and_si512(ov_div_tv_lo, _mm512_set1_epi64(0xFFFFFFFF)), _mm512_slli_epi64(ov_div_tv_hi, 32));
# 896| __m512i tmp_kd = _mm512_or_si512(_mm512_and_si512(od_div_td_lo, _mm512_set1_epi64(0xFFFFFFFF)), _mm512_slli_epi64(od_div_td_hi, 32));
# 897|
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:896:30: note[note]: called from here
# 894| __m512i tmp_kh = _mm512_or_si512(_mm512_and_si512(oh_div_th_lo, _mm512_set1_epi64(0xFFFFFFFF)), _mm512_slli_epi64(oh_div_th_hi, 32));
# 895| __m512i tmp_kv = _mm512_or_si512(_mm512_and_si512(ov_div_tv_lo, _mm512_set1_epi64(0xFFFFFFFF)), _mm512_slli_epi64(ov_div_tv_hi, 32));
# 896|-> __m512i tmp_kd = _mm512_or_si512(_mm512_and_si512(od_div_td_lo, _mm512_set1_epi64(0xFFFFFFFF)), _mm512_slli_epi64(od_div_td_hi, 32));
# 897|
# 898| // Handle division by zero
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:899:32: note[note]: called from here
# 897|
# 898| // Handle division by zero
# 899|-> __mmask16 eqz_oh = _mm512_cmp_epi32_mask(oh, _mm512_setzero_si512(), 0);
# 900| __mmask16 eqz_ov = _mm512_cmp_epi32_mask(ov, _mm512_setzero_si512(), 0);
# 901| __mmask16 eqz_od = _mm512_cmp_epi32_mask(od, _mm512_setzero_si512(), 0);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:900:32: note[note]: called from here
# 898| // Handle division by zero
# 899| __mmask16 eqz_oh = _mm512_cmp_epi32_mask(oh, _mm512_setzero_si512(), 0);
# 900|-> __mmask16 eqz_ov = _mm512_cmp_epi32_mask(ov, _mm512_setzero_si512(), 0);
# 901| __mmask16 eqz_od = _mm512_cmp_epi32_mask(od, _mm512_setzero_si512(), 0);
# 902|
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:901:32: note[note]: called from here
# 899| __mmask16 eqz_oh = _mm512_cmp_epi32_mask(oh, _mm512_setzero_si512(), 0);
# 900| __mmask16 eqz_ov = _mm512_cmp_epi32_mask(ov, _mm512_setzero_si512(), 0);
# 901|-> __mmask16 eqz_od = _mm512_cmp_epi32_mask(od, _mm512_setzero_si512(), 0);
# 902|
# 903| tmp_kh = _mm512_mask_blend_epi32(eqz_oh, tmp_kh, _mm512_set1_epi32(32768));
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:903:22: note[note]: called from here
# 901| __mmask16 eqz_od = _mm512_cmp_epi32_mask(od, _mm512_setzero_si512(), 0);
# 902|
# 903|-> tmp_kh = _mm512_mask_blend_epi32(eqz_oh, tmp_kh, _mm512_set1_epi32(32768));
# 904| tmp_kv = _mm512_mask_blend_epi32(eqz_ov, tmp_kv, _mm512_set1_epi32(32768));
# 905| tmp_kd = _mm512_mask_blend_epi32(eqz_od, tmp_kd, _mm512_set1_epi32(32768));
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:904:22: note[note]: called from here
# 902|
# 903| tmp_kh = _mm512_mask_blend_epi32(eqz_oh, tmp_kh, _mm512_set1_epi32(32768));
# 904|-> tmp_kv = _mm512_mask_blend_epi32(eqz_ov, tmp_kv, _mm512_set1_epi32(32768));
# 905| tmp_kd = _mm512_mask_blend_epi32(eqz_od, tmp_kd, _mm512_set1_epi32(32768));
# 906|
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:905:22: note[note]: called from here
# 903| tmp_kh = _mm512_mask_blend_epi32(eqz_oh, tmp_kh, _mm512_set1_epi32(32768));
# 904| tmp_kv = _mm512_mask_blend_epi32(eqz_ov, tmp_kv, _mm512_set1_epi32(32768));
# 905|-> tmp_kd = _mm512_mask_blend_epi32(eqz_od, tmp_kd, _mm512_set1_epi32(32768));
# 906|
# 907| // clamp to [0, 32768]
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:908:22: note[note]: called from here
# 906|
# 907| // clamp to [0, 32768]
# 908|-> tmp_kh = _mm512_max_epi32(tmp_kh, _mm512_setzero_si512());
# 909| tmp_kh = _mm512_min_epi32(tmp_kh, _mm512_set1_epi32(32768));
# 910| tmp_kv = _mm512_max_epi32(tmp_kv, _mm512_setzero_si512());
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:909:22: note[note]: called from here
# 907| // clamp to [0, 32768]
# 908| tmp_kh = _mm512_max_epi32(tmp_kh, _mm512_setzero_si512());
# 909|-> tmp_kh = _mm512_min_epi32(tmp_kh, _mm512_set1_epi32(32768));
# 910| tmp_kv = _mm512_max_epi32(tmp_kv, _mm512_setzero_si512());
# 911| tmp_kv = _mm512_min_epi32(tmp_kv, _mm512_set1_epi32(32768));
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:910:22: note[note]: called from here
# 908| tmp_kh = _mm512_max_epi32(tmp_kh, _mm512_setzero_si512());
# 909| tmp_kh = _mm512_min_epi32(tmp_kh, _mm512_set1_epi32(32768));
# 910|-> tmp_kv = _mm512_max_epi32(tmp_kv, _mm512_setzero_si512());
# 911| tmp_kv = _mm512_min_epi32(tmp_kv, _mm512_set1_epi32(32768));
# 912| tmp_kd = _mm512_max_epi32(tmp_kd, _mm512_setzero_si512());
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:911:22: note[note]: called from here
# 909| tmp_kh = _mm512_min_epi32(tmp_kh, _mm512_set1_epi32(32768));
# 910| tmp_kv = _mm512_max_epi32(tmp_kv, _mm512_setzero_si512());
# 911|-> tmp_kv = _mm512_min_epi32(tmp_kv, _mm512_set1_epi32(32768));
# 912| tmp_kd = _mm512_max_epi32(tmp_kd, _mm512_setzero_si512());
# 913| tmp_kd = _mm512_min_epi32(tmp_kd, _mm512_set1_epi32(32768));
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:912:22: note[note]: called from here
# 910| tmp_kv = _mm512_max_epi32(tmp_kv, _mm512_setzero_si512());
# 911| tmp_kv = _mm512_min_epi32(tmp_kv, _mm512_set1_epi32(32768));
# 912|-> tmp_kd = _mm512_max_epi32(tmp_kd, _mm512_setzero_si512());
# 913| tmp_kd = _mm512_min_epi32(tmp_kd, _mm512_set1_epi32(32768));
# 914|
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:913:22: note[note]: called from here
# 911| tmp_kv = _mm512_min_epi32(tmp_kv, _mm512_set1_epi32(32768));
# 912| tmp_kd = _mm512_max_epi32(tmp_kd, _mm512_setzero_si512());
# 913|-> tmp_kd = _mm512_min_epi32(tmp_kd, _mm512_set1_epi32(32768));
# 914|
# 915| // calculate rst values: ((kh * oh) + 16384) >> 15
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:916:29: note[note]: called from here
# 914|
# 915| // calculate rst values: ((kh * oh) + 16384) >> 15
# 916|-> __m512i rst_h = _mm512_mullo_epi32(tmp_kh, oh);
# 917| __m512i rst_v = _mm512_mullo_epi32(tmp_kv, ov);
# 918| __m512i rst_d = _mm512_mullo_epi32(tmp_kd, od);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:917:29: note[note]: called from here
# 915| // calculate rst values: ((kh * oh) + 16384) >> 15
# 916| __m512i rst_h = _mm512_mullo_epi32(tmp_kh, oh);
# 917|-> __m512i rst_v = _mm512_mullo_epi32(tmp_kv, ov);
# 918| __m512i rst_d = _mm512_mullo_epi32(tmp_kd, od);
# 919|
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:918:29: note[note]: called from here
# 916| __m512i rst_h = _mm512_mullo_epi32(tmp_kh, oh);
# 917| __m512i rst_v = _mm512_mullo_epi32(tmp_kv, ov);
# 918|-> __m512i rst_d = _mm512_mullo_epi32(tmp_kd, od);
# 919|
# 920| __m512i const_16384_32b = _mm512_set1_epi32(16384);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:920:39: note[note]: called from here
# 918| __m512i rst_d = _mm512_mullo_epi32(tmp_kd, od);
# 919|
# 920|-> __m512i const_16384_32b = _mm512_set1_epi32(16384);
# 921| rst_h = _mm512_add_epi32(rst_h, const_16384_32b);
# 922| rst_v = _mm512_add_epi32(rst_v, const_16384_32b);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:921:21: note[note]: called from here
# 919|
# 920| __m512i const_16384_32b = _mm512_set1_epi32(16384);
# 921|-> rst_h = _mm512_add_epi32(rst_h, const_16384_32b);
# 922| rst_v = _mm512_add_epi32(rst_v, const_16384_32b);
# 923| rst_d = _mm512_add_epi32(rst_d, const_16384_32b);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:922:21: note[note]: called from here
# 920| __m512i const_16384_32b = _mm512_set1_epi32(16384);
# 921| rst_h = _mm512_add_epi32(rst_h, const_16384_32b);
# 922|-> rst_v = _mm512_add_epi32(rst_v, const_16384_32b);
# 923| rst_d = _mm512_add_epi32(rst_d, const_16384_32b);
# 924|
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:923:21: note[note]: called from here
# 921| rst_h = _mm512_add_epi32(rst_h, const_16384_32b);
# 922| rst_v = _mm512_add_epi32(rst_v, const_16384_32b);
# 923|-> rst_d = _mm512_add_epi32(rst_d, const_16384_32b);
# 924|
# 925| rst_h = _mm512_srai_epi32(rst_h, 15);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:925:21: note[note]: called from here
# 923| rst_d = _mm512_add_epi32(rst_d, const_16384_32b);
# 924|
# 925|-> rst_h = _mm512_srai_epi32(rst_h, 15);
# 926| rst_v = _mm512_srai_epi32(rst_v, 15);
# 927| rst_d = _mm512_srai_epi32(rst_d, 15);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:926:21: note[note]: called from here
# 924|
# 925| rst_h = _mm512_srai_epi32(rst_h, 15);
# 926|-> rst_v = _mm512_srai_epi32(rst_v, 15);
# 927| rst_d = _mm512_srai_epi32(rst_d, 15);
# 928|
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:927:21: note[note]: called from here
# 925| rst_h = _mm512_srai_epi32(rst_h, 15);
# 926| rst_v = _mm512_srai_epi32(rst_v, 15);
# 927|-> rst_d = _mm512_srai_epi32(rst_d, 15);
# 928|
# 929| // Calculate rst_*_f values
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:930:35: note[note]: called from here
# 928|
# 929| // Calculate rst_*_f values
# 930|-> __m512 kh_inv_32768 = _mm512_mul_ps(inv_32768, _mm512_cvtepi32_ps(tmp_kh));
# 931| __m512 oh_inv_64 = _mm512_mul_ps(inv_64, _mm512_cvtepi32_ps(oh));
# 932| __m512 rst_h_f = _mm512_mul_ps(kh_inv_32768, oh_inv_64);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:931:32: note[note]: called from here
# 929| // Calculate rst_*_f values
# 930| __m512 kh_inv_32768 = _mm512_mul_ps(inv_32768, _mm512_cvtepi32_ps(tmp_kh));
# 931|-> __m512 oh_inv_64 = _mm512_mul_ps(inv_64, _mm512_cvtepi32_ps(oh));
# 932| __m512 rst_h_f = _mm512_mul_ps(kh_inv_32768, oh_inv_64);
# 933|
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:932:30: note[note]: called from here
# 930| __m512 kh_inv_32768 = _mm512_mul_ps(inv_32768, _mm512_cvtepi32_ps(tmp_kh));
# 931| __m512 oh_inv_64 = _mm512_mul_ps(inv_64, _mm512_cvtepi32_ps(oh));
# 932|-> __m512 rst_h_f = _mm512_mul_ps(kh_inv_32768, oh_inv_64);
# 933|
# 934| __m512 kv_inv_32768 = _mm512_mul_ps(inv_32768, _mm512_cvtepi32_ps(tmp_kv));
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:934:35: note[note]: called from here
# 932| __m512 rst_h_f = _mm512_mul_ps(kh_inv_32768, oh_inv_64);
# 933|
# 934|-> __m512 kv_inv_32768 = _mm512_mul_ps(inv_32768, _mm512_cvtepi32_ps(tmp_kv));
# 935| __m512 ov_inv_64 = _mm512_mul_ps(inv_64, _mm512_cvtepi32_ps(ov));
# 936| __m512 rst_v_f = _mm512_mul_ps(kv_inv_32768, ov_inv_64);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:935:32: note[note]: called from here
# 933|
# 934| __m512 kv_inv_32768 = _mm512_mul_ps(inv_32768, _mm512_cvtepi32_ps(tmp_kv));
# 935|-> __m512 ov_inv_64 = _mm512_mul_ps(inv_64, _mm512_cvtepi32_ps(ov));
# 936| __m512 rst_v_f = _mm512_mul_ps(kv_inv_32768, ov_inv_64);
# 937|
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:936:30: note[note]: called from here
# 934| __m512 kv_inv_32768 = _mm512_mul_ps(inv_32768, _mm512_cvtepi32_ps(tmp_kv));
# 935| __m512 ov_inv_64 = _mm512_mul_ps(inv_64, _mm512_cvtepi32_ps(ov));
# 936|-> __m512 rst_v_f = _mm512_mul_ps(kv_inv_32768, ov_inv_64);
# 937|
# 938| __m512 kd_inv_32768 = _mm512_mul_ps(inv_32768, _mm512_cvtepi32_ps(tmp_kd));
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:938:35: note[note]: called from here
# 936| __m512 rst_v_f = _mm512_mul_ps(kv_inv_32768, ov_inv_64);
# 937|
# 938|-> __m512 kd_inv_32768 = _mm512_mul_ps(inv_32768, _mm512_cvtepi32_ps(tmp_kd));
# 939| __m512 od_inv_64 = _mm512_mul_ps(inv_64, _mm512_cvtepi32_ps(od));
# 940| __m512 rst_d_f = _mm512_mul_ps(kd_inv_32768, od_inv_64);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:939:32: note[note]: called from here
# 937|
# 938| __m512 kd_inv_32768 = _mm512_mul_ps(inv_32768, _mm512_cvtepi32_ps(tmp_kd));
# 939|-> __m512 od_inv_64 = _mm512_mul_ps(inv_64, _mm512_cvtepi32_ps(od));
# 940| __m512 rst_d_f = _mm512_mul_ps(kd_inv_32768, od_inv_64);
# 941|
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:940:30: note[note]: called from here
# 938| __m512 kd_inv_32768 = _mm512_mul_ps(inv_32768, _mm512_cvtepi32_ps(tmp_kd));
# 939| __m512 od_inv_64 = _mm512_mul_ps(inv_64, _mm512_cvtepi32_ps(od));
# 940|-> __m512 rst_d_f = _mm512_mul_ps(kd_inv_32768, od_inv_64);
# 941|
# 942| __mmask16 gt0_rst_h_f = _mm512_cmp_ps_mask(rst_h_f, _mm512_setzero_ps(), 14);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:942:37: note[note]: called from here
# 940| __m512 rst_d_f = _mm512_mul_ps(kd_inv_32768, od_inv_64);
# 941|
# 942|-> __mmask16 gt0_rst_h_f = _mm512_cmp_ps_mask(rst_h_f, _mm512_setzero_ps(), 14);
# 943| __mmask16 lt0_rst_h_f = _mm512_cmp_ps_mask(rst_h_f, _mm512_setzero_ps(), 1);
# 944| __mmask16 gt0_rst_v_f = _mm512_cmp_ps_mask(rst_v_f, _mm512_setzero_ps(), 14);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:943:37: note[note]: called from here
# 941|
# 942| __mmask16 gt0_rst_h_f = _mm512_cmp_ps_mask(rst_h_f, _mm512_setzero_ps(), 14);
# 943|-> __mmask16 lt0_rst_h_f = _mm512_cmp_ps_mask(rst_h_f, _mm512_setzero_ps(), 1);
# 944| __mmask16 gt0_rst_v_f = _mm512_cmp_ps_mask(rst_v_f, _mm512_setzero_ps(), 14);
# 945| __mmask16 lt0_rst_v_f = _mm512_cmp_ps_mask(rst_v_f, _mm512_setzero_ps(), 1);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:944:37: note[note]: called from here
# 942| __mmask16 gt0_rst_h_f = _mm512_cmp_ps_mask(rst_h_f, _mm512_setzero_ps(), 14);
# 943| __mmask16 lt0_rst_h_f = _mm512_cmp_ps_mask(rst_h_f, _mm512_setzero_ps(), 1);
# 944|-> __mmask16 gt0_rst_v_f = _mm512_cmp_ps_mask(rst_v_f, _mm512_setzero_ps(), 14);
# 945| __mmask16 lt0_rst_v_f = _mm512_cmp_ps_mask(rst_v_f, _mm512_setzero_ps(), 1);
# 946| __mmask16 gt0_rst_d_f = _mm512_cmp_ps_mask(rst_d_f, _mm512_setzero_ps(), 14);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:945:37: note[note]: called from here
# 943| __mmask16 lt0_rst_h_f = _mm512_cmp_ps_mask(rst_h_f, _mm512_setzero_ps(), 1);
# 944| __mmask16 gt0_rst_v_f = _mm512_cmp_ps_mask(rst_v_f, _mm512_setzero_ps(), 14);
# 945|-> __mmask16 lt0_rst_v_f = _mm512_cmp_ps_mask(rst_v_f, _mm512_setzero_ps(), 1);
# 946| __mmask16 gt0_rst_d_f = _mm512_cmp_ps_mask(rst_d_f, _mm512_setzero_ps(), 14);
# 947| __mmask16 lt0_rst_d_f = _mm512_cmp_ps_mask(rst_d_f, _mm512_setzero_ps(), 1);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:946:37: note[note]: called from here
# 944| __mmask16 gt0_rst_v_f = _mm512_cmp_ps_mask(rst_v_f, _mm512_setzero_ps(), 14);
# 945| __mmask16 lt0_rst_v_f = _mm512_cmp_ps_mask(rst_v_f, _mm512_setzero_ps(), 1);
# 946|-> __mmask16 gt0_rst_d_f = _mm512_cmp_ps_mask(rst_d_f, _mm512_setzero_ps(), 14);
# 947| __mmask16 lt0_rst_d_f = _mm512_cmp_ps_mask(rst_d_f, _mm512_setzero_ps(), 1);
# 948|
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:947:37: note[note]: called from here
# 945| __mmask16 lt0_rst_v_f = _mm512_cmp_ps_mask(rst_v_f, _mm512_setzero_ps(), 1);
# 946| __mmask16 gt0_rst_d_f = _mm512_cmp_ps_mask(rst_d_f, _mm512_setzero_ps(), 14);
# 947|-> __mmask16 lt0_rst_d_f = _mm512_cmp_ps_mask(rst_d_f, _mm512_setzero_ps(), 1);
# 948|
# 949| // Apply gain using double precision to match scalar accuracy
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:950:34: note[note]: called from here
# 948|
# 949| // Apply gain using double precision to match scalar accuracy
# 950|-> __m512d adm_gain_d = _mm512_set1_pd(adm_enhn_gain_limit);
# 951| __m512d rst_h_gainlo_d = _mm512_mul_pd(_mm512_cvtepi32_pd(_mm512_extracti32x8_epi32(rst_h, 0)), adm_gain_d);
# 952| __m512d rst_h_gainhi_d = _mm512_mul_pd(_mm512_cvtepi32_pd(_mm512_extracti32x8_epi32(rst_h, 1)), adm_gain_d);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:951:38: note[note]: called from here
# 949| // Apply gain using double precision to match scalar accuracy
# 950| __m512d adm_gain_d = _mm512_set1_pd(adm_enhn_gain_limit);
# 951|-> __m512d rst_h_gainlo_d = _mm512_mul_pd(_mm512_cvtepi32_pd(_mm512_extracti32x8_epi32(rst_h, 0)), adm_gain_d);
# 952| __m512d rst_h_gainhi_d = _mm512_mul_pd(_mm512_cvtepi32_pd(_mm512_extracti32x8_epi32(rst_h, 1)), adm_gain_d);
# 953| __m512i rst_h_gain = _mm512_inserti32x8(_mm512_castsi256_si512(_mm512_cvtpd_epi32(rst_h_gainlo_d)), _mm512_cvtpd_epi32(rst_h_gainhi_d), 1);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:952:38: note[note]: called from here
# 950| __m512d adm_gain_d = _mm512_set1_pd(adm_enhn_gain_limit);
# 951| __m512d rst_h_gainlo_d = _mm512_mul_pd(_mm512_cvtepi32_pd(_mm512_extracti32x8_epi32(rst_h, 0)), adm_gain_d);
# 952|-> __m512d rst_h_gainhi_d = _mm512_mul_pd(_mm512_cvtepi32_pd(_mm512_extracti32x8_epi32(rst_h, 1)), adm_gain_d);
# 953| __m512i rst_h_gain = _mm512_inserti32x8(_mm512_castsi256_si512(_mm512_cvtpd_epi32(rst_h_gainlo_d)), _mm512_cvtpd_epi32(rst_h_gainhi_d), 1);
# 954| __m512d rst_v_gainlo_d = _mm512_mul_pd(_mm512_cvtepi32_pd(_mm512_extracti32x8_epi32(rst_v, 0)), adm_gain_d);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:953:34: note[note]: called from here
# 951| __m512d rst_h_gainlo_d = _mm512_mul_pd(_mm512_cvtepi32_pd(_mm512_extracti32x8_epi32(rst_h, 0)), adm_gain_d);
# 952| __m512d rst_h_gainhi_d = _mm512_mul_pd(_mm512_cvtepi32_pd(_mm512_extracti32x8_epi32(rst_h, 1)), adm_gain_d);
# 953|-> __m512i rst_h_gain = _mm512_inserti32x8(_mm512_castsi256_si512(_mm512_cvtpd_epi32(rst_h_gainlo_d)), _mm512_cvtpd_epi32(rst_h_gainhi_d), 1);
# 954| __m512d rst_v_gainlo_d = _mm512_mul_pd(_mm512_cvtepi32_pd(_mm512_extracti32x8_epi32(rst_v, 0)), adm_gain_d);
# 955| __m512d rst_v_gainhi_d = _mm512_mul_pd(_mm512_cvtepi32_pd(_mm512_extracti32x8_epi32(rst_v, 1)), adm_gain_d);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:954:38: note[note]: called from here
# 952| __m512d rst_h_gainhi_d = _mm512_mul_pd(_mm512_cvtepi32_pd(_mm512_extracti32x8_epi32(rst_h, 1)), adm_gain_d);
# 953| __m512i rst_h_gain = _mm512_inserti32x8(_mm512_castsi256_si512(_mm512_cvtpd_epi32(rst_h_gainlo_d)), _mm512_cvtpd_epi32(rst_h_gainhi_d), 1);
# 954|-> __m512d rst_v_gainlo_d = _mm512_mul_pd(_mm512_cvtepi32_pd(_mm512_extracti32x8_epi32(rst_v, 0)), adm_gain_d);
# 955| __m512d rst_v_gainhi_d = _mm512_mul_pd(_mm512_cvtepi32_pd(_mm512_extracti32x8_epi32(rst_v, 1)), adm_gain_d);
# 956| __m512i rst_v_gain = _mm512_inserti32x8(_mm512_castsi256_si512(_mm512_cvtpd_epi32(rst_v_gainlo_d)), _mm512_cvtpd_epi32(rst_v_gainhi_d), 1);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:955:38: note[note]: called from here
# 953| __m512i rst_h_gain = _mm512_inserti32x8(_mm512_castsi256_si512(_mm512_cvtpd_epi32(rst_h_gainlo_d)), _mm512_cvtpd_epi32(rst_h_gainhi_d), 1);
# 954| __m512d rst_v_gainlo_d = _mm512_mul_pd(_mm512_cvtepi32_pd(_mm512_extracti32x8_epi32(rst_v, 0)), adm_gain_d);
# 955|-> __m512d rst_v_gainhi_d = _mm512_mul_pd(_mm512_cvtepi32_pd(_mm512_extracti32x8_epi32(rst_v, 1)), adm_gain_d);
# 956| __m512i rst_v_gain = _mm512_inserti32x8(_mm512_castsi256_si512(_mm512_cvtpd_epi32(rst_v_gainlo_d)), _mm512_cvtpd_epi32(rst_v_gainhi_d), 1);
# 957| __m512d rst_d_gainlo_d = _mm512_mul_pd(_mm512_cvtepi32_pd(_mm512_extracti32x8_epi32(rst_d, 0)), adm_gain_d);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:956:34: note[note]: called from here
# 954| __m512d rst_v_gainlo_d = _mm512_mul_pd(_mm512_cvtepi32_pd(_mm512_extracti32x8_epi32(rst_v, 0)), adm_gain_d);
# 955| __m512d rst_v_gainhi_d = _mm512_mul_pd(_mm512_cvtepi32_pd(_mm512_extracti32x8_epi32(rst_v, 1)), adm_gain_d);
# 956|-> __m512i rst_v_gain = _mm512_inserti32x8(_mm512_castsi256_si512(_mm512_cvtpd_epi32(rst_v_gainlo_d)), _mm512_cvtpd_epi32(rst_v_gainhi_d), 1);
# 957| __m512d rst_d_gainlo_d = _mm512_mul_pd(_mm512_cvtepi32_pd(_mm512_extracti32x8_epi32(rst_d, 0)), adm_gain_d);
# 958| __m512d rst_d_gainhi_d = _mm512_mul_pd(_mm512_cvtepi32_pd(_mm512_extracti32x8_epi32(rst_d, 1)), adm_gain_d);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:957:38: note[note]: called from here
# 955| __m512d rst_v_gainhi_d = _mm512_mul_pd(_mm512_cvtepi32_pd(_mm512_extracti32x8_epi32(rst_v, 1)), adm_gain_d);
# 956| __m512i rst_v_gain = _mm512_inserti32x8(_mm512_castsi256_si512(_mm512_cvtpd_epi32(rst_v_gainlo_d)), _mm512_cvtpd_epi32(rst_v_gainhi_d), 1);
# 957|-> __m512d rst_d_gainlo_d = _mm512_mul_pd(_mm512_cvtepi32_pd(_mm512_extracti32x8_epi32(rst_d, 0)), adm_gain_d);
# 958| __m512d rst_d_gainhi_d = _mm512_mul_pd(_mm512_cvtepi32_pd(_mm512_extracti32x8_epi32(rst_d, 1)), adm_gain_d);
# 959| __m512i rst_d_gain = _mm512_inserti32x8(_mm512_castsi256_si512(_mm512_cvtpd_epi32(rst_d_gainlo_d)), _mm512_cvtpd_epi32(rst_d_gainhi_d), 1);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:958:38: note[note]: called from here
# 956| __m512i rst_v_gain = _mm512_inserti32x8(_mm512_castsi256_si512(_mm512_cvtpd_epi32(rst_v_gainlo_d)), _mm512_cvtpd_epi32(rst_v_gainhi_d), 1);
# 957| __m512d rst_d_gainlo_d = _mm512_mul_pd(_mm512_cvtepi32_pd(_mm512_extracti32x8_epi32(rst_d, 0)), adm_gain_d);
# 958|-> __m512d rst_d_gainhi_d = _mm512_mul_pd(_mm512_cvtepi32_pd(_mm512_extracti32x8_epi32(rst_d, 1)), adm_gain_d);
# 959| __m512i rst_d_gain = _mm512_inserti32x8(_mm512_castsi256_si512(_mm512_cvtpd_epi32(rst_d_gainlo_d)), _mm512_cvtpd_epi32(rst_d_gainhi_d), 1);
# 960|
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:959:34: note[note]: called from here
# 957| __m512d rst_d_gainlo_d = _mm512_mul_pd(_mm512_cvtepi32_pd(_mm512_extracti32x8_epi32(rst_d, 0)), adm_gain_d);
# 958| __m512d rst_d_gainhi_d = _mm512_mul_pd(_mm512_cvtepi32_pd(_mm512_extracti32x8_epi32(rst_d, 1)), adm_gain_d);
# 959|-> __m512i rst_d_gain = _mm512_inserti32x8(_mm512_castsi256_si512(_mm512_cvtpd_epi32(rst_d_gainlo_d)), _mm512_cvtpd_epi32(rst_d_gainhi_d), 1);
# 960|
# 961| __m512i h_min = _mm512_min_epi32(rst_h_gain, th);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:961:29: note[note]: called from here
# 959| __m512i rst_d_gain = _mm512_inserti32x8(_mm512_castsi256_si512(_mm512_cvtpd_epi32(rst_d_gainlo_d)), _mm512_cvtpd_epi32(rst_d_gainhi_d), 1);
# 960|
# 961|-> __m512i h_min = _mm512_min_epi32(rst_h_gain, th);
# 962| __m512i v_min = _mm512_min_epi32(rst_v_gain, tv);
# 963| __m512i d_min = _mm512_min_epi32(rst_d_gain, td);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:962:29: note[note]: called from here
# 960|
# 961| __m512i h_min = _mm512_min_epi32(rst_h_gain, th);
# 962|-> __m512i v_min = _mm512_min_epi32(rst_v_gain, tv);
# 963| __m512i d_min = _mm512_min_epi32(rst_d_gain, td);
# 964|
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:963:29: note[note]: called from here
# 961| __m512i h_min = _mm512_min_epi32(rst_h_gain, th);
# 962| __m512i v_min = _mm512_min_epi32(rst_v_gain, tv);
# 963|-> __m512i d_min = _mm512_min_epi32(rst_d_gain, td);
# 964|
# 965| __m512i h_max = _mm512_max_epi32(rst_h_gain, th);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:965:29: note[note]: called from here
# 963| __m512i d_min = _mm512_min_epi32(rst_d_gain, td);
# 964|
# 965|-> __m512i h_max = _mm512_max_epi32(rst_h_gain, th);
# 966| __m512i v_max = _mm512_max_epi32(rst_v_gain, tv);
# 967| __m512i d_max = _mm512_max_epi32(rst_d_gain, td);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:966:29: note[note]: called from here
# 964|
# 965| __m512i h_max = _mm512_max_epi32(rst_h_gain, th);
# 966|-> __m512i v_max = _mm512_max_epi32(rst_v_gain, tv);
# 967| __m512i d_max = _mm512_max_epi32(rst_d_gain, td);
# 968|
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:967:29: note[note]: called from here
# 965| __m512i h_max = _mm512_max_epi32(rst_h_gain, th);
# 966| __m512i v_max = _mm512_max_epi32(rst_v_gain, tv);
# 967|-> __m512i d_max = _mm512_max_epi32(rst_d_gain, td);
# 968|
# 969| h_min = _mm512_mask_blend_epi32(gt0_rst_h_f, _mm512_setzero_epi32(), h_min);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:969:21: note[note]: called from here
# 967| __m512i d_max = _mm512_max_epi32(rst_d_gain, td);
# 968|
# 969|-> h_min = _mm512_mask_blend_epi32(gt0_rst_h_f, _mm512_setzero_epi32(), h_min);
# 970| h_max = _mm512_mask_blend_epi32(lt0_rst_h_f, _mm512_setzero_epi32(), h_max);
# 971| v_min = _mm512_mask_blend_epi32(gt0_rst_v_f, _mm512_setzero_epi32(), v_min);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:970:21: note[note]: called from here
# 968|
# 969| h_min = _mm512_mask_blend_epi32(gt0_rst_h_f, _mm512_setzero_epi32(), h_min);
# 970|-> h_max = _mm512_mask_blend_epi32(lt0_rst_h_f, _mm512_setzero_epi32(), h_max);
# 971| v_min = _mm512_mask_blend_epi32(gt0_rst_v_f, _mm512_setzero_epi32(), v_min);
# 972| v_max = _mm512_mask_blend_epi32(lt0_rst_v_f, _mm512_setzero_epi32(), v_max);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:971:21: note[note]: called from here
# 969| h_min = _mm512_mask_blend_epi32(gt0_rst_h_f, _mm512_setzero_epi32(), h_min);
# 970| h_max = _mm512_mask_blend_epi32(lt0_rst_h_f, _mm512_setzero_epi32(), h_max);
# 971|-> v_min = _mm512_mask_blend_epi32(gt0_rst_v_f, _mm512_setzero_epi32(), v_min);
# 972| v_max = _mm512_mask_blend_epi32(lt0_rst_v_f, _mm512_setzero_epi32(), v_max);
# 973| d_min = _mm512_mask_blend_epi32(gt0_rst_d_f, _mm512_setzero_epi32(), d_min);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:972:21: note[note]: called from here
# 970| h_max = _mm512_mask_blend_epi32(lt0_rst_h_f, _mm512_setzero_epi32(), h_max);
# 971| v_min = _mm512_mask_blend_epi32(gt0_rst_v_f, _mm512_setzero_epi32(), v_min);
# 972|-> v_max = _mm512_mask_blend_epi32(lt0_rst_v_f, _mm512_setzero_epi32(), v_max);
# 973| d_min = _mm512_mask_blend_epi32(gt0_rst_d_f, _mm512_setzero_epi32(), d_min);
# 974| d_max = _mm512_mask_blend_epi32(lt0_rst_d_f, _mm512_setzero_epi32(), d_max);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:973:21: note[note]: called from here
# 971| v_min = _mm512_mask_blend_epi32(gt0_rst_v_f, _mm512_setzero_epi32(), v_min);
# 972| v_max = _mm512_mask_blend_epi32(lt0_rst_v_f, _mm512_setzero_epi32(), v_max);
# 973|-> d_min = _mm512_mask_blend_epi32(gt0_rst_d_f, _mm512_setzero_epi32(), d_min);
# 974| d_max = _mm512_mask_blend_epi32(lt0_rst_d_f, _mm512_setzero_epi32(), d_max);
# 975|
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:974:21: note[note]: called from here
# 972| v_max = _mm512_mask_blend_epi32(lt0_rst_v_f, _mm512_setzero_epi32(), v_max);
# 973| d_min = _mm512_mask_blend_epi32(gt0_rst_d_f, _mm512_setzero_epi32(), d_min);
# 974|-> d_max = _mm512_mask_blend_epi32(lt0_rst_d_f, _mm512_setzero_epi32(), d_max);
# 975|
# 976| __mmask16 mask_min_max_h = _kor_mask16(gt0_rst_h_f, lt0_rst_h_f);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:976:40: note[note]: called from here
# 974| d_max = _mm512_mask_blend_epi32(lt0_rst_d_f, _mm512_setzero_epi32(), d_max);
# 975|
# 976|-> __mmask16 mask_min_max_h = _kor_mask16(gt0_rst_h_f, lt0_rst_h_f);
# 977| __mmask16 mask_min_max_v = _kor_mask16(gt0_rst_v_f, lt0_rst_v_f);
# 978| __mmask16 mask_min_max_d = _kor_mask16(gt0_rst_d_f, lt0_rst_d_f);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:977:40: note[note]: called from here
# 975|
# 976| __mmask16 mask_min_max_h = _kor_mask16(gt0_rst_h_f, lt0_rst_h_f);
# 977|-> __mmask16 mask_min_max_v = _kor_mask16(gt0_rst_v_f, lt0_rst_v_f);
# 978| __mmask16 mask_min_max_d = _kor_mask16(gt0_rst_d_f, lt0_rst_d_f);
# 979|
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:978:40: note[note]: called from here
# 976| __mmask16 mask_min_max_h = _kor_mask16(gt0_rst_h_f, lt0_rst_h_f);
# 977| __mmask16 mask_min_max_v = _kor_mask16(gt0_rst_v_f, lt0_rst_v_f);
# 978|-> __mmask16 mask_min_max_d = _kor_mask16(gt0_rst_d_f, lt0_rst_d_f);
# 979|
# 980| __m512i h_min_max = _mm512_or_si512(h_min, h_max);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:980:33: note[note]: called from here
# 978| __mmask16 mask_min_max_d = _kor_mask16(gt0_rst_d_f, lt0_rst_d_f);
# 979|
# 980|-> __m512i h_min_max = _mm512_or_si512(h_min, h_max);
# 981| __m512i v_min_max = _mm512_or_si512(v_min, v_max);
# 982| __m512i d_min_max = _mm512_or_si512(d_min, d_max);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:981:33: note[note]: called from here
# 979|
# 980| __m512i h_min_max = _mm512_or_si512(h_min, h_max);
# 981|-> __m512i v_min_max = _mm512_or_si512(v_min, v_max);
# 982| __m512i d_min_max = _mm512_or_si512(d_min, d_max);
# 983|
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:982:33: note[note]: called from here
# 980| __m512i h_min_max = _mm512_or_si512(h_min, h_max);
# 981| __m512i v_min_max = _mm512_or_si512(v_min, v_max);
# 982|-> __m512i d_min_max = _mm512_or_si512(d_min, d_max);
# 983|
# 984| h_min_max = _mm512_mask_blend_epi32(mask_min_max_h, rst_h, h_min_max);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:984:25: note[note]: called from here
# 982| __m512i d_min_max = _mm512_or_si512(d_min, d_max);
# 983|
# 984|-> h_min_max = _mm512_mask_blend_epi32(mask_min_max_h, rst_h, h_min_max);
# 985| v_min_max = _mm512_mask_blend_epi32(mask_min_max_v, rst_v, v_min_max);
# 986| d_min_max = _mm512_mask_blend_epi32(mask_min_max_d, rst_d, d_min_max);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:985:25: note[note]: called from here
# 983|
# 984| h_min_max = _mm512_mask_blend_epi32(mask_min_max_h, rst_h, h_min_max);
# 985|-> v_min_max = _mm512_mask_blend_epi32(mask_min_max_v, rst_v, v_min_max);
# 986| d_min_max = _mm512_mask_blend_epi32(mask_min_max_d, rst_d, d_min_max);
# 987|
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:986:25: note[note]: called from here
# 984| h_min_max = _mm512_mask_blend_epi32(mask_min_max_h, rst_h, h_min_max);
# 985| v_min_max = _mm512_mask_blend_epi32(mask_min_max_v, rst_v, v_min_max);
# 986|-> d_min_max = _mm512_mask_blend_epi32(mask_min_max_d, rst_d, d_min_max);
# 987|
# 988| rst_h = _mm512_mask_blend_epi32(angle_flag, rst_h, h_min_max);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:988:21: note[note]: called from here
# 986| d_min_max = _mm512_mask_blend_epi32(mask_min_max_d, rst_d, d_min_max);
# 987|
# 988|-> rst_h = _mm512_mask_blend_epi32(angle_flag, rst_h, h_min_max);
# 989| rst_v = _mm512_mask_blend_epi32(angle_flag, rst_v, v_min_max);
# 990| rst_d = _mm512_mask_blend_epi32(angle_flag, rst_d, d_min_max);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:989:21: note[note]: called from here
# 987|
# 988| rst_h = _mm512_mask_blend_epi32(angle_flag, rst_h, h_min_max);
# 989|-> rst_v = _mm512_mask_blend_epi32(angle_flag, rst_v, v_min_max);
# 990| rst_d = _mm512_mask_blend_epi32(angle_flag, rst_d, d_min_max);
# 991|
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:990:21: note[note]: called from here
# 988| rst_h = _mm512_mask_blend_epi32(angle_flag, rst_h, h_min_max);
# 989| rst_v = _mm512_mask_blend_epi32(angle_flag, rst_v, v_min_max);
# 990|-> rst_d = _mm512_mask_blend_epi32(angle_flag, rst_d, d_min_max);
# 991|
# 992| th = _mm512_sub_epi32(th, rst_h);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:992:18: note[note]: called from here
# 990| rst_d = _mm512_mask_blend_epi32(angle_flag, rst_d, d_min_max);
# 991|
# 992|-> th = _mm512_sub_epi32(th, rst_h);
# 993| tv = _mm512_sub_epi32(tv, rst_v);
# 994| td = _mm512_sub_epi32(td, rst_d);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:993:18: note[note]: called from here
# 991|
# 992| th = _mm512_sub_epi32(th, rst_h);
# 993|-> tv = _mm512_sub_epi32(tv, rst_v);
# 994| td = _mm512_sub_epi32(td, rst_d);
# 995|
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:994:18: note[note]: called from here
# 992| th = _mm512_sub_epi32(th, rst_h);
# 993| tv = _mm512_sub_epi32(tv, rst_v);
# 994|-> td = _mm512_sub_epi32(td, rst_d);
# 995|
# 996| //__m512i perm = _mm512_set_epi16(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 28, 26, 24, 22, 20, 18, 16, 14, 12, 10, 8, 6, 4, 2, 0);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:999:28: note[note]: called from here
# 997| int16_t values[32] = {0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
# 998|
# 999|-> __m512i perm = _mm512_loadu_si512((void const*)values);
# 1000| rst_h = _mm512_permutexvar_epi16(perm, rst_h);
# 1001| rst_v = _mm512_permutexvar_epi16(perm, rst_v);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:1000:21: note[note]: called from here
# 998|
# 999| __m512i perm = _mm512_loadu_si512((void const*)values);
# 1000|-> rst_h = _mm512_permutexvar_epi16(perm, rst_h);
# 1001| rst_v = _mm512_permutexvar_epi16(perm, rst_v);
# 1002| rst_d = _mm512_permutexvar_epi16(perm, rst_d);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:1001:21: note[note]: called from here
# 999| __m512i perm = _mm512_loadu_si512((void const*)values);
# 1000| rst_h = _mm512_permutexvar_epi16(perm, rst_h);
# 1001|-> rst_v = _mm512_permutexvar_epi16(perm, rst_v);
# 1002| rst_d = _mm512_permutexvar_epi16(perm, rst_d);
# 1003| th = _mm512_permutexvar_epi16(perm, th);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:1002:21: note[note]: called from here
# 1000| rst_h = _mm512_permutexvar_epi16(perm, rst_h);
# 1001| rst_v = _mm512_permutexvar_epi16(perm, rst_v);
# 1002|-> rst_d = _mm512_permutexvar_epi16(perm, rst_d);
# 1003| th = _mm512_permutexvar_epi16(perm, th);
# 1004| tv = _mm512_permutexvar_epi16(perm, tv);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:1003:18: note[note]: called from here
# 1001| rst_v = _mm512_permutexvar_epi16(perm, rst_v);
# 1002| rst_d = _mm512_permutexvar_epi16(perm, rst_d);
# 1003|-> th = _mm512_permutexvar_epi16(perm, th);
# 1004| tv = _mm512_permutexvar_epi16(perm, tv);
# 1005| td = _mm512_permutexvar_epi16(perm, td);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:1004:18: note[note]: called from here
# 1002| rst_d = _mm512_permutexvar_epi16(perm, rst_d);
# 1003| th = _mm512_permutexvar_epi16(perm, th);
# 1004|-> tv = _mm512_permutexvar_epi16(perm, tv);
# 1005| td = _mm512_permutexvar_epi16(perm, td);
# 1006|
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:1005:18: note[note]: called from here
# 1003| th = _mm512_permutexvar_epi16(perm, th);
# 1004| tv = _mm512_permutexvar_epi16(perm, tv);
# 1005|-> td = _mm512_permutexvar_epi16(perm, td);
# 1006|
# 1007| _mm256_storeu_si256((__m256i*)(r->band_h + i * stride + j), _mm512_castsi512_si256(rst_h));
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:1007:13: note[note]: called from here
# 1005| td = _mm512_permutexvar_epi16(perm, td);
# 1006|
# 1007|-> _mm256_storeu_si256((__m256i*)(r->band_h + i * stride + j), _mm512_castsi512_si256(rst_h));
# 1008| _mm256_storeu_si256((__m256i*)(r->band_v + i * stride + j), _mm512_castsi512_si256(rst_v));
# 1009| _mm256_storeu_si256((__m256i*)(r->band_d + i * stride + j), _mm512_castsi512_si256(rst_d));
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:1008:13: note[note]: called from here
# 1006|
# 1007| _mm256_storeu_si256((__m256i*)(r->band_h + i * stride + j), _mm512_castsi512_si256(rst_h));
# 1008|-> _mm256_storeu_si256((__m256i*)(r->band_v + i * stride + j), _mm512_castsi512_si256(rst_v));
# 1009| _mm256_storeu_si256((__m256i*)(r->band_d + i * stride + j), _mm512_castsi512_si256(rst_d));
# 1010| _mm256_storeu_si256((__m256i*)(a->band_h + i * stride + j), _mm512_castsi512_si256(th));
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:1009:13: note[note]: called from here
# 1007| _mm256_storeu_si256((__m256i*)(r->band_h + i * stride + j), _mm512_castsi512_si256(rst_h));
# 1008| _mm256_storeu_si256((__m256i*)(r->band_v + i * stride + j), _mm512_castsi512_si256(rst_v));
# 1009|-> _mm256_storeu_si256((__m256i*)(r->band_d + i * stride + j), _mm512_castsi512_si256(rst_d));
# 1010| _mm256_storeu_si256((__m256i*)(a->band_h + i * stride + j), _mm512_castsi512_si256(th));
# 1011| _mm256_storeu_si256((__m256i*)(a->band_v + i * stride + j), _mm512_castsi512_si256(tv));
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:1010:13: note[note]: called from here
# 1008| _mm256_storeu_si256((__m256i*)(r->band_v + i * stride + j), _mm512_castsi512_si256(rst_v));
# 1009| _mm256_storeu_si256((__m256i*)(r->band_d + i * stride + j), _mm512_castsi512_si256(rst_d));
# 1010|-> _mm256_storeu_si256((__m256i*)(a->band_h + i * stride + j), _mm512_castsi512_si256(th));
# 1011| _mm256_storeu_si256((__m256i*)(a->band_v + i * stride + j), _mm512_castsi512_si256(tv));
# 1012| _mm256_storeu_si256((__m256i*)(a->band_d + i * stride + j), _mm512_castsi512_si256(td));
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:1011:13: note[note]: called from here
# 1009| _mm256_storeu_si256((__m256i*)(r->band_d + i * stride + j), _mm512_castsi512_si256(rst_d));
# 1010| _mm256_storeu_si256((__m256i*)(a->band_h + i * stride + j), _mm512_castsi512_si256(th));
# 1011|-> _mm256_storeu_si256((__m256i*)(a->band_v + i * stride + j), _mm512_castsi512_si256(tv));
# 1012| _mm256_storeu_si256((__m256i*)(a->band_d + i * stride + j), _mm512_castsi512_si256(td));
# 1013| }
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/adm_avx512.c:1012:13: note[note]: called from here
# 1010| _mm256_storeu_si256((__m256i*)(a->band_h + i * stride + j), _mm512_castsi512_si256(th));
# 1011| _mm256_storeu_si256((__m256i*)(a->band_v + i * stride + j), _mm512_castsi512_si256(tv));
# 1012|-> _mm256_storeu_si256((__m256i*)(a->band_d + i * stride + j), _mm512_castsi512_si256(td));
# 1013| }
# 1014|
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/cambi_avx2.c:57:1: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
# 55| // mode3 returns the duplicate among (a, b, c) if any pair matches, otherwise
# 56| // the unsigned min. Vectorized over 16 uint16 lanes.
# 57|-> static inline __m256i mode3_avx2(__m256i a, __m256i b, __m256i c) {
# 58| __m256i ab_eq = _mm256_cmpeq_epi16(a, b);
# 59| __m256i ac_eq = _mm256_cmpeq_epi16(a, c);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/cambi_avx2.c:57:23: note[note]: the ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
# 55| // mode3 returns the duplicate among (a, b, c) if any pair matches, otherwise
# 56| // the unsigned min. Vectorized over 16 uint16 lanes.
# 57|-> static inline __m256i mode3_avx2(__m256i a, __m256i b, __m256i c) {
# 58| __m256i ab_eq = _mm256_cmpeq_epi16(a, b);
# 59| __m256i ac_eq = _mm256_cmpeq_epi16(a, c);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/motion_avx2.c:36:23: note[note]: the ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
# 34| // AVX2 lacks srai_epi64; this uses the blend trick:
# 35| // low dwords come from logical shift, high dwords from arithmetic shift.
# 36|-> static inline __m256i srai_epi64_16(__m256i v)
# 37| {
# 38| __m256i lo = _mm256_srli_epi64(v, 16);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/motion_avx2.c:37:1: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
# 35| // low dwords come from logical shift, high dwords from arithmetic shift.
# 36| static inline __m256i srai_epi64_16(__m256i v)
# 37|-> {
# 38| __m256i lo = _mm256_srli_epi64(v, 16);
# 39| __m256i hi = _mm256_srai_epi32(v, 16);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/motion_avx2.c:38:18: note[note]: called from here
# 36| static inline __m256i srai_epi64_16(__m256i v)
# 37| {
# 38|-> __m256i lo = _mm256_srli_epi64(v, 16);
# 39| __m256i hi = _mm256_srai_epi32(v, 16);
# 40| return _mm256_blend_epi32(lo, hi, 0xAA);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/motion_avx2.c:39:18: note[note]: called from here
# 37| {
# 38| __m256i lo = _mm256_srli_epi64(v, 16);
# 39|-> __m256i hi = _mm256_srai_epi32(v, 16);
# 40| return _mm256_blend_epi32(lo, hi, 0xAA);
# 41| }
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/motion_avx2.c:40:12: note[note]: called from here
# 38| __m256i lo = _mm256_srli_epi64(v, 16);
# 39| __m256i hi = _mm256_srai_epi32(v, 16);
# 40|-> return _mm256_blend_epi32(lo, hi, 0xAA);
# 41| }
# 42|
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/motion_avx512.c:38:24: note[note]: called from here
# 36| x_conv_row_sad_avx512(const int32_t *y_row, unsigned w)
# 37| {
# 38|-> const __m512i g0 = _mm512_set1_epi32(3571);
# 39| const __m512i g1 = _mm512_set1_epi32(16004);
# 40| const __m512i g2 = _mm512_set1_epi32(26386);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/motion_avx512.c:39:24: note[note]: called from here
# 37| {
# 38| const __m512i g0 = _mm512_set1_epi32(3571);
# 39|-> const __m512i g1 = _mm512_set1_epi32(16004);
# 40| const __m512i g2 = _mm512_set1_epi32(26386);
# 41| const __m512i round64 = _mm512_set1_epi64(1 << 15);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/motion_avx512.c:40:24: note[note]: called from here
# 38| const __m512i g0 = _mm512_set1_epi32(3571);
# 39| const __m512i g1 = _mm512_set1_epi32(16004);
# 40|-> const __m512i g2 = _mm512_set1_epi32(26386);
# 41| const __m512i round64 = _mm512_set1_epi64(1 << 15);
# 42|
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/motion_avx512.c:41:29: note[note]: called from here
# 39| const __m512i g1 = _mm512_set1_epi32(16004);
# 40| const __m512i g2 = _mm512_set1_epi32(26386);
# 41|-> const __m512i round64 = _mm512_set1_epi64(1 << 15);
# 42|
# 43| uint32_t row_sad = 0;
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/motion_avx512.c:58:23: note[note]: called from here
# 56|
# 57| // SIMD middle: need y_row[j-2]..y_row[j+17], so j+18 <= w
# 58|-> __m512i sad_acc = _mm512_setzero_si512();
# 59| for (; j + 18 <= w; j += 16) {
# 60| __m512i y0 = _mm512_loadu_si512((__m512i*)(y_row + j - 2));
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/motion_avx512.c:60:22: note[note]: called from here
# 58| __m512i sad_acc = _mm512_setzero_si512();
# 59| for (; j + 18 <= w; j += 16) {
# 60|-> __m512i y0 = _mm512_loadu_si512((__m512i*)(y_row + j - 2));
# 61| __m512i y1 = _mm512_loadu_si512((__m512i*)(y_row + j - 1));
# 62| __m512i y2 = _mm512_loadu_si512((__m512i*)(y_row + j));
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/motion_avx512.c:61:22: note[note]: called from here
# 59| for (; j + 18 <= w; j += 16) {
# 60| __m512i y0 = _mm512_loadu_si512((__m512i*)(y_row + j - 2));
# 61|-> __m512i y1 = _mm512_loadu_si512((__m512i*)(y_row + j - 1));
# 62| __m512i y2 = _mm512_loadu_si512((__m512i*)(y_row + j));
# 63| __m512i y3 = _mm512_loadu_si512((__m512i*)(y_row + j + 1));
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/motion_avx512.c:62:22: note[note]: called from here
# 60| __m512i y0 = _mm512_loadu_si512((__m512i*)(y_row + j - 2));
# 61| __m512i y1 = _mm512_loadu_si512((__m512i*)(y_row + j - 1));
# 62|-> __m512i y2 = _mm512_loadu_si512((__m512i*)(y_row + j));
# 63| __m512i y3 = _mm512_loadu_si512((__m512i*)(y_row + j + 1));
# 64| __m512i y4 = _mm512_loadu_si512((__m512i*)(y_row + j + 2));
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/motion_avx512.c:63:22: note[note]: called from here
# 61| __m512i y1 = _mm512_loadu_si512((__m512i*)(y_row + j - 1));
# 62| __m512i y2 = _mm512_loadu_si512((__m512i*)(y_row + j));
# 63|-> __m512i y3 = _mm512_loadu_si512((__m512i*)(y_row + j + 1));
# 64| __m512i y4 = _mm512_loadu_si512((__m512i*)(y_row + j + 2));
# 65|
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/motion_avx512.c:64:22: note[note]: called from here
# 62| __m512i y2 = _mm512_loadu_si512((__m512i*)(y_row + j));
# 63| __m512i y3 = _mm512_loadu_si512((__m512i*)(y_row + j + 1));
# 64|-> __m512i y4 = _mm512_loadu_si512((__m512i*)(y_row + j + 2));
# 65|
# 66| // Each product fits in int32
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/motion_avx512.c:67:22: note[note]: called from here
# 65|
# 66| // Each product fits in int32
# 67|-> __m512i p0 = _mm512_mullo_epi32(y0, g0);
# 68| __m512i p1 = _mm512_mullo_epi32(y1, g1);
# 69| __m512i p2 = _mm512_mullo_epi32(y2, g2);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/motion_avx512.c:68:22: note[note]: called from here
# 66| // Each product fits in int32
# 67| __m512i p0 = _mm512_mullo_epi32(y0, g0);
# 68|-> __m512i p1 = _mm512_mullo_epi32(y1, g1);
# 69| __m512i p2 = _mm512_mullo_epi32(y2, g2);
# 70| __m512i p3 = _mm512_mullo_epi32(y3, g1);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/motion_avx512.c:69:22: note[note]: called from here
# 67| __m512i p0 = _mm512_mullo_epi32(y0, g0);
# 68| __m512i p1 = _mm512_mullo_epi32(y1, g1);
# 69|-> __m512i p2 = _mm512_mullo_epi32(y2, g2);
# 70| __m512i p3 = _mm512_mullo_epi32(y3, g1);
# 71| __m512i p4 = _mm512_mullo_epi32(y4, g0);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/motion_avx512.c:70:22: note[note]: called from here
# 68| __m512i p1 = _mm512_mullo_epi32(y1, g1);
# 69| __m512i p2 = _mm512_mullo_epi32(y2, g2);
# 70|-> __m512i p3 = _mm512_mullo_epi32(y3, g1);
# 71| __m512i p4 = _mm512_mullo_epi32(y4, g0);
# 72|
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/motion_avx512.c:71:22: note[note]: called from here
# 69| __m512i p2 = _mm512_mullo_epi32(y2, g2);
# 70| __m512i p3 = _mm512_mullo_epi32(y3, g1);
# 71|-> __m512i p4 = _mm512_mullo_epi32(y4, g0);
# 72|
# 73| // Safe pairs that fit in int32
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/motion_avx512.c:74:23: note[note]: called from here
# 72|
# 73| // Safe pairs that fit in int32
# 74|-> __m512i s04 = _mm512_add_epi32(p0, p4);
# 75| __m512i s13 = _mm512_add_epi32(p1, p3);
# 76|
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/motion_avx512.c:75:23: note[note]: called from here
# 73| // Safe pairs that fit in int32
# 74| __m512i s04 = _mm512_add_epi32(p0, p4);
# 75|-> __m512i s13 = _mm512_add_epi32(p1, p3);
# 76|
# 77| // Widen to int64 and accumulate (lo 8 elements)
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/motion_avx512.c:78:26: note[note]: called from here
# 76|
# 77| // Widen to int64 and accumulate (lo 8 elements)
# 78|-> __m512i acc_lo = _mm512_cvtepi32_epi64(_mm512_castsi512_si256(s04));
# 79| acc_lo = _mm512_add_epi64(acc_lo, _mm512_cvtepi32_epi64(_mm512_castsi512_si256(s13)));
# 80| acc_lo = _mm512_add_epi64(acc_lo, _mm512_cvtepi32_epi64(_mm512_castsi512_si256(p2)));
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/motion_avx512.c:79:18: note[note]: called from here
# 77| // Widen to int64 and accumulate (lo 8 elements)
# 78| __m512i acc_lo = _mm512_cvtepi32_epi64(_mm512_castsi512_si256(s04));
# 79|-> acc_lo = _mm512_add_epi64(acc_lo, _mm512_cvtepi32_epi64(_mm512_castsi512_si256(s13)));
# 80| acc_lo = _mm512_add_epi64(acc_lo, _mm512_cvtepi32_epi64(_mm512_castsi512_si256(p2)));
# 81|
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/motion_avx512.c:80:18: note[note]: called from here
# 78| __m512i acc_lo = _mm512_cvtepi32_epi64(_mm512_castsi512_si256(s04));
# 79| acc_lo = _mm512_add_epi64(acc_lo, _mm512_cvtepi32_epi64(_mm512_castsi512_si256(s13)));
# 80|-> acc_lo = _mm512_add_epi64(acc_lo, _mm512_cvtepi32_epi64(_mm512_castsi512_si256(p2)));
# 81|
# 82| // hi 8 elements
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/motion_avx512.c:83:26: note[note]: called from here
# 81|
# 82| // hi 8 elements
# 83|-> __m512i acc_hi = _mm512_cvtepi32_epi64(_mm512_extracti64x4_epi64(s04, 1));
# 84| acc_hi = _mm512_add_epi64(acc_hi, _mm512_cvtepi32_epi64(_mm512_extracti64x4_epi64(s13, 1)));
# 85| acc_hi = _mm512_add_epi64(acc_hi, _mm512_cvtepi32_epi64(_mm512_extracti64x4_epi64(p2, 1)));
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/motion_avx512.c:84:18: note[note]: called from here
# 82| // hi 8 elements
# 83| __m512i acc_hi = _mm512_cvtepi32_epi64(_mm512_extracti64x4_epi64(s04, 1));
# 84|-> acc_hi = _mm512_add_epi64(acc_hi, _mm512_cvtepi32_epi64(_mm512_extracti64x4_epi64(s13, 1)));
# 85| acc_hi = _mm512_add_epi64(acc_hi, _mm512_cvtepi32_epi64(_mm512_extracti64x4_epi64(p2, 1)));
# 86|
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/motion_avx512.c:85:18: note[note]: called from here
# 83| __m512i acc_hi = _mm512_cvtepi32_epi64(_mm512_extracti64x4_epi64(s04, 1));
# 84| acc_hi = _mm512_add_epi64(acc_hi, _mm512_cvtepi32_epi64(_mm512_extracti64x4_epi64(s13, 1)));
# 85|-> acc_hi = _mm512_add_epi64(acc_hi, _mm512_cvtepi32_epi64(_mm512_extracti64x4_epi64(p2, 1)));
# 86|
# 87| // Round and arithmetic right shift >>16 (native in AVX-512)
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/motion_avx512.c:88:18: note[note]: called from here
# 86|
# 87| // Round and arithmetic right shift >>16 (native in AVX-512)
# 88|-> acc_lo = _mm512_srai_epi64(_mm512_add_epi64(acc_lo, round64), 16);
# 89| acc_hi = _mm512_srai_epi64(_mm512_add_epi64(acc_hi, round64), 16);
# 90|
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/motion_avx512.c:89:18: note[note]: called from here
# 87| // Round and arithmetic right shift >>16 (native in AVX-512)
# 88| acc_lo = _mm512_srai_epi64(_mm512_add_epi64(acc_lo, round64), 16);
# 89|-> acc_hi = _mm512_srai_epi64(_mm512_add_epi64(acc_hi, round64), 16);
# 90|
# 91| // Narrow int64 -> int32 (signed saturation)
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/motion_avx512.c:92:26: note[note]: called from here
# 90|
# 91| // Narrow int64 -> int32 (signed saturation)
# 92|-> __m256i res_lo = _mm512_cvtsepi64_epi32(acc_lo);
# 93| __m256i res_hi = _mm512_cvtsepi64_epi32(acc_hi);
# 94|
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/motion_avx512.c:93:26: note[note]: called from here
# 91| // Narrow int64 -> int32 (signed saturation)
# 92| __m256i res_lo = _mm512_cvtsepi64_epi32(acc_lo);
# 93|-> __m256i res_hi = _mm512_cvtsepi64_epi32(acc_hi);
# 94|
# 95| // Combine into 16 x int32, abs, accumulate
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/motion_avx512.c:96:26: note[note]: called from here
# 94|
# 95| // Combine into 16 x int32, abs, accumulate
# 96|-> __m512i result = _mm512_inserti64x4(_mm512_castsi256_si512(res_lo), res_hi, 1);
# 97| __m512i abs_result = _mm512_abs_epi32(result);
# 98|
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/motion_avx512.c:97:30: note[note]: called from here
# 95| // Combine into 16 x int32, abs, accumulate
# 96| __m512i result = _mm512_inserti64x4(_mm512_castsi256_si512(res_lo), res_hi, 1);
# 97|-> __m512i abs_result = _mm512_abs_epi32(result);
# 98|
# 99| sad_acc = _mm512_add_epi32(sad_acc, abs_result);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/motion_avx512.c:99:19: note[note]: called from here
# 97| __m512i abs_result = _mm512_abs_epi32(result);
# 98|
# 99|-> sad_acc = _mm512_add_epi32(sad_acc, abs_result);
# 100| }
# 101|
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/motion_avx512.c:102:26: note[note]: called from here
# 100| }
# 101|
# 102|-> row_sad += (uint32_t)_mm512_reduce_add_epi32(sad_acc);
# 103|
# 104| // Scalar right edge + tail
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/motion_avx512.c:128:19: warning[-Wpsabi]: AVX512F vector return without AVX512F enabled changes the ABI
# 126| const ptrdiff_t c_stride = cur_stride / 2;
# 127|
# 128|-> const __m512i g0 = _mm512_set1_epi32(3571);
# 129| const __m512i g1 = _mm512_set1_epi32(16004);
# 130| const __m512i g2 = _mm512_set1_epi32(26386);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/motion_avx512.c:147:26: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
# 145| __m512i nz_acc = _mm512_setzero_si512();
# 146| for (j = 0; j + 16 <= w; j += 16) {
# 147|-> __m512i d0 = _mm512_sub_epi32(
# 148| _mm512_cvtepu16_epi32(_mm256_loadu_si256((__m256i*)(pp[0] + j))),
# 149| _mm512_cvtepu16_epi32(_mm256_loadu_si256((__m256i*)(cp[0] + j))));
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/speed_avx2.c:30:13: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
# 28| double mean_x, double mean_y)
# 29| {
# 30|-> __m256d acc0 = _mm256_setzero_pd();
# 31| __m256d acc1 = _mm256_setzero_pd();
# 32| const __m256d mx = _mm256_set1_pd(mean_x);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/speed_avx2.c:30:20: note[note]: called from here
# 28| double mean_x, double mean_y)
# 29| {
# 30|-> __m256d acc0 = _mm256_setzero_pd();
# 31| __m256d acc1 = _mm256_setzero_pd();
# 32| const __m256d mx = _mm256_set1_pd(mean_x);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/speed_avx2.c:31:20: note[note]: called from here
# 29| {
# 30| __m256d acc0 = _mm256_setzero_pd();
# 31|-> __m256d acc1 = _mm256_setzero_pd();
# 32| const __m256d mx = _mm256_set1_pd(mean_x);
# 33| const __m256d my = _mm256_set1_pd(mean_y);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/speed_avx2.c:32:24: note[note]: called from here
# 30| __m256d acc0 = _mm256_setzero_pd();
# 31| __m256d acc1 = _mm256_setzero_pd();
# 32|-> const __m256d mx = _mm256_set1_pd(mean_x);
# 33| const __m256d my = _mm256_set1_pd(mean_y);
# 34| double scalar_tail = 0.0;
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/speed_avx2.c:33:24: note[note]: called from here
# 31| __m256d acc1 = _mm256_setzero_pd();
# 32| const __m256d mx = _mm256_set1_pd(mean_x);
# 33|-> const __m256d my = _mm256_set1_pd(mean_y);
# 34| double scalar_tail = 0.0;
# 35|
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/speed_avx2.c:46:27: note[note]: called from here
# 44| __m128 fy0 = _mm_loadu_ps(row_y + j);
# 45| __m128 fy1 = _mm_loadu_ps(row_y + j + 4);
# 46|-> __m256d cx0 = _mm256_sub_pd(_mm256_cvtps_pd(fx0), mx);
# 47| __m256d cx1 = _mm256_sub_pd(_mm256_cvtps_pd(fx1), mx);
# 48| __m256d cy0 = _mm256_sub_pd(_mm256_cvtps_pd(fy0), my);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/speed_avx2.c:47:27: note[note]: called from here
# 45| __m128 fy1 = _mm_loadu_ps(row_y + j + 4);
# 46| __m256d cx0 = _mm256_sub_pd(_mm256_cvtps_pd(fx0), mx);
# 47|-> __m256d cx1 = _mm256_sub_pd(_mm256_cvtps_pd(fx1), mx);
# 48| __m256d cy0 = _mm256_sub_pd(_mm256_cvtps_pd(fy0), my);
# 49| __m256d cy1 = _mm256_sub_pd(_mm256_cvtps_pd(fy1), my);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/speed_avx2.c:48:27: note[note]: called from here
# 46| __m256d cx0 = _mm256_sub_pd(_mm256_cvtps_pd(fx0), mx);
# 47| __m256d cx1 = _mm256_sub_pd(_mm256_cvtps_pd(fx1), mx);
# 48|-> __m256d cy0 = _mm256_sub_pd(_mm256_cvtps_pd(fy0), my);
# 49| __m256d cy1 = _mm256_sub_pd(_mm256_cvtps_pd(fy1), my);
# 50| acc0 = _mm256_fmadd_pd(cx0, cy0, acc0);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/speed_avx2.c:49:27: note[note]: called from here
# 47| __m256d cx1 = _mm256_sub_pd(_mm256_cvtps_pd(fx1), mx);
# 48| __m256d cy0 = _mm256_sub_pd(_mm256_cvtps_pd(fy0), my);
# 49|-> __m256d cy1 = _mm256_sub_pd(_mm256_cvtps_pd(fy1), my);
# 50| acc0 = _mm256_fmadd_pd(cx0, cy0, acc0);
# 51| acc1 = _mm256_fmadd_pd(cx1, cy1, acc1);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/speed_avx2.c:50:20: note[note]: called from here
# 48| __m256d cy0 = _mm256_sub_pd(_mm256_cvtps_pd(fy0), my);
# 49| __m256d cy1 = _mm256_sub_pd(_mm256_cvtps_pd(fy1), my);
# 50|-> acc0 = _mm256_fmadd_pd(cx0, cy0, acc0);
# 51| acc1 = _mm256_fmadd_pd(cx1, cy1, acc1);
# 52| }
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/speed_avx2.c:51:20: note[note]: called from here
# 49| __m256d cy1 = _mm256_sub_pd(_mm256_cvtps_pd(fy1), my);
# 50| acc0 = _mm256_fmadd_pd(cx0, cy0, acc0);
# 51|-> acc1 = _mm256_fmadd_pd(cx1, cy1, acc1);
# 52| }
# 53|
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/speed_avx2.c:57:26: note[note]: called from here
# 55| __m128 fx = _mm_loadu_ps(row_x + j);
# 56| __m128 fy = _mm_loadu_ps(row_y + j);
# 57|-> __m256d cx = _mm256_sub_pd(_mm256_cvtps_pd(fx), mx);
# 58| __m256d cy = _mm256_sub_pd(_mm256_cvtps_pd(fy), my);
# 59| acc0 = _mm256_fmadd_pd(cx, cy, acc0);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/speed_avx2.c:58:26: note[note]: called from here
# 56| __m128 fy = _mm_loadu_ps(row_y + j);
# 57| __m256d cx = _mm256_sub_pd(_mm256_cvtps_pd(fx), mx);
# 58|-> __m256d cy = _mm256_sub_pd(_mm256_cvtps_pd(fy), my);
# 59| acc0 = _mm256_fmadd_pd(cx, cy, acc0);
# 60| }
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/speed_avx2.c:59:20: note[note]: called from here
# 57| __m256d cx = _mm256_sub_pd(_mm256_cvtps_pd(fx), mx);
# 58| __m256d cy = _mm256_sub_pd(_mm256_cvtps_pd(fy), my);
# 59|-> acc0 = _mm256_fmadd_pd(cx, cy, acc0);
# 60| }
# 61|
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/speed_avx2.c:69:19: note[note]: called from here
# 67| }
# 68|
# 69|-> __m256d acc = _mm256_add_pd(acc0, acc1);
# 70| double tmp[4];
# 71| _mm256_storeu_pd(tmp, acc);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/speed_avx2.c:71:5: note[note]: called from here
# 69| __m256d acc = _mm256_add_pd(acc0, acc1);
# 70| double tmp[4];
# 71|-> _mm256_storeu_pd(tmp, acc);
# 72| return tmp[0] + tmp[1] + tmp[2] + tmp[3] + scalar_tail;
# 73| }
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/speed_avx512.c:28:13: warning[-Wpsabi]: AVX512F vector return without AVX512F enabled changes the ABI
# 26| double mean_x, double mean_y)
# 27| {
# 28|-> __m512d acc0 = _mm512_setzero_pd();
# 29| __m512d acc1 = _mm512_setzero_pd();
# 30| const __m512d mx = _mm512_set1_pd(mean_x);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/speed_avx512.c:28:20: note[note]: called from here
# 26| double mean_x, double mean_y)
# 27| {
# 28|-> __m512d acc0 = _mm512_setzero_pd();
# 29| __m512d acc1 = _mm512_setzero_pd();
# 30| const __m512d mx = _mm512_set1_pd(mean_x);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/speed_avx512.c:29:20: note[note]: called from here
# 27| {
# 28| __m512d acc0 = _mm512_setzero_pd();
# 29|-> __m512d acc1 = _mm512_setzero_pd();
# 30| const __m512d mx = _mm512_set1_pd(mean_x);
# 31| const __m512d my = _mm512_set1_pd(mean_y);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/speed_avx512.c:30:24: note[note]: called from here
# 28| __m512d acc0 = _mm512_setzero_pd();
# 29| __m512d acc1 = _mm512_setzero_pd();
# 30|-> const __m512d mx = _mm512_set1_pd(mean_x);
# 31| const __m512d my = _mm512_set1_pd(mean_y);
# 32| double scalar_tail = 0.0;
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/speed_avx512.c:31:24: note[note]: called from here
# 29| __m512d acc1 = _mm512_setzero_pd();
# 30| const __m512d mx = _mm512_set1_pd(mean_x);
# 31|-> const __m512d my = _mm512_set1_pd(mean_y);
# 32| double scalar_tail = 0.0;
# 33|
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/speed_avx512.c:40:20: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
# 38|
# 39| for (; j + 15 < width; j += 16) {
# 40|-> __m256 fx0 = _mm256_loadu_ps(row_x + j);
# 41| __m256 fx1 = _mm256_loadu_ps(row_x + j + 8);
# 42| __m256 fy0 = _mm256_loadu_ps(row_y + j);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/speed_avx512.c:40:26: note[note]: called from here
# 38|
# 39| for (; j + 15 < width; j += 16) {
# 40|-> __m256 fx0 = _mm256_loadu_ps(row_x + j);
# 41| __m256 fx1 = _mm256_loadu_ps(row_x + j + 8);
# 42| __m256 fy0 = _mm256_loadu_ps(row_y + j);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/speed_avx512.c:41:26: note[note]: called from here
# 39| for (; j + 15 < width; j += 16) {
# 40| __m256 fx0 = _mm256_loadu_ps(row_x + j);
# 41|-> __m256 fx1 = _mm256_loadu_ps(row_x + j + 8);
# 42| __m256 fy0 = _mm256_loadu_ps(row_y + j);
# 43| __m256 fy1 = _mm256_loadu_ps(row_y + j + 8);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/speed_avx512.c:42:26: note[note]: called from here
# 40| __m256 fx0 = _mm256_loadu_ps(row_x + j);
# 41| __m256 fx1 = _mm256_loadu_ps(row_x + j + 8);
# 42|-> __m256 fy0 = _mm256_loadu_ps(row_y + j);
# 43| __m256 fy1 = _mm256_loadu_ps(row_y + j + 8);
# 44| __m512d cx0 = _mm512_sub_pd(_mm512_cvtps_pd(fx0), mx);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/speed_avx512.c:43:26: note[note]: called from here
# 41| __m256 fx1 = _mm256_loadu_ps(row_x + j + 8);
# 42| __m256 fy0 = _mm256_loadu_ps(row_y + j);
# 43|-> __m256 fy1 = _mm256_loadu_ps(row_y + j + 8);
# 44| __m512d cx0 = _mm512_sub_pd(_mm512_cvtps_pd(fx0), mx);
# 45| __m512d cx1 = _mm512_sub_pd(_mm512_cvtps_pd(fx1), mx);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/speed_avx512.c:44:27: note[note]: called from here
# 42| __m256 fy0 = _mm256_loadu_ps(row_y + j);
# 43| __m256 fy1 = _mm256_loadu_ps(row_y + j + 8);
# 44|-> __m512d cx0 = _mm512_sub_pd(_mm512_cvtps_pd(fx0), mx);
# 45| __m512d cx1 = _mm512_sub_pd(_mm512_cvtps_pd(fx1), mx);
# 46| __m512d cy0 = _mm512_sub_pd(_mm512_cvtps_pd(fy0), my);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/speed_avx512.c:45:27: note[note]: called from here
# 43| __m256 fy1 = _mm256_loadu_ps(row_y + j + 8);
# 44| __m512d cx0 = _mm512_sub_pd(_mm512_cvtps_pd(fx0), mx);
# 45|-> __m512d cx1 = _mm512_sub_pd(_mm512_cvtps_pd(fx1), mx);
# 46| __m512d cy0 = _mm512_sub_pd(_mm512_cvtps_pd(fy0), my);
# 47| __m512d cy1 = _mm512_sub_pd(_mm512_cvtps_pd(fy1), my);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/speed_avx512.c:46:27: note[note]: called from here
# 44| __m512d cx0 = _mm512_sub_pd(_mm512_cvtps_pd(fx0), mx);
# 45| __m512d cx1 = _mm512_sub_pd(_mm512_cvtps_pd(fx1), mx);
# 46|-> __m512d cy0 = _mm512_sub_pd(_mm512_cvtps_pd(fy0), my);
# 47| __m512d cy1 = _mm512_sub_pd(_mm512_cvtps_pd(fy1), my);
# 48| acc0 = _mm512_fmadd_pd(cx0, cy0, acc0);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/speed_avx512.c:47:27: note[note]: called from here
# 45| __m512d cx1 = _mm512_sub_pd(_mm512_cvtps_pd(fx1), mx);
# 46| __m512d cy0 = _mm512_sub_pd(_mm512_cvtps_pd(fy0), my);
# 47|-> __m512d cy1 = _mm512_sub_pd(_mm512_cvtps_pd(fy1), my);
# 48| acc0 = _mm512_fmadd_pd(cx0, cy0, acc0);
# 49| acc1 = _mm512_fmadd_pd(cx1, cy1, acc1);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/speed_avx512.c:48:20: note[note]: called from here
# 46| __m512d cy0 = _mm512_sub_pd(_mm512_cvtps_pd(fy0), my);
# 47| __m512d cy1 = _mm512_sub_pd(_mm512_cvtps_pd(fy1), my);
# 48|-> acc0 = _mm512_fmadd_pd(cx0, cy0, acc0);
# 49| acc1 = _mm512_fmadd_pd(cx1, cy1, acc1);
# 50| }
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/speed_avx512.c:49:20: note[note]: called from here
# 47| __m512d cy1 = _mm512_sub_pd(_mm512_cvtps_pd(fy1), my);
# 48| acc0 = _mm512_fmadd_pd(cx0, cy0, acc0);
# 49|-> acc1 = _mm512_fmadd_pd(cx1, cy1, acc1);
# 50| }
# 51|
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/speed_avx512.c:53:25: note[note]: called from here
# 51|
# 52| for (; j + 7 < width; j += 8) {
# 53|-> __m256 fx = _mm256_loadu_ps(row_x + j);
# 54| __m256 fy = _mm256_loadu_ps(row_y + j);
# 55| __m512d cx = _mm512_sub_pd(_mm512_cvtps_pd(fx), mx);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/speed_avx512.c:54:25: note[note]: called from here
# 52| for (; j + 7 < width; j += 8) {
# 53| __m256 fx = _mm256_loadu_ps(row_x + j);
# 54|-> __m256 fy = _mm256_loadu_ps(row_y + j);
# 55| __m512d cx = _mm512_sub_pd(_mm512_cvtps_pd(fx), mx);
# 56| __m512d cy = _mm512_sub_pd(_mm512_cvtps_pd(fy), my);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/speed_avx512.c:55:26: note[note]: called from here
# 53| __m256 fx = _mm256_loadu_ps(row_x + j);
# 54| __m256 fy = _mm256_loadu_ps(row_y + j);
# 55|-> __m512d cx = _mm512_sub_pd(_mm512_cvtps_pd(fx), mx);
# 56| __m512d cy = _mm512_sub_pd(_mm512_cvtps_pd(fy), my);
# 57| acc0 = _mm512_fmadd_pd(cx, cy, acc0);
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/speed_avx512.c:56:26: note[note]: called from here
# 54| __m256 fy = _mm256_loadu_ps(row_y + j);
# 55| __m512d cx = _mm512_sub_pd(_mm512_cvtps_pd(fx), mx);
# 56|-> __m512d cy = _mm512_sub_pd(_mm512_cvtps_pd(fy), my);
# 57| acc0 = _mm512_fmadd_pd(cx, cy, acc0);
# 58| }
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/speed_avx512.c:57:20: note[note]: called from here
# 55| __m512d cx = _mm512_sub_pd(_mm512_cvtps_pd(fx), mx);
# 56| __m512d cy = _mm512_sub_pd(_mm512_cvtps_pd(fy), my);
# 57|-> acc0 = _mm512_fmadd_pd(cx, cy, acc0);
# 58| }
# 59|
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/speed_avx512.c:67:19: note[note]: called from here
# 65| }
# 66|
# 67|-> __m512d acc = _mm512_add_pd(acc0, acc1);
# 68| return _mm512_reduce_add_pd(acc) + scalar_tail;
# 69| }
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/speed_avx512.c:68:12: note[note]: called from here
# 66|
# 67| __m512d acc = _mm512_add_pd(acc0, acc1);
# 68|-> return _mm512_reduce_add_pd(acc) + scalar_tail;
# 69| }
Error: COMPILER_WARNING:
vmaf-3.2.0/libvmaf/src/feature/x86/vif_avx512.c:183:26: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
# 181| for (unsigned jj = 0; jj < n << 4; jj += 32) {
# 182| __m512i f0 = _mm512_set1_epi32(vif_filt[fwidth / 2]);
# 183|-> __m512i r0 = _mm512_cvtepu8_epi16(_mm256_loadu_si256((__m256i*)(((uint8_t*)buf.ref) + (buf.stride * i) + jj)));
# 184| __m512i d0 = _mm512_cvtepu8_epi16(_mm256_loadu_si256((__m256i*)(((uint8_t*)buf.dis) + (buf.stride * i) + jj)));
# 185|
Error: CPPCHECK_WARNING (CWE-476):
vmaf-3.2.0/libvmaf/src/framesync.c:61: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buf_que
# 59| VmafFrameSyncBuf *buf_que = ctx->buf_que = malloc(sizeof(VmafFrameSyncBuf));
# 60|
# 61|-> buf_que->frame_data = NULL;
# 62| buf_que->buf_status = BUF_FREE;
# 63| buf_que->index = -1;
Error: GCC_ANALYZER_WARNING (CWE-476):
vmaf-3.2.0/libvmaf/src/framesync.c:61:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘malloc(32)’
vmaf-3.2.0/libvmaf/src/framesync.c:51:8: branch_false: following ‘false’ branch...
vmaf-3.2.0/libvmaf/src/framesync.c:52:5: branch_false: ...to here
vmaf-3.2.0/libvmaf/src/framesync.c:59:48: acquire_memory: this call could return NULL
vmaf-3.2.0/libvmaf/src/framesync.c:61:5: danger: ‘malloc(32)’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
# 59| VmafFrameSyncBuf *buf_que = ctx->buf_que = malloc(sizeof(VmafFrameSyncBuf));
# 60|
# 61|-> buf_que->frame_data = NULL;
# 62| buf_que->buf_status = BUF_FREE;
# 63| buf_que->index = -1;
Error: CPPCHECK_WARNING (CWE-476):
vmaf-3.2.0/libvmaf/src/framesync.c:62: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buf_que
# 60|
# 61| buf_que->frame_data = NULL;
# 62|-> buf_que->buf_status = BUF_FREE;
# 63| buf_que->index = -1;
# 64| buf_que->next = NULL;
Error: CPPCHECK_WARNING (CWE-476):
vmaf-3.2.0/libvmaf/src/framesync.c:63: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buf_que
# 61| buf_que->frame_data = NULL;
# 62| buf_que->buf_status = BUF_FREE;
# 63|-> buf_que->index = -1;
# 64| buf_que->next = NULL;
# 65|
Error: CPPCHECK_WARNING (CWE-476):
vmaf-3.2.0/libvmaf/src/framesync.c:64: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buf_que
# 62| buf_que->buf_status = BUF_FREE;
# 63| buf_que->index = -1;
# 64|-> buf_que->next = NULL;
# 65|
# 66| return 0;
Error: CPPCHECK_WARNING (CWE-476):
vmaf-3.2.0/libvmaf/src/framesync.c:96: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new_buf_node
# 94| VmafFrameSyncBuf *new_buf_node = malloc(sizeof(VmafFrameSyncBuf));
# 95| buf_que->next = new_buf_node;
# 96|-> new_buf_node->buf_status = BUF_FREE;
# 97| new_buf_node->index = -1;
# 98| new_buf_node->next = NULL;
Error: CPPCHECK_WARNING (CWE-476):
vmaf-3.2.0/libvmaf/src/framesync.c:97: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new_buf_node
# 95| buf_que->next = new_buf_node;
# 96| new_buf_node->buf_status = BUF_FREE;
# 97|-> new_buf_node->index = -1;
# 98| new_buf_node->next = NULL;
# 99| fs_ctx->buf_cnt++;
Error: CPPCHECK_WARNING (CWE-476):
vmaf-3.2.0/libvmaf/src/framesync.c:98: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new_buf_node
# 96| new_buf_node->buf_status = BUF_FREE;
# 97| new_buf_node->index = -1;
# 98|-> new_buf_node->next = NULL;
# 99| fs_ctx->buf_cnt++;
# 100|
Error: CPPCHECK_WARNING (CWE-476):
vmaf-3.2.0/libvmaf/src/framesync.c:101: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new_buf_node
# 99| fs_ctx->buf_cnt++;
# 100|
# 101|-> new_buf_node->frame_data = *data = malloc(data_sz);
# 102| if (!new_buf_node->frame_data)
# 103| return -ENOMEM;
Error: CPPCHECK_WARNING (CWE-476):
vmaf-3.2.0/libvmaf/src/framesync.c:102: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new_buf_node
# 100|
# 101| new_buf_node->frame_data = *data = malloc(data_sz);
# 102|-> if (!new_buf_node->frame_data)
# 103| return -ENOMEM;
# 104| new_buf_node->buf_status = BUF_ACQUIRED;
Error: CPPCHECK_WARNING (CWE-476):
vmaf-3.2.0/libvmaf/src/framesync.c:104: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new_buf_node
# 102| if (!new_buf_node->frame_data)
# 103| return -ENOMEM;
# 104|-> new_buf_node->buf_status = BUF_ACQUIRED;
# 105| new_buf_node->index = index;
# 106| }
Error: CPPCHECK_WARNING (CWE-476):
vmaf-3.2.0/libvmaf/src/framesync.c:105: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new_buf_node
# 103| return -ENOMEM;
# 104| new_buf_node->buf_status = BUF_ACQUIRED;
# 105|-> new_buf_node->index = index;
# 106| }
# 107|
Error: CPPCHECK_WARNING (CWE-457):
vmaf-3.2.0/libvmaf/src/predict.c:294: warning[uninitvar]: Uninitialized variable: guiding_score
# 292|
# 293| double corrected_guided_score =
# 294|-> (-correction_parameter * guiding_score) + correction_parameter;
# 295| err = normalize(model, model->feature[guided_idx].slope,
# 296| model->feature[guided_idx].intercept,
Error: GCC_ANALYZER_WARNING (CWE-457):
vmaf-3.2.0/libvmaf/src/predict.c:294:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘guiding_score’
vmaf-3.2.0/libvmaf/src/predict.c:535:5: enter_function: entry to ‘vmaf_predict_score_at_index_model_collection’
vmaf-3.2.0/libvmaf/src/predict.c:541:5: branch_true: following ‘true’ branch...
vmaf-3.2.0/libvmaf/src/predict.c:542:5: branch_true: ...to here
vmaf-3.2.0/libvmaf/src/predict.c:544:16: call_function: calling ‘vmaf_bootstrap_predict_score_at_index’ from ‘vmaf_predict_score_at_index_model_collection’
# 292|
# 293| double corrected_guided_score =
# 294|-> (-correction_parameter * guiding_score) + correction_parameter;
# 295| err = normalize(model, model->feature[guided_idx].slope,
# 296| model->feature[guided_idx].intercept,
Error: COMPILER_WARNING (CWE-457):
vmaf-3.2.0/libvmaf/src/predict.c:294:32: warning[-Wmaybe-uninitialized]: ‘guiding_score’ may be used uninitialized
# 294 | (-correction_parameter * guiding_score) + correction_parameter;
# | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
vmaf-3.2.0/libvmaf/src/predict.c: scope_hint: In function ‘vmaf_predict_score_at_index’
vmaf-3.2.0/libvmaf/src/predict.c:252:12: note: ‘guiding_score’ was declared here
# 252 | double guiding_score;
# | ^~~~~~~~~~~~~
# 292|
# 293| double corrected_guided_score =
# 294|-> (-correction_parameter * guiding_score) + correction_parameter;
# 295| err = normalize(model, model->feature[guided_idx].slope,
# 296| model->feature[guided_idx].intercept,
Error: CPPCHECK_WARNING (CWE-457):
vmaf-3.2.0/libvmaf/src/predict.c:295: warning[uninitvar]: Uninitialized variable: guided_idx
# 293| double corrected_guided_score =
# 294| (-correction_parameter * guiding_score) + correction_parameter;
# 295|-> err = normalize(model, model->feature[guided_idx].slope,
# 296| model->feature[guided_idx].intercept,
# 297| &corrected_guided_score);
Error: GCC_ANALYZER_WARNING (CWE-457):
vmaf-3.2.0/libvmaf/src/predict.c:296:35: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘guided_idx’
vmaf-3.2.0/libvmaf/src/predict.c:535:5: enter_function: entry to ‘vmaf_predict_score_at_index_model_collection’
vmaf-3.2.0/libvmaf/src/predict.c:541:5: branch_true: following ‘true’ branch...
vmaf-3.2.0/libvmaf/src/predict.c:542:5: branch_true: ...to here
vmaf-3.2.0/libvmaf/src/predict.c:544:16: call_function: calling ‘vmaf_bootstrap_predict_score_at_index’ from ‘vmaf_predict_score_at_index_model_collection’
# 294| (-correction_parameter * guiding_score) + correction_parameter;
# 295| err = normalize(model, model->feature[guided_idx].slope,
# 296|-> model->feature[guided_idx].intercept,
# 297| &corrected_guided_score);
# 298| if (err) return -EINVAL;
Error: COMPILER_WARNING (CWE-457):
vmaf-3.2.0/libvmaf/src/predict.c:296:35: warning[-Wmaybe-uninitialized]: ‘guided_idx’ may be used uninitialized
# 296 | model->feature[guided_idx].intercept,
# | ^
vmaf-3.2.0/libvmaf/src/predict.c: scope_hint: In function ‘vmaf_predict_score_at_index’
vmaf-3.2.0/libvmaf/src/predict.c:256:14: note: ‘guided_idx’ was declared here
# 256 | unsigned guided_idx;
# | ^~~~~~~~~~
# 294| (-correction_parameter * guiding_score) + correction_parameter;
# 295| err = normalize(model, model->feature[guided_idx].slope,
# 296|-> model->feature[guided_idx].intercept,
# 297| &corrected_guided_score);
# 298| if (err) return -EINVAL;
Error: CPPCHECK_WARNING (CWE-476):
vmaf-3.2.0/libvmaf/src/predict.c:299: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: node
# 297| &corrected_guided_score);
# 298| if (err) return -EINVAL;
# 299|-> node[guided_idx].value = corrected_guided_score;
# 300| return 0;
# 301| }
Error: CPPCHECK_WARNING (CWE-476):
vmaf-3.2.0/libvmaf/test/test_framesync.c:115: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: pic_a
# 113| fprintf(stderr, "processing frame %d\r", frame_index);
# 114|
# 115|-> memset(pic_a, frame_index, FRAME_BUF_LEN);
# 116| memset(pic_b, frame_index, FRAME_BUF_LEN);
# 117|
Error: GCC_ANALYZER_WARNING (CWE-688):
vmaf-3.2.0/libvmaf/test/test_framesync.c:115:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘pic_a’ where non-null expected
vmaf-3.2.0/libvmaf/test/test_framesync.c:103:5: branch_false: following ‘false’ branch...
vmaf-3.2.0/libvmaf/test/test_framesync.c:105:11: branch_false: ...to here
vmaf-3.2.0/libvmaf/test/test_framesync.c:106:5: branch_false: following ‘false’ branch...
vmaf-3.2.0/libvmaf/test/test_framesync.c:108:5: branch_false: ...to here
vmaf-3.2.0/libvmaf/test/test_framesync.c:109:27: branch_true: following ‘true’ branch (when ‘frame_index != 10’)...
vmaf-3.2.0/libvmaf/test/test_framesync.c:110:26: branch_true: ...to here
vmaf-3.2.0/libvmaf/test/test_framesync.c:110:26: acquire_memory: this call could return NULL
vmaf-3.2.0/libvmaf/test/test_framesync.c:115:9: danger: argument 1 (‘pic_a’) from [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6) could be NULL where non-null expected
# 113| fprintf(stderr, "processing frame %d\r", frame_index);
# 114|
# 115|-> memset(pic_a, frame_index, FRAME_BUF_LEN);
# 116| memset(pic_b, frame_index, FRAME_BUF_LEN);
# 117|
Error: CPPCHECK_WARNING (CWE-476):
vmaf-3.2.0/libvmaf/test/test_framesync.c:116: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: pic_b
# 114|
# 115| memset(pic_a, frame_index, FRAME_BUF_LEN);
# 116|-> memset(pic_b, frame_index, FRAME_BUF_LEN);
# 117|
# 118| struct ThreadData data = {
Error: GCC_ANALYZER_WARNING (CWE-688):
vmaf-3.2.0/libvmaf/test/test_framesync.c:116:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘pic_b’ where non-null expected
vmaf-3.2.0/libvmaf/test/test_framesync.c:103:5: branch_false: following ‘false’ branch...
vmaf-3.2.0/libvmaf/test/test_framesync.c:105:11: branch_false: ...to here
vmaf-3.2.0/libvmaf/test/test_framesync.c:106:5: branch_false: following ‘false’ branch...
vmaf-3.2.0/libvmaf/test/test_framesync.c:108:5: branch_false: ...to here
vmaf-3.2.0/libvmaf/test/test_framesync.c:109:27: branch_true: following ‘true’ branch (when ‘frame_index != 10’)...
vmaf-3.2.0/libvmaf/test/test_framesync.c:110:26: branch_true: ...to here
vmaf-3.2.0/libvmaf/test/test_framesync.c:111:26: acquire_memory: this call could return NULL
vmaf-3.2.0/libvmaf/test/test_framesync.c:116:9: danger: argument 1 (‘pic_b’) from [(7)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/6) could be NULL where non-null expected
# 114|
# 115| memset(pic_a, frame_index, FRAME_BUF_LEN);
# 116|-> memset(pic_b, frame_index, FRAME_BUF_LEN);
# 117|
# 118| struct ThreadData data = {
Error: CPPCHECK_WARNING (CWE-476):
vmaf-3.2.0/libvmaf/test/test_predict.c:284: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: node
# 282|
# 283| for (unsigned i = 0; i < model->n_features; i++) {
# 284|-> node[i].index = i + 1;
# 285| if (i == 1)
# 286| node[i].value = model->feature[i].intercept;
Error: CPPCHECK_WARNING (CWE-476):
vmaf-3.2.0/libvmaf/test/test_predict.c:295: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: node
# 293| mu_assert("problem during post_process_feature_from_another", !err);
# 294|
# 295|-> if (node[1].value != model->feature[1].intercept)
# 296| err = -EINVAL;
# 297| mu_assert("unexpected change to a value after post_process_feature_from_another", !err);
Error: CPPCHECK_WARNING (CWE-909):
vmaf-3.2.0/libvmaf/test/test_propagate_metadata.c:62: error[uninitStructMember]: Uninitialized struct member: metadata_config.feature_name
# 60| metadata_config.data = NULL;
# 61|
# 62|-> err = vmaf_metadata_append(propagate_metadata, metadata_config);
# 63| mu_assert("problem during vmaf_propagate_metadata_append", !err);
# 64| mu_assert("problem during vmaf_propagate_metadata_append, metadata->head is NULL",
Error: CPPCHECK_WARNING (CWE-457):
vmaf-3.2.0/libvmaf/test/test_propagate_metadata.c:62: error[uninitvar]: Uninitialized variable: metadata_config.feature_name
# 60| metadata_config.data = NULL;
# 61|
# 62|-> err = vmaf_metadata_append(propagate_metadata, metadata_config);
# 63| mu_assert("problem during vmaf_propagate_metadata_append", !err);
# 64| mu_assert("problem during vmaf_propagate_metadata_append, metadata->head is NULL",