File tree Expand file tree Collapse file tree 4 files changed +0
-24
lines changed Expand file tree Collapse file tree 4 files changed +0
-24
lines changed Original file line number Diff line number Diff line change @@ -348,11 +348,7 @@ CXXFLAGS="$CXXFLAGS $SSE41_CXXFLAGS"
348
348
AC_MSG_CHECKING ( for SSE4.1 intrinsics )
349
349
AC_COMPILE_IFELSE ( [ AC_LANG_PROGRAM ( [ [
350
350
#include <stdint.h>
351
- #if defined(_MSC_VER)
352
351
#include <immintrin.h>
353
- #elif defined(__GNUC__)
354
- #include <x86intrin.h>
355
- #endif
356
352
] ] ,[ [
357
353
__m128i l = _mm_set1_epi32(0);
358
354
return _mm_extract_epi32(l, 3);
@@ -367,11 +363,7 @@ CXXFLAGS="$CXXFLAGS $AVX2_CXXFLAGS"
367
363
AC_MSG_CHECKING ( for AVX2 intrinsics )
368
364
AC_COMPILE_IFELSE ( [ AC_LANG_PROGRAM ( [ [
369
365
#include <stdint.h>
370
- #if defined(_MSC_VER)
371
366
#include <immintrin.h>
372
- #elif defined(__GNUC__) && defined(__AVX2__)
373
- #include <x86intrin.h>
374
- #endif
375
367
] ] ,[ [
376
368
__m256i l = _mm256_set1_epi32(0);
377
369
return _mm256_extract_epi32(l, 7);
@@ -386,11 +378,7 @@ CXXFLAGS="$CXXFLAGS $SHANI_CXXFLAGS"
386
378
AC_MSG_CHECKING ( for SHA-NI intrinsics )
387
379
AC_COMPILE_IFELSE ( [ AC_LANG_PROGRAM ( [ [
388
380
#include <stdint.h>
389
- #if defined(_MSC_VER)
390
381
#include <immintrin.h>
391
- #elif defined(__GNUC__)
392
- #include <x86intrin.h>
393
- #endif
394
382
] ] ,[ [
395
383
__m128i i = _mm_set1_epi32(0);
396
384
__m128i j = _mm_set1_epi32(1);
Original file line number Diff line number Diff line change 1
1
#ifdef ENABLE_AVX2
2
2
3
3
#include < stdint.h>
4
- #if defined(_MSC_VER)
5
4
#include < immintrin.h>
6
- #elif defined(__GNUC__)
7
- #include < x86intrin.h>
8
- #endif
9
5
10
6
#include < crypto/sha256.h>
11
7
#include < crypto/common.h>
Original file line number Diff line number Diff line change 9
9
#ifdef ENABLE_SHANI
10
10
11
11
#include < stdint.h>
12
- #if defined(_MSC_VER)
13
12
#include < immintrin.h>
14
- #elif defined(__GNUC__)
15
- #include < x86intrin.h>
16
- #endif
17
13
18
14
#include < crypto/common.h>
19
15
Original file line number Diff line number Diff line change 1
1
#ifdef ENABLE_SSE41
2
2
3
3
#include < stdint.h>
4
- #if defined(_MSC_VER)
5
4
#include < immintrin.h>
6
- #elif defined(__GNUC__)
7
- #include < x86intrin.h>
8
- #endif
9
5
10
6
#include < crypto/sha256.h>
11
7
#include < crypto/common.h>
You can’t perform that action at this time.
0 commit comments