Changeset 104
- Timestamp:
- 07/17/05 04:40:29 (3 years ago)
- Files:
-
- src/support.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
src/support.h
r59 r104 49 49 50 50 51 // TODO: Useful implementation52 51 /// As in Linux kernel: evaluate condition, which is likely to be true 53 #define likely(x) (x)52 #define likely(x) __builtin_expect(x,1) 54 53 /// As in Linux kernel: evaluate condition, which is likely to be false 55 #define unlikely(x) (x)54 #define unlikely(x) __builtin_expect(x,0) 56 55 57 56 #endif
