mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-24 10:34:05 +00:00
Do not compile any vector code for non-SSE4/AVX2 builds
This commit is contained in:
parent
f5f70e7bc5
commit
1315c7e2b0
|
@ -21,10 +21,11 @@
|
||||||
/*
|
/*
|
||||||
* \file
|
* \file
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#if COMPILE_INTEL_AVX2
|
||||||
#include "strategies/avx2/picture-avx2.h"
|
#include "strategies/avx2/picture-avx2.h"
|
||||||
#include "strategies/avx2/reg_sad_pow2_widths-avx2.h"
|
#include "strategies/avx2/reg_sad_pow2_widths-avx2.h"
|
||||||
|
|
||||||
#if COMPILE_INTEL_AVX2
|
|
||||||
#include <immintrin.h>
|
#include <immintrin.h>
|
||||||
#include <emmintrin.h>
|
#include <emmintrin.h>
|
||||||
#include <mmintrin.h>
|
#include <mmintrin.h>
|
||||||
|
|
|
@ -18,10 +18,10 @@
|
||||||
* with Kvazaar. If not, see <http://www.gnu.org/licenses/>.
|
* with Kvazaar. If not, see <http://www.gnu.org/licenses/>.
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
|
#if COMPILE_INTEL_SSE41
|
||||||
#include "strategies/sse41/picture-sse41.h"
|
#include "strategies/sse41/picture-sse41.h"
|
||||||
#include "strategies/sse41/reg_sad_pow2_widths-sse41.h"
|
#include "strategies/sse41/reg_sad_pow2_widths-sse41.h"
|
||||||
|
|
||||||
#if COMPILE_INTEL_SSE41
|
|
||||||
#include <immintrin.h>
|
#include <immintrin.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue