Go to the documentation of this file. 10 #ifndef _RTE_BRANCH_PREDICTION_H_ 11 #define _RTE_BRANCH_PREDICTION_H_ 23 #ifdef RTE_TOOLCHAIN_MSVC 24 #define likely(x) (!!(x)) 26 #define likely(x) __builtin_expect(!!(x), 1) 40 #ifdef RTE_TOOLCHAIN_MSVC 41 #define unlikely(x) (!!(x)) 43 #define unlikely(x) __builtin_expect(!!(x), 0)