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

mercurial at gmplib.org mercurial at gmplib.org
Tue Oct 4 03:46:36 CEST 2011


details:   /var/hg/gmp/rev/8aa5494c03e3
changeset: 14261:8aa5494c03e3
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Tue Oct 04 03:45:36 2011 +0200
description:
(TARG_DIST): Add s390_32 and s390_64, remove s390 and z8000x.

details:   /var/hg/gmp/rev/2ea10dccd20d
changeset: 14262:2ea10dccd20d
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Tue Oct 04 03:46:32 2011 +0200
description:
Remove obsolete z8000x directory.

diffstat:

 mpn/Makefile.am    |   8 ++++----
 mpn/z8000x/add_n.s |  54 ------------------------------------------------------
 mpn/z8000x/sub_n.s |  54 ------------------------------------------------------
 3 files changed, 4 insertions(+), 112 deletions(-)

diffs (140 lines):

diff -r 371ab4c8d9cb -r 2ea10dccd20d mpn/Makefile.am
--- a/mpn/Makefile.am	Tue Oct 04 00:24:02 2011 +0200
+++ b/mpn/Makefile.am	Tue Oct 04 03:46:32 2011 +0200
@@ -1,7 +1,7 @@
 ## Process this file with automake to generate Makefile.in
 
-# Copyright 1996, 1998, 1999, 2000, 2001, 2002, 2005 Free Software Foundation,
-# Inc.
+# Copyright 1996, 1998, 1999, 2000, 2001, 2002, 2005, 2011 Free Software
+# Foundation, Inc.
 #
 # This file is part of the GNU MP Library.
 #
@@ -30,8 +30,8 @@
 libmpn_la_DEPENDENCIES = $(OFILES)
 
 TARG_DIST = a29k alpha arm clipper cray generic i960 ia64 lisp m68k m88k \
-  minithres mips32 mips64 ns32k pa32 pa64 power powerpc32 powerpc64 pyr s390 \
-  sh sparc32 sparc64 thumb vax x86 x86_64 z8000 z8000x
+  minithres mips32 mips64 ns32k pa32 pa64 power powerpc32 powerpc64 pyr \
+  s390_32 s390_64 sh sparc32 sparc64 thumb vax x86 x86_64 z8000
 
 EXTRA_DIST = asm-defs.m4 cpp-ccas m4-ccas $(TARG_DIST)
 
diff -r 371ab4c8d9cb -r 2ea10dccd20d mpn/z8000x/add_n.s
--- a/mpn/z8000x/add_n.s	Tue Oct 04 00:24:02 2011 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,54 +0,0 @@
-! Z8000 (32 bit limb version) __gmpn_add_n -- Add two limb vectors of equal,
-! non-zero length.
-
-! Copyright 1993, 1994, 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	r7
-! s1_ptr	r6
-! s2_ptr	r5
-! size		r4
-
-! If we are really crazy, we can use push to write a few result words
-! backwards, using push just because it is faster than reg+disp.  We'd
-! then add 2x the number of words written to r7...
-
-	segm
-	.text
-	even
-	global ___gmpn_add_n
-___gmpn_add_n:
-	popl	rr0, at r6
-	popl	rr8, at r5
-	addl	rr0,rr8
-	ldl	@r7,rr0
-	dec	r4
-	jr	eq,Lend
-Loop:	popl	rr0, at r6
-	popl	rr8, at r5
-	adc	r1,r9
-	adc	r0,r8
-	inc	r7,#4
-	ldl	@r7,rr0
-	dec	r4
-	jr	ne,Loop
-Lend:	ld	r2,r4		! use 0 already in r4
-	ld	r3,r4
-	adc	r2,r2
-	ret	t
diff -r 371ab4c8d9cb -r 2ea10dccd20d mpn/z8000x/sub_n.s
--- a/mpn/z8000x/sub_n.s	Tue Oct 04 00:24:02 2011 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,54 +0,0 @@
-! Z8000 (32 bit limb version) __gmpn_sub_n -- Subtract two limb vectors of the
-! same length > 0 and store difference in a third limb vector.
-
-! Copyright 1993, 1994, 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	r7
-! s1_ptr	r6
-! s2_ptr	r5
-! size		r4
-
-! If we are really crazy, we can use push to write a few result words
-! backwards, using push just because it is faster than reg+disp.  We'd
-! then add 2x the number of words written to r7...
-
-	segm
-	.text
-	even
-	global ___gmpn_sub_n
-___gmpn_sub_n:
-	popl	rr0, at r6
-	popl	rr8, at r5
-	subl	rr0,rr8
-	ldl	@r7,rr0
-	dec	r4
-	jr	eq,Lend
-Loop:	popl	rr0, at r6
-	popl	rr8, at r5
-	sbc	r1,r9
-	sbc	r0,r8
-	inc	r7,#4
-	ldl	@r7,rr0
-	dec	r4
-	jr	ne,Loop
-Lend:	ld	r2,r4		! use 0 already in r4
-	ld	r3,r4
-	adc	r2,r2
-	ret	t


More information about the gmp-commit mailing list