mirror of
https://github.com/xmrig/xmrig.git
synced 2024-11-18 18:11:05 +00:00
Fix compilation with Clang 3.5 for those with limited compiler choices
Performance similar to gcc7+ on systems where gcc4 is the only alternative
This commit is contained in:
parent
fb62ee938a
commit
29373c4226
1 changed files with 6 additions and 0 deletions
|
@ -30,6 +30,12 @@
|
|||
# include <intrin.h>
|
||||
# define __restrict__ __restrict
|
||||
#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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue