CR Feedback

This commit is contained in:
Matthew Parkinson
2019-05-14 18:02:29 +01:00
committed by Matthew Parkinson
parent b484619f20
commit 48416e3241
3 changed files with 5 additions and 5 deletions

View File

@@ -9,10 +9,10 @@
# define ALWAYSINLINE __forceinline
# define NOINLINE __declspec(noinline)
# define HEADER_GLOBAL __declspec(selectany)
# define likely(x) !!(x)
# define likely(x) !!(x)
# define unlikely(x) !!(x)
#else
# define likely(x) __builtin_expect(!!(x), 1)
# define likely(x) __builtin_expect(!!(x), 1)
# define unlikely(x) __builtin_expect(!!(x), 0)
# include <cpuid.h>
# include <emmintrin.h>