Cycles: Resolve compilation error of avx2 kernel with certain compilers

It was redefined macro happening with Clang 3.6 here.
This commit is contained in:
Sergey Sharybin 2015-07-23 11:48:54 +02:00
parent 4be7fb7651
commit 08fbc303e1

@ -58,8 +58,12 @@ __forceinline operator int ( ) const { return std::numeric_limits<
/* Intrinsics Functions */
#if defined(__BMI__) && defined(__GNUC__)
#define _tzcnt_u32 __tzcnt_u32
#define _tzcnt_u64 __tzcnt_u64
# ifndef _tzcnt_u32
# define _tzcnt_u32 __tzcnt_u32
# endif
# ifndef _tzcnt_u64
# define _tzcnt_u64 __tzcnt_u64
# endif
#endif
#if defined(__LZCNT__)