X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Ftypes.h;h=1def7d00aeb8f200230c7b50911e71c2acfdeb91;hp=dae86db310d6d80bc715e99c7aafd9ca482225e4;hb=293c44bc09587259818a82e1d2afb511e552badd;hpb=083fe5812485597e13943b690cc24a8f25c0d140 diff --git a/src/types.h b/src/types.h index dae86db3..1def7d00 100644 --- a/src/types.h +++ b/src/types.h @@ -56,11 +56,10 @@ # include // Intel and Microsoft header for _mm_prefetch() # endif -#define CACHE_LINE_SIZE 64 #if defined(_MSC_VER) || defined(__INTEL_COMPILER) -# define CACHE_LINE_ALIGNMENT __declspec(align(CACHE_LINE_SIZE)) +# define CACHE_LINE_ALIGNMENT __declspec(align(64)) #else -# define CACHE_LINE_ALIGNMENT __attribute__ ((aligned(CACHE_LINE_SIZE))) +# define CACHE_LINE_ALIGNMENT __attribute__ ((aligned(64))) #endif #if defined(_MSC_VER)