Commit cbecba264bb870608ffbf7c9df8102116432a7df
1 parent
ff937dba
Move likely and unlikely macros in a common place (Aurelien Jarno).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3192 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
3 changed files
with
3 additions
and
8 deletions
exec-all.h
target-alpha/cpu.h
target-ppc/cpu.h
| ... | ... | @@ -88,10 +88,6 @@ typedef uint32_t ppc_gpr_t; |
| 88 | 88 | #define ICACHE_LINE_SIZE 32 |
| 89 | 89 | #define DCACHE_LINE_SIZE 32 |
| 90 | 90 | |
| 91 | -/* XXX: put this in a common place */ | |
| 92 | -#define likely(x) __builtin_expect(!!(x), 1) | |
| 93 | -#define unlikely(x) __builtin_expect(!!(x), 0) | |
| 94 | - | |
| 95 | 91 | /*****************************************************************************/ |
| 96 | 92 | /* PVR definitions for most known PowerPC */ |
| 97 | 93 | enum { | ... | ... |