summaryrefslogtreecommitdiffstats
path: root/mpi-patches/bit-search-optimizations
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-02-07 19:36:32 -0800
committerKaz Kylheku <kaz@kylheku.com>2015-02-07 19:36:32 -0800
commit91664c356f4eb1f31a90f36d369bceb386466f42 (patch)
tree61d2714a2805c484749f65566cde2635926bb326 /mpi-patches/bit-search-optimizations
parentcbd2937606577580931b1de05bd18bf10de736ca (diff)
downloadtxr-91664c356f4eb1f31a90f36d369bceb386466f42.tar.gz
txr-91664c356f4eb1f31a90f36d369bceb386466f42.tar.bz2
txr-91664c356f4eb1f31a90f36d369bceb386466f42.zip
* Makefile (CFLAGS): Removed puzzling, unnecessary definitions
of XMALLOC, XCALLOC, XREALLOC and XFREE for $(MPI_OBJS). MPI does not use such macros and the allocator is already retargetted to use the TXR one. * mpi-patches/use-txr-allocator: In this patch, we don't need external declaration for chk_malloc or chk_realloc because they are not used. Only chk_calloc is used. * mpi-patches/add-bitops: Refreshed. * mpi-patches/add-mp-hash: Likewise. * mpi-patches/add-mp-set-intptr: Likewise. * mpi-patches/add-mpi-toradix-with-case: Likewise. * mpi-patches/bit-search-optimizations: Likewise. * mpi-patches/export-mp-eq: Likewise. * mpi-patches/faster-square-root: Likewise. * mpi-patches/fix-bad-shifts: Likewise. * mpi-patches/fix-ctype-warnings: Likewise. * mpi-patches/fix-mult-bug: Likewise. * mpi-patches/mpi-set-double-intptr: Likewise. * mpi-patches/mpi-set-mpi-word: Likewise. * mpi-patches/mpi-to-double: Likewise.
Diffstat (limited to 'mpi-patches/bit-search-optimizations')
-rw-r--r--mpi-patches/bit-search-optimizations12
1 files changed, 6 insertions, 6 deletions
diff --git a/mpi-patches/bit-search-optimizations b/mpi-patches/bit-search-optimizations
index 3dfaaa52..305d6728 100644
--- a/mpi-patches/bit-search-optimizations
+++ b/mpi-patches/bit-search-optimizations
@@ -1,8 +1,8 @@
Index: mpi-1.8.6/mpi.c
===================================================================
---- mpi-1.8.6.orig/mpi.c 2012-03-04 11:49:59.676143507 -0800
-+++ mpi-1.8.6/mpi.c 2012-03-04 11:50:07.500542257 -0800
-@@ -2921,6 +2921,218 @@
+--- mpi-1.8.6.orig/mpi.c 2015-02-07 19:33:01.740459238 -0800
++++ mpi-1.8.6/mpi.c 2015-02-07 19:33:04.528410164 -0800
+@@ -2919,6 +2919,218 @@
/* }}} */
@@ -221,7 +221,7 @@ Index: mpi-1.8.6/mpi.c
/* {{{ s_mp_exch(a, b) */
/* Exchange the data for a and b; (b, a) = (a, b) */
-@@ -3198,10 +3410,9 @@
+@@ -3196,10 +3408,9 @@
mp_digit t, d = 0;
t = DIGIT(b, USED(b) - 1);
@@ -235,7 +235,7 @@ Index: mpi-1.8.6/mpi.c
if(d != 0) {
s_mp_mul_2d(a, d);
-@@ -3984,27 +4195,23 @@
+@@ -3982,27 +4193,23 @@
d = DIGIT(v, uv - 1); /* most significant digit of v */
@@ -275,7 +275,7 @@ Index: mpi-1.8.6/mpi.c
} /* end s_mp_ispow2() */
/* }}} */
-@@ -4013,17 +4220,12 @@
+@@ -4011,17 +4218,12 @@
int s_mp_ispow2d(mp_digit d)
{