OSDN Git Service

An even simpler likely
authorEric Andersen <andersen@codepoet.org>
Sun, 10 Aug 2003 08:01:17 +0000 (08:01 -0000)
committerEric Andersen <andersen@codepoet.org>
Sun, 10 Aug 2003 08:01:17 +0000 (08:01 -0000)
include/features.h

index bc3619f..6bf8bc2 100644 (file)
@@ -422,7 +422,7 @@ uClibc was built without large file support enabled.
 #define __builtin_expect(x, expected_value) (x)
 #endif
 
-#define likely(x)              __builtin_expect(!!((int)(x)),1)
+#define likely(x)              __builtin_expect(!((int)(x)),0)
 #define unlikely(x)            __builtin_expect(((int)(x)),0)
 
 /* --- this is added to integrate linuxthreads */