Fix sse version in config define

This commit is contained in:
Artem Zyktin 2026-05-31 00:46:35 +08:00
parent 970f482c1e
commit cd2d4a0f97
2 changed files with 3 additions and 3 deletions

View File

@ -1,3 +1,3 @@
#pragma once #pragma once
#define HAS_SSE42 1 #define HAS_SSE41 1

View File

@ -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