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

mercurial at gmplib.org mercurial at gmplib.org
Mon Sep 26 22:51:32 CEST 2011


details:   /var/hg/gmp/rev/c87f7c41f48f
changeset: 14244:c87f7c41f48f
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Mon Sep 26 22:48:00 2011 +0200
description:
Make this old submul_1 implementation actually compute intended function.

details:   /var/hg/gmp/rev/5f72bec03bfa
changeset: 14245:5f72bec03bfa
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Mon Sep 26 22:49:04 2011 +0200
description:
Fix comment typo.

details:   /var/hg/gmp/rev/6ee2b6e67349
changeset: 14246:6ee2b6e67349
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Mon Sep 26 22:49:12 2011 +0200
description:
*** empty log message ***

diffstat:

 ChangeLog               |  3 +++
 mpn/sh/add_n.asm        |  2 +-
 mpn/sh/sh2/addmul_1.asm |  2 +-
 mpn/sh/sh2/mul_1.asm    |  2 +-
 mpn/sh/sh2/submul_1.asm |  6 +++---
 mpn/sh/sub_n.asm        |  2 +-
 6 files changed, 10 insertions(+), 7 deletions(-)

diffs (85 lines):

diff -r b7795ee858fe -r 6ee2b6e67349 ChangeLog
--- a/ChangeLog	Mon Sep 26 16:29:46 2011 +0200
+++ b/ChangeLog	Mon Sep 26 22:49:12 2011 +0200
@@ -1,5 +1,8 @@
 2011-09-26  Torbjorn Granlund  <tege at gmplib.org>
 
+	* mpn/sh/sh2/submul_1.asm: Make this old submul_1 implementation
+	actually compute intended function.
+
 	* longlong.h (SH): Recognise predefs for all SH processors as defined
 	by current gcc versions.
 
diff -r b7795ee858fe -r 6ee2b6e67349 mpn/sh/add_n.asm
--- a/mpn/sh/add_n.asm	Mon Sep 26 16:29:46 2011 +0200
+++ b/mpn/sh/add_n.asm	Mon Sep 26 22:49:12 2011 +0200
@@ -27,7 +27,7 @@
 C vp		r6
 C n		r7
 
-changecom(blah)			C disable # to make C all comments below work
+changecom(blah)			C disable # to make all C comments below work
 
 ASM_START()
 PROLOGUE(mpn_add_n)
diff -r b7795ee858fe -r 6ee2b6e67349 mpn/sh/sh2/addmul_1.asm
--- a/mpn/sh/sh2/addmul_1.asm	Mon Sep 26 16:29:46 2011 +0200
+++ b/mpn/sh/sh2/addmul_1.asm	Mon Sep 26 22:49:12 2011 +0200
@@ -27,7 +27,7 @@
 C size		r6
 C s2_limb	r7
 
-changecom(blah)			C disable # to make C all comments below work
+changecom(blah)			C disable # to make all C comments below work
 
 ASM_START()
 PROLOGUE(mpn_addmul_1)
diff -r b7795ee858fe -r 6ee2b6e67349 mpn/sh/sh2/mul_1.asm
--- a/mpn/sh/sh2/mul_1.asm	Mon Sep 26 16:29:46 2011 +0200
+++ b/mpn/sh/sh2/mul_1.asm	Mon Sep 26 22:49:12 2011 +0200
@@ -27,7 +27,7 @@
 C size		r6
 C s2_limb	r7
 
-changecom(blah)			C disable # to make C all comments below work
+changecom(blah)			C disable # to make all C comments below work
 
 ASM_START()
 PROLOGUE(mpn_mul_1)
diff -r b7795ee858fe -r 6ee2b6e67349 mpn/sh/sh2/submul_1.asm
--- a/mpn/sh/sh2/submul_1.asm	Mon Sep 26 16:29:46 2011 +0200
+++ b/mpn/sh/sh2/submul_1.asm	Mon Sep 26 22:49:12 2011 +0200
@@ -27,7 +27,7 @@
 C size		r6
 C s2_limb	r7
 
-changecom(blah)			C disable # to make C all comments below work
+changecom(blah)			C disable # to make all C comments below work
 
 ASM_START()
 PROLOGUE(mpn_submul_1)
@@ -42,10 +42,10 @@
 	sts	mach,r2		C new cy_limb = hi_prod
 	mov.l	@r4,r3
 	addc	r0,r2		C cy_limb += T, T = 0
-	subc	r3,r1
+	subc	r1,r3
 	addc	r0,r2		C cy_limb += T, T = 0
 	dt	r6
-	mov.l	r1, at r4
+	mov.l	r3, at r4
 	bf.s	L(top)
 	add	#4,r4
 
diff -r b7795ee858fe -r 6ee2b6e67349 mpn/sh/sub_n.asm
--- a/mpn/sh/sub_n.asm	Mon Sep 26 16:29:46 2011 +0200
+++ b/mpn/sh/sub_n.asm	Mon Sep 26 22:49:12 2011 +0200
@@ -27,7 +27,7 @@
 C vp		r6
 C n		r7
 
-changecom(blah)			C disable # to make C all comments below work
+changecom(blah)			C disable # to make all C comments below work
 
 ASM_START()
 PROLOGUE(mpn_sub_n)


More information about the gmp-commit mailing list