Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix compiler warnings #637

Merged
merged 1 commit into from
Oct 22, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions kernels/volk/volk_16i_max_star_horizontal_16i.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/* -*- c++ -*- */
/*
* Copyright 2012, 2014 Free Software Foundation, Inc.
* Copyright 2023 Magnus Lundmark <[email protected]>
*
* This file is part of VOLK
*
Expand Down Expand Up @@ -75,8 +76,8 @@ static inline void volk_16i_max_star_horizontal_16i_a_ssse3(int16_t* target,
0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02
};

__m128i xmm0, xmm1, xmm2, xmm3, xmm4;
__m128i xmm5, xmm6, xmm7, xmm8;
__m128i xmm0 = {}, xmm1 = {}, xmm2 = {}, xmm3 = {}, xmm4 = {};
__m128i xmm5 = {}, xmm6 = {}, xmm7 = {}, xmm8 = {};

xmm4 = _mm_load_si128((__m128i*)shufmask0);
xmm5 = _mm_load_si128((__m128i*)shufmask1);
Expand Down