diff options
| author | Pieter Wuille <[email protected]> | 2018-06-11 09:59:20 -0700 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2018-06-26 10:11:08 -0700 |
| commit | 66b2cf1ccfad545a8ec3f2a854e23f647322bf30 (patch) | |
| tree | 42d9bf2ea25002af6a18bcd02fa4458340a44092 /src/crypto | |
| parent | Add SHA256 implementation using using Intel SHA intrinsics (diff) | |
| download | discoin-66b2cf1ccfad545a8ec3f2a854e23f647322bf30.tar.xz discoin-66b2cf1ccfad545a8ec3f2a854e23f647322bf30.zip | |
Use immintrin.h everywhere for intrinsics
Diffstat (limited to 'src/crypto')
| -rw-r--r-- | src/crypto/sha256_avx2.cpp | 4 | ||||
| -rw-r--r-- | src/crypto/sha256_shani.cpp | 4 | ||||
| -rw-r--r-- | src/crypto/sha256_sse41.cpp | 4 |
3 files changed, 0 insertions, 12 deletions
diff --git a/src/crypto/sha256_avx2.cpp b/src/crypto/sha256_avx2.cpp index b338b0692..068e0e5ff 100644 --- a/src/crypto/sha256_avx2.cpp +++ b/src/crypto/sha256_avx2.cpp @@ -1,11 +1,7 @@ #ifdef ENABLE_AVX2 #include <stdint.h> -#if defined(_MSC_VER) #include <immintrin.h> -#elif defined(__GNUC__) -#include <x86intrin.h> -#endif #include <crypto/sha256.h> #include <crypto/common.h> diff --git a/src/crypto/sha256_shani.cpp b/src/crypto/sha256_shani.cpp index 924135848..e561da42c 100644 --- a/src/crypto/sha256_shani.cpp +++ b/src/crypto/sha256_shani.cpp @@ -9,11 +9,7 @@ #ifdef ENABLE_SHANI #include <stdint.h> -#if defined(_MSC_VER) #include <immintrin.h> -#elif defined(__GNUC__) -#include <x86intrin.h> -#endif #include <crypto/common.h> diff --git a/src/crypto/sha256_sse41.cpp b/src/crypto/sha256_sse41.cpp index be71dd8fb..adca870e2 100644 --- a/src/crypto/sha256_sse41.cpp +++ b/src/crypto/sha256_sse41.cpp @@ -1,11 +1,7 @@ #ifdef ENABLE_SSE41 #include <stdint.h> -#if defined(_MSC_VER) #include <immintrin.h> -#elif defined(__GNUC__) -#include <x86intrin.h> -#endif #include <crypto/sha256.h> #include <crypto/common.h> |