1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-25 21:52:54 -05:00

RandomX: added Blake2 AVX2 version

+0.1% speedup on AMD Zen2/Zen3 and Intel CPUs which support AVX2.
This commit is contained in:
SChernykh
2022-08-25 20:39:54 +02:00
parent b2d9dab2e3
commit 63e21dfe63
14 changed files with 752 additions and 29 deletions

View File

@@ -0,0 +1,16 @@
#ifndef BLAKE2_AVX2_BLAKE2B_H
#define BLAKE2_AVX2_BLAKE2B_H
#include <stddef.h>
#if defined(__cplusplus)
extern "C" {
#endif
int blake2b_avx2(void* out, size_t outlen, const void* in, size_t inlen);
#if defined(__cplusplus)
}
#endif
#endif