Fix sse version in config define
This commit is contained in:
parent
970f482c1e
commit
cd2d4a0f97
@ -1,3 +1,3 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define HAS_SSE42 1
|
#define HAS_SSE41 1
|
||||||
|
|||||||
@ -3,11 +3,11 @@
|
|||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "defines.h"
|
#include "defines.h"
|
||||||
|
|
||||||
#if defined(HAS_SSE42)
|
#if defined(HAS_SSE41)
|
||||||
#include <smmintrin.h>
|
#include <smmintrin.h>
|
||||||
using vf4 = __m128;
|
using vf4 = __m128;
|
||||||
#else
|
#else
|
||||||
#error "tenvex requires an SSE4.1 backend (define HAS_SSE42 and build with -msse4.1 on GCC/Clang)"
|
#error "tenvex requires an SSE4.1 backend (define HAS_SSE41 and build with -msse4.1 on GCC/Clang)"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace tnvx::detail
|
namespace tnvx::detail
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user