Fix Visual Studio errors by initializing some variables used in AVX2 signhiding

This commit is contained in:
Marko Viitanen 2018-12-11 09:33:26 +02:00
parent ac943147e3
commit a4f3968e52

View file

@ -404,10 +404,10 @@ void kvz_quant_flat_avx2(const encoder_state_t * const state, coeff_t * __restri
// lower addresses (note the difference: HIGH and LOW vs UPPER and LOWER),
// so upper 128b vector actually becomes the lower part of a 256-bit coeff
// vector and lower vector the higher part!
__m128d coefs_d_upper;
__m128d coefs_d_lower;
__m128d q_coefs_d_upper;
__m128d q_coefs_d_lower;
__m128d coefs_d_upper = _mm_setzero_pd();
__m128d coefs_d_lower = _mm_setzero_pd();
__m128d q_coefs_d_upper = _mm_setzero_pd();
__m128d q_coefs_d_lower = _mm_setzero_pd();
__m128i coefs_upper;
__m128i coefs_lower;