avg_intrin_{sse2,avg2}: rm dead store in hadamard_8x8
authorJames Zern <jzern@google.com>
Tue, 19 Jul 2022 02:00:49 +0000 (19:00 -0700)
committerJames Zern <jzern@google.com>
Tue, 19 Jul 2022 04:50:48 +0000 (21:50 -0700)
commit53dd1e8e785ea42fa88499dbfd0c2c9dcd055833
tree6a4a9b2e3944e7d152218e298e09587c920b95a2
parenta5ead0427c21ef15b12f9b582e860b77f714c622
avg_intrin_{sse2,avg2}: rm dead store in hadamard_8x8

this quiets a couple static analysis warnings with clang 11:

vpx_dsp/x86/avg_intrin_sse2.c:278:45: warning: Although the value stored
to 'src_diff' is used in the enclosing expression, the value is never
actually read from 'src_diff' [deadcode.DeadStores]
  src[7] = _mm_load_si128((const __m128i *)(src_diff += src_stride));
                                            ^           ~~~~~~~~~~
vpx_dsp/x86/avg_intrin_avx2.c:307:49: warning: Although the value stored
to 'src_diff' is used in the enclosing expression, the value is never
actually read from 'src_diff' [deadcode.DeadStores]
  src[7] = _mm256_loadu_si256((const __m256i *)(src_diff += src_stride));
                                                ^           ~~~~~~~~~~

Bug: b/229626362
Change-Id: I4b0201bd39775885df0afc03fa5da70910b9dad6
vpx_dsp/x86/avg_intrin_avx2.c
vpx_dsp/x86/avg_intrin_sse2.c