|
|
1.1 root 1: #ifndef UAE_LIKELY_H
2: #define UAE_LIKELY_H
3:
4: #ifndef WINUAE_FOR_HATARI /* not necessary for Hatari, already done in main.h */
5: #ifdef HAVE___BUILTIN_EXPECT
6:
7: #define likely(x) __builtin_expect(!!(x), 1)
8: #define unlikely(x) __builtin_expect(!!(x), 0)
9:
10: #else
11:
12: #define likely(x) x
13: #define unlikely(x) x
14:
15: #endif
16: #endif /* !WINUAE_FOR_HATARI */
17:
18: #endif /* UAE_LIKELY_H */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.