ReactOS 0.4.16-dev-747-gbc52d5f
|
Go to the source code of this file.
Macros | |
#define | INLINE_KEYWORD |
#define | FORCE_INLINE_ATTR |
#define | FORCE_INLINE_TEMPLATE static INLINE_KEYWORD FORCE_INLINE_ATTR |
#define | HINT_INLINE static INLINE_KEYWORD FORCE_INLINE_ATTR |
#define | UNUSED_ATTR |
#define | FORCE_NOINLINE static |
#define | __has_attribute(x) 0 /* Compatibility with non-clang compilers. */ |
#define | TARGET_ATTRIBUTE(target) |
#define | DYNAMIC_BMI2 0 |
#define | PREFETCH_L1(ptr) (void)(ptr) /* disabled */ |
#define | PREFETCH_L2(ptr) (void)(ptr) /* disabled */ |
#define | CACHELINE_SIZE 64 |
#define | PREFETCH_AREA(p, s) |
#define | DONT_VECTORIZE |
#define | LIKELY(x) (x) |
#define | UNLIKELY(x) (x) |
Definition at line 84 of file compiler.h.
#define CACHELINE_SIZE 64 |
Definition at line 129 of file compiler.h.
#define DONT_VECTORIZE |
Definition at line 149 of file compiler.h.
#define DYNAMIC_BMI2 0 |
Definition at line 103 of file compiler.h.
#define FORCE_INLINE_ATTR |
Definition at line 31 of file compiler.h.
#define FORCE_INLINE_TEMPLATE static INLINE_KEYWORD FORCE_INLINE_ATTR |
FORCE_INLINE_TEMPLATE is used to define C "templates", which take constant parameters. They must be inlined for the compiler to eliminate the constant branches.
Definition at line 46 of file compiler.h.
#define FORCE_NOINLINE static |
Definition at line 78 of file compiler.h.
#define HINT_INLINE static INLINE_KEYWORD FORCE_INLINE_ATTR |
HINT_INLINE is used to help the compiler generate better code. It is not used for "templates", so it can be tweaked based on the compilers performance.
gcc-4.8 and gcc-4.9 have been shown to benefit from leaving off the always_inline attribute.
clang up to 5.0.0 (trunk) benefit tremendously from the always_inline attribute.
Definition at line 61 of file compiler.h.
#define INLINE_KEYWORD |
Definition at line 23 of file compiler.h.
Definition at line 161 of file compiler.h.
Definition at line 131 of file compiler.h.
Definition at line 89 of file compiler.h.
Definition at line 162 of file compiler.h.
#define UNUSED_ATTR |
Definition at line 68 of file compiler.h.