|
From: <sv...@va...> - 2008-06-12 06:04:53
|
Author: bart
Date: 2008-06-12 07:04:59 +0100 (Thu, 12 Jun 2008)
New Revision: 8224
Log:
Disabled bitmap cache rotation optimization because not all gcc versions compile it correctly.
Modified:
trunk/exp-drd/drd_bitmap.h
Modified: trunk/exp-drd/drd_bitmap.h
===================================================================
--- trunk/exp-drd/drd_bitmap.h 2008-06-11 19:17:01 UTC (rev 8223)
+++ trunk/exp-drd/drd_bitmap.h 2008-06-12 06:04:59 UTC (rev 8224)
@@ -210,13 +210,11 @@
/** Rotate elements cache[0..n-1] such that the element at position n-1 is
* moved to position 0. This allows to speed up future cache lookups.
- *
- * @note Apparently gcc 4.2 compiles this code correctly, but gcc 4.1 not.
*/
static __inline__
void bm_cache_rotate(struct bm_cache_elem cache[], const int n)
{
-#if __GNUC__ >= 4 && __GNUC_MINOR__ >= 2
+#if 0
struct bm_cache_elem t;
tl_assert(2 <= n && n <= 8);
|