summaryrefslogtreecommitdiff
path: root/longlong.h
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2000-05-21 03:44:35 +0200
committerKevin Ryde <user42@zip.com.au>2000-05-21 03:44:35 +0200
commit97a7ac3285654f9ef58e020a2eac0e0dbbf3fca2 (patch)
tree3f6e3fd815bed5533775af205c7d0cdce126c8d1 /longlong.h
parent0d3d4e614c6d03a26f0d3a14377adb6024f2cad7 (diff)
downloadgmp-97a7ac3285654f9ef58e020a2eac0e0dbbf3fca2.tar.gz
* longlong.h (COUNT_TRAILING_ZEROS_TIME): New define.
Diffstat (limited to 'longlong.h')
-rw-r--r--longlong.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/longlong.h b/longlong.h
index bdb795f62..2dd118235 100644
--- a/longlong.h
+++ b/longlong.h
@@ -1336,3 +1336,10 @@ unsigned char __clz_tab[];
#ifndef UDIV_TIME
#define UDIV_TIME UMUL_TIME
#endif
+
+/* count_trailing_zeros is often on the slow side, so make that the default */
+#ifndef COUNT_TRAILING_ZEROS_TIME
+#define COUNT_TRAILING_ZEROS_TIME 15 /* cycles */
+#endif
+
+