summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortege <tege@gmplib.org>2000-08-01 10:35:17 +0200
committertege <tege@gmplib.org>2000-08-01 10:35:17 +0200
commitb6ab8d6255934a86ab27483758f76aa791c36467 (patch)
tree79e6674f67a226c55cb1e6dcfee4104e216e6639
parent56028ef753190ccff607dd48ba0b0bf8d6b4280e (diff)
downloadgmp-b6ab8d6255934a86ab27483758f76aa791c36467.tar.gz
Disable SPARC v9 popc_limb pattern.
-rw-r--r--mpn/generic/popcount.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mpn/generic/popcount.c b/mpn/generic/popcount.c
index cbf8124f9..387be9536 100644
--- a/mpn/generic/popcount.c
+++ b/mpn/generic/popcount.c
@@ -23,7 +23,9 @@ MA 02111-1307, USA. */
#include "gmp-impl.h"
#if defined __GNUC__
-#if defined __sparc_v9__ && BITS_PER_MP_LIMB == 64
+/* No processor claiming to be SPARC v9 compliant seem to
+ implement the POPC instruction. Disable pattern for now. */
+#if 0 && defined __sparc_v9__ && BITS_PER_MP_LIMB == 64
#define popc_limb(a) \
({ \
DItype __res; \