blob: 07f9c34daff634a8d716d171fe5649f80adbd8f1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
--- include/nfl/arch.hpp.orig 2023-07-24 21:28:33 UTC
+++ include/nfl/arch.hpp
@@ -3,14 +3,10 @@
#include "nfl/arch/common.hpp"
-#ifdef NFL_OPTIMIZED
-
-#if defined __AVX2__ && defined NTT_AVX2
+#if defined __AVX2__ && defined __SSE4_2__
#define CC_SIMD nfl::simd::avx2
-#elif defined __SSE4_2__ && defined NTT_SSE
+#elif defined __SSE4_2__ && !defined __AVX2__
#define CC_SIMD nfl::simd::sse
-#endif
-
#endif
#ifndef CC_SIMD
|