Changeset View
Changeset View
Standalone View
Standalone View
src/crypto/sha256_sse41.cpp
#ifdef ENABLE_SSE41 | #ifdef ENABLE_SSE41 | ||||
#include <cstdint> | |||||
#include <immintrin.h> | #include <immintrin.h> | ||||
#include <stdint.h> | |||||
#include "crypto/common.h" | #include "crypto/common.h" | ||||
#include "crypto/sha256.h" | #include "crypto/sha256.h" | ||||
namespace sha256d64_sse41 { | namespace sha256d64_sse41 { | ||||
namespace { | namespace { | ||||
__m128i inline K(uint32_t x) { return _mm_set1_epi32(x); } | __m128i inline K(uint32_t x) { return _mm_set1_epi32(x); } | ||||
▲ Show 20 Lines • Show All 432 Lines • Show Last 20 Lines |