diff options
author | j_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-09-20 09:44:48 +0000 |
---|---|---|
committer | j_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-09-20 09:44:48 +0000 |
commit | cbecba264bb870608ffbf7c9df8102116432a7df (patch) | |
tree | 87b63f978ba9eb619b86419cb9c8154a4061cb84 /target-ppc/cpu.h | |
parent | ff937dbad1cf5ec787ed86c5e6e17503724e6d4c (diff) |
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
Diffstat (limited to 'target-ppc/cpu.h')
-rw-r--r-- | target-ppc/cpu.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/target-ppc/cpu.h b/target-ppc/cpu.h index f36c979244..3ca22e57b9 100644 --- a/target-ppc/cpu.h +++ b/target-ppc/cpu.h @@ -88,10 +88,6 @@ typedef uint32_t ppc_gpr_t; #define ICACHE_LINE_SIZE 32 #define DCACHE_LINE_SIZE 32 -/* XXX: put this in a common place */ -#define likely(x) __builtin_expect(!!(x), 1) -#define unlikely(x) __builtin_expect(!!(x), 0) - /*****************************************************************************/ /* PVR definitions for most known PowerPC */ enum { |