summaryrefslogtreecommitdiff
path: root/vp8/common/x86
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2021-11-06 16:43:11 -0700
committerJames Zern <jzern@google.com>2021-11-08 13:43:09 -0800
commit2e73da326a26ddc367317e860e24e274947c26d8 (patch)
treeb50fc3a3c31fcb15ddeac6c31954154b465a9543 /vp8/common/x86
parent1676cddaaa4feebc766c64767f035ca9b0e5739f (diff)
downloadlibvpx-2e73da326a26ddc367317e860e24e274947c26d8.tar
libvpx-2e73da326a26ddc367317e860e24e274947c26d8.tar.gz
libvpx-2e73da326a26ddc367317e860e24e274947c26d8.tar.bz2
libvpx-2e73da326a26ddc367317e860e24e274947c26d8.zip
mem_sse2.h: storeu_uint32 -> storeu_int32
this changes the parameter to int32_t which matches the type with usage of this call using _mm_cvtsi128_si32() as a parameter. quiets an implicit conversion warning with clang-11 -fsanitize=undefined Change-Id: I1e9e9ffac5d2996962d29611458311221eca8ea0
Diffstat (limited to 'vp8/common/x86')
-rw-r--r--vp8/common/x86/bilinear_filter_sse2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vp8/common/x86/bilinear_filter_sse2.c b/vp8/common/x86/bilinear_filter_sse2.c
index 9bf65d804..ff6cbbd68 100644
--- a/vp8/common/x86/bilinear_filter_sse2.c
+++ b/vp8/common/x86/bilinear_filter_sse2.c
@@ -313,10 +313,10 @@ static INLINE void vertical_4x4(uint16_t *src, uint8_t *dst, const int stride,
const __m128i compensated = _mm_add_epi16(sum, round_factor);
const __m128i shifted = _mm_srai_epi16(compensated, VP8_FILTER_SHIFT);
__m128i packed = _mm_packus_epi16(shifted, shifted);
- storeu_uint32(dst, _mm_cvtsi128_si32(packed));
+ storeu_int32(dst, _mm_cvtsi128_si32(packed));
packed = _mm_srli_si128(packed, 4);
dst += stride;
- storeu_uint32(dst, _mm_cvtsi128_si32(packed));
+ storeu_int32(dst, _mm_cvtsi128_si32(packed));
dst += stride;
src += 8;
}