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

mercurial at gmplib.org mercurial at gmplib.org
Sat Apr 13 01:39:04 CEST 2013


details:   /var/hg/gmp/rev/7572b577eb16
changeset: 15707:7572b577eb16
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Sat Apr 13 01:37:48 2013 +0200
description:
Test __VIS__ instead of __sparc_vis3.

details:   /var/hg/gmp/rev/a6c2a0e50fb8
changeset: 15708:a6c2a0e50fb8
user:      David S. Miller
date:      Sat Apr 13 01:38:58 2013 +0200
description:
Remove unused local label.

diffstat:

 ChangeLog                 |  9 ++++++++-
 longlong.h                |  2 +-
 mpn/sparc32/sparc-defs.m4 |  8 ++++----
 3 files changed, 13 insertions(+), 6 deletions(-)

diffs (81 lines):

diff -r f62a456c5df8 -r a6c2a0e50fb8 ChangeLog
--- a/ChangeLog	Thu Apr 11 22:08:46 2013 +0200
+++ b/ChangeLog	Sat Apr 13 01:38:58 2013 +0200
@@ -1,3 +1,8 @@
+2013-04-11  David S. Miller  <davem at davemloft.net>
+
+	* mpn/sparc32/sparc-defs.m4 (LEA): Remove unused local label.
+	(LEA_LEAF): Likewise.
+
 2013-04-11  Niels Möller  <nisse at lysator.liu.se>
 
 	* mpn/arm/v6/submul_1.asm: New file, using the corresponding
@@ -23,6 +28,8 @@
 
 2013-04-09  Torbjorn Granlund  <tege at gmplib.org>
 
+	* longlong.h (sparc64): Test __VIS__ instead of __sparc_vis3.
+
 	* config.guess (sparc*): Invoke set_cc_for_build to get $dummy.
 
 2013-04-08  Torbjorn Granlund  <tege at gmplib.org>
@@ -37,7 +44,7 @@
 	* mpn/sparc64/ultrasparct3/mod_34lsub1.asm: New file.
 
 	* longlong.h (sparc64): Define umul_ppmm, add_ssaaaa, and
-	count_leading_zeros conditionally under the symbol__sparc_vis3.
+	count_leading_zeros conditionally under the symbol __sparc_vis3.
 
 	* mpn/arm/dive_1.asm: New file.
 	* mpn/arm/v6/dive_1.asm: New file.
diff -r f62a456c5df8 -r a6c2a0e50fb8 longlong.h
--- a/longlong.h	Thu Apr 11 22:08:46 2013 +0200
+++ b/longlong.h	Sat Apr 13 01:38:58 2013 +0200
@@ -1757,7 +1757,7 @@
 	  : "rJ" (ah), "rI" (bh), "rJ" (al), "rI" (bl),			\
 	    "rJ" ((al) >> 32), "rI" ((bl) >> 32)			\
 	   __CLOBBER_CC)
-#ifdef __sparc_vis3
+#if __VIS__ >= 0x300
 #undef add_ssaaaa
 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \
   __asm__ (								\
diff -r f62a456c5df8 -r a6c2a0e50fb8 mpn/sparc32/sparc-defs.m4
--- a/mpn/sparc32/sparc-defs.m4	Thu Apr 11 22:08:46 2013 +0200
+++ b/mpn/sparc32/sparc-defs.m4	Sat Apr 13 01:38:58 2013 +0200
@@ -50,7 +50,7 @@
 	sethi	%hi(_GLOBAL_OFFSET_TABLE_-4), %`$3'
 	call	__sparc_get_pc_thunk.`$3'
 	 or	%`$3', %lo(_GLOBAL_OFFSET_TABLE_+4), %`$3'
-99:	sethi	%gdop_hix22(`$1'), %`$2'
+	sethi	%gdop_hix22(`$1'), %`$2'
 	xor	%`$2', %gdop_lox10(`$1'), %`$2'
 ifdef(`HAVE_ABI_64',`
 	ldx	[%`$3' + %`$2'], %`$2', %gdop(`$1')',`
@@ -58,7 +58,7 @@
 	sethi	%hi(_GLOBAL_OFFSET_TABLE_-4), %`$3'
 	call	__sparc_get_pc_thunk.`$3'
 	 or	%`$3', %lo(_GLOBAL_OFFSET_TABLE_+4), %`$3'
-99:	sethi	%hi(`$1'), %`$2'
+	sethi	%hi(`$1'), %`$2'
 	or	%`$2', %lo(`$1'), %`$2'
 ifdef(`HAVE_ABI_64',`
 	ldx	[%`$3' + %`$2'], %`$2'',`
@@ -82,7 +82,7 @@
 	mov	%o7, %`$2'
 	call	__sparc_get_pc_thunk.`$3'
 	 or	%`$3', %lo(_GLOBAL_OFFSET_TABLE_+4), %`$3'
-99:	mov	%`$2', %o7
+	mov	%`$2', %o7
 	sethi	%gdop_hix22(`$1'), %`$2'
 	xor	%`$2', %gdop_lox10(`$1'), %`$2'
 ifdef(`HAVE_ABI_64',`
@@ -92,7 +92,7 @@
 	mov	%o7, %`$2'
 	call	__sparc_get_pc_thunk.`$3'
 	 or	%`$3', %lo(_GLOBAL_OFFSET_TABLE_+4), %`$3'
-99:	mov	%`$2', %o7
+	mov	%`$2', %o7
 	sethi	%hi(`$1'), %`$2'
 	or	%`$2', %lo(`$1'), %`$2'
 ifdef(`HAVE_ABI_64',`


More information about the gmp-commit mailing list