Enable prefetch and bswap buitins for clang.
This commit is contained in:
@@ -523,7 +523,7 @@ static inline void free(const void *ptr)
|
||||
#if defined(_MSC_VER)
|
||||
#define INCLUDE_FOR_PREFETCH_NTA <xmmintrin.h>
|
||||
#define PREFETCH_NTA(address) _mm_prefetch((const char *) (address), _MM_HINT_NTA);
|
||||
#elif defined(__GNUC__)
|
||||
#elif defined(__GNUC__) || defined(__clang__)
|
||||
#define INCLUDE_FOR_PREFETCH_NTA "stdafx.h"
|
||||
#define PREFETCH_NTA(address) __builtin_prefetch((const void *) (address), 0, 0);
|
||||
#else
|
||||
|
Reference in New Issue
Block a user