forked from bartvdbraak/blender
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:
parent
4be7fb7651
commit
08fbc303e1
@ -58,8 +58,12 @@ __forceinline operator int ( ) const { return std::numeric_limits<
|
|||||||
/* Intrinsics Functions */
|
/* Intrinsics Functions */
|
||||||
|
|
||||||
#if defined(__BMI__) && defined(__GNUC__)
|
#if defined(__BMI__) && defined(__GNUC__)
|
||||||
#define _tzcnt_u32 __tzcnt_u32
|
# ifndef _tzcnt_u32
|
||||||
#define _tzcnt_u64 __tzcnt_u64
|
# define _tzcnt_u32 __tzcnt_u32
|
||||||
|
# endif
|
||||||
|
# ifndef _tzcnt_u64
|
||||||
|
# define _tzcnt_u64 __tzcnt_u64
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__LZCNT__)
|
#if defined(__LZCNT__)
|
||||||
|
Loading…
Reference in New Issue
Block a user