[Gmp-commit] /var/hg/gmp-5.0: 2 new changesets

mercurial at gmplib.org mercurial at gmplib.org
Sun May 6 13:16:19 CEST 2012


details:   /var/hg/gmp-5.0/rev/df0b5ecb6557
changeset: 13578:df0b5ecb6557
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Sun May 06 13:13:31 2012 +0200
description:
Remove broken thumb code.

details:   /var/hg/gmp-5.0/rev/800f0e05b6cc
changeset: 13579:800f0e05b6cc
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Sun May 06 13:16:16 2012 +0200
description:
Mark release.

diffstat:

 ChangeLog         |  11 +++++++++--
 mpn/thumb/add_n.s |  48 ------------------------------------------------
 mpn/thumb/sub_n.s |  48 ------------------------------------------------
 3 files changed, 9 insertions(+), 98 deletions(-)

diffs (124 lines):

diff -r 9ce13f4f5a74 -r 800f0e05b6cc ChangeLog
--- a/ChangeLog	Tue Apr 03 08:23:30 2012 +0200
+++ b/ChangeLog	Sun May 06 13:16:16 2012 +0200
@@ -1,7 +1,14 @@
+2012-05-06  Torbjorn Granlund  <tege at gmplib.org>
+
+	* Version 5.0.5 released.
+
+2012-04-28  Torbjorn Granlund  <tege at gmplib.org>
+
+	* mpn/thumb/add_n.s: Remove broken code.
+	* mpn/thumb/sub_n.s: Likewise.
+
 2012-04-02  Torbjorn Granlund  <tege at gmplib.org>
 
-	* Version 5.0.5 released.
-
 	* gmp-h.in (__GNU_MP_VERSION_PATCHLEVEL): Bump.
 
 	* Makefile.am (LIBGMP_LT_*, LIBGMPXX_LT_*, LIBMP_LT_*):
diff -r 9ce13f4f5a74 -r 800f0e05b6cc mpn/thumb/add_n.s
--- a/mpn/thumb/add_n.s	Tue Apr 03 08:23:30 2012 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,48 +0,0 @@
-@ ARM/Thumb mpn_add_n -- Add two limb vectors of the same length > 0 and store
-@ sum in a third limb vector.
-
-@ Copyright 1997, 2000 Free Software Foundation, Inc.
-
-@ This file is part of the GNU MP Library.
-
-@ The GNU MP Library is free software; you can redistribute it and/or modify
-@ it under the terms of the GNU Lesser General Public License as published by
-@ the Free Software Foundation; either version 3 of the License, or (at your
-@ option) any later version.
-
-@ The GNU MP Library is distributed in the hope that it will be useful, but
-@ WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-@ or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
-@ License for more details.
-
-@ You should have received a copy of the GNU Lesser General Public License
-@ along with the GNU MP Library.  If not, see http://www.gnu.org/licenses/.
-
-
-@ INPUT PARAMETERS
-@ RES_ptr	r0
-@ S1_ptr	r1
-@ S2_ptr	r2
-@ SIZE		r3
-
-@ NOT TESTED CODE
-
-	.text
-	.thumb
-	.align	0
-	.global	___gmpn_add_n
-___gmpn_add_n:
-	push	{r4, r5, r6, lr}
-	mov	r6, #1			@ init carry save register
-
-Loop:	sub	r6, #1			@ restore carry (set iff r6 was 0)
-	ldmia	r1!, {r4}		@ load next limb from S1
-	ldmia	r2!, {r5}		@ load next limb from S2
-	adc	r4, r5
-	stmia	r0!, {r4}		@ store result limb to RES
-	sbc	r6, r6			@ save negated carry
-	sub	r3, #1
-	bge	Loop			@ loop back while remaining count >= 4
-
-	mov	r0, r6
-	pop	{r4, r5, r6, pc}
diff -r 9ce13f4f5a74 -r 800f0e05b6cc mpn/thumb/sub_n.s
--- a/mpn/thumb/sub_n.s	Tue Apr 03 08:23:30 2012 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,48 +0,0 @@
-@ ARM/Thumb mpn_sub_n -- Subtract two limb vectors of the same length > 0 and
-@ store difference in a third limb vector.
-
-@ Copyright 1997, 2000 Free Software Foundation, Inc.
-
-@ This file is part of the GNU MP Library.
-
-@ The GNU MP Library is free software; you can redistribute it and/or modify
-@ it under the terms of the GNU Lesser General Public License as published by
-@ the Free Software Foundation; either version 3 of the License, or (at your
-@ option) any later version.
-
-@ The GNU MP Library is distributed in the hope that it will be useful, but
-@ WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-@ or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
-@ License for more details.
-
-@ You should have received a copy of the GNU Lesser General Public License
-@ along with the GNU MP Library.  If not, see http://www.gnu.org/licenses/.
-
-
-@ INPUT PARAMETERS
-@ RES_ptr	r0
-@ S1_ptr	r1
-@ S2_ptr	r2
-@ SIZE		r3
-
-@ NOT TESTED CODE
-
-	.text
-	.thumb
-	.align	0
-	.global	___gmpn_sub_n
-___gmpn_sub_n:
-	push	{r4, r5, r6, lr}
-	mov	r6, #1			@ init carry save register
-
-Loop:	sub	r6, #1			@ restore carry (set iff r6 was 0)
-	ldmia	r1!, {r4}		@ load next limb from S1
-	ldmia	r2!, {r5}		@ load next limb from S2
-	sbc	r4, r5
-	stmia	r0!, {r4}		@ store result limb to RES
-	sbc	r6, r6			@ save negated carry
-	sub	r3, #1
-	bge	Loop			@ loop back while remaining count >= 4
-
-	mov	r0, r6
-	pop	{r4, r5, r6, pc}


More information about the gmp-commit mailing list