summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortege <tege@gmplib.org>2000-08-02 11:59:01 +0200
committertege <tege@gmplib.org>2000-08-02 11:59:01 +0200
commit7f4a6ba7d2f42c567ab154ba286c618647eb1565 (patch)
treeb43d4a49383d279d9ca241d9c94af4e24736ba6a
parentb6ab8d6255934a86ab27483758f76aa791c36467 (diff)
downloadgmp-7f4a6ba7d2f42c567ab154ba286c618647eb1565.tar.gz
Disable SPARC v9 popc_limb pattern.
-rw-r--r--mpn/generic/hamdist.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mpn/generic/hamdist.c b/mpn/generic/hamdist.c
index ec171407e..35c10e845 100644
--- a/mpn/generic/hamdist.c
+++ b/mpn/generic/hamdist.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; \