Do not compile any vector code for non-SSE4/AVX2 builds

This commit is contained in:
Pauli Oikkonen 2019-04-15 19:10:48 +03:00
parent f5f70e7bc5
commit 1315c7e2b0
2 changed files with 3 additions and 2 deletions

View file

@ -21,10 +21,11 @@
/*
* \file
*/
#if COMPILE_INTEL_AVX2
#include "strategies/avx2/picture-avx2.h"
#include "strategies/avx2/reg_sad_pow2_widths-avx2.h"
#if COMPILE_INTEL_AVX2
#include <immintrin.h>
#include <emmintrin.h>
#include <mmintrin.h>

View file

@ -18,10 +18,10 @@
* with Kvazaar. If not, see <http://www.gnu.org/licenses/>.
****************************************************************************/
#if COMPILE_INTEL_SSE41
#include "strategies/sse41/picture-sse41.h"
#include "strategies/sse41/reg_sad_pow2_widths-sse41.h"
#if COMPILE_INTEL_SSE41
#include <immintrin.h>
#include <stdlib.h>