mirror of
https://github.com/xmrig/xmrig.git
synced 2025-01-05 10:29:38 +00:00
Merge pull request #992 from Spudz76/dev-clang35fix
Fix compilation with Clang 3.5
This commit is contained in:
commit
1f77b049e3
1 changed files with 6 additions and 0 deletions
|
@ -30,6 +30,12 @@
|
||||||
# include <intrin.h>
|
# include <intrin.h>
|
||||||
# define __restrict__ __restrict
|
# define __restrict__ __restrict
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef _mm256_bslli_epi128
|
||||||
|
#define _mm256_bslli_epi128(a, count) _mm256_slli_si256((a), (count))
|
||||||
|
#endif
|
||||||
|
#ifndef _mm256_bsrli_epi128
|
||||||
|
#define _mm256_bsrli_epi128(a, count) _mm256_srli_si256((a), (count))
|
||||||
|
#endif
|
||||||
|
|
||||||
inline void prep_dv_avx(__m256i* idx, __m256i& v, __m256& n01)
|
inline void prep_dv_avx(__m256i* idx, __m256i& v, __m256& n01)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue