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

mercurial at gmplib.org mercurial at gmplib.org
Sun Feb 12 02:40:19 UTC 2017


details:   /var/hg/gmp/rev/0087d7621e10
changeset: 17258:0087d7621e10
user:      Torbjorn Granlund <tg at gmplib.org>
date:      Sun Feb 12 03:39:11 2017 +0100
description:
Use sub instead of add with -imm.

details:   /var/hg/gmp/rev/a71affa855d1
changeset: 17259:a71affa855d1
user:      Torbjorn Granlund <tg at gmplib.org>
date:      Sun Feb 12 03:39:48 2017 +0100
description:
ChangeLog

details:   /var/hg/gmp/rev/825ba833f1d0
changeset: 17260:825ba833f1d0
user:      Torbjorn Granlund <tg at gmplib.org>
date:      Sun Feb 12 03:40:17 2017 +0100
description:
Update c/l measurements.

diffstat:

 ChangeLog                  |  6 +++++-
 mpn/arm64/bdiv_q_1.asm     |  6 +++---
 mpn/x86_64/bdiv_q_1.asm    |  2 +-
 mpn/x86_64/k8/bdiv_q_1.asm |  2 +-
 4 files changed, 10 insertions(+), 6 deletions(-)

diffs (74 lines):

diff -r c70632028c53 -r 825ba833f1d0 ChangeLog
--- a/ChangeLog	Sun Feb 12 01:59:31 2017 +0100
+++ b/ChangeLog	Sun Feb 12 03:40:17 2017 +0100
@@ -1,3 +1,7 @@
+2017-02-12  Torbjörn Granlund  <tg at gmplib.org>
+
+	* mpn/sparc64/ultrasparct3/bdiv_q_1.asm: New file, based on dive_1.asm.
+
 2017-02-11  Torbjörn Granlund  <tg at gmplib.org>
 
 	* mpn/arm/v7a/cora8/bdiv_q_1.asm: New file, based on v6/dive_1.asm.
@@ -9,7 +13,7 @@
 	* mpn/arm64/xgene1/aors_n.asm: Likewise.
 	* mpn/arm64/xgene1/cnd_aors_n.asm: Likewise.
 
-	* mpn/arm/bdiv_q_1.asm: New file.
+	* mpn/arm/bdiv_q_1.asm: New file, based on dive_1.asm.
 
 	* mpn/generic/bdiv_q_1.c (mpn_bdiv_q_1): Remove odd d special case.
 
diff -r c70632028c53 -r 825ba833f1d0 mpn/arm64/bdiv_q_1.asm
--- a/mpn/arm64/bdiv_q_1.asm	Sun Feb 12 01:59:31 2017 +0100
+++ b/mpn/arm64/bdiv_q_1.asm	Sun Feb 12 03:40:17 2017 +0100
@@ -85,7 +85,7 @@
 EPILOGUE()
 
 PROLOGUE(mpn_pi1_bdiv_q_1)
-	add	n, n, #-1
+	sub	n, n, #1
 	subs	x6, x6, x6		C clear r6 and C flag
 	ldr	x9, [up],#8
 	cbz	cnt, L(norm)
@@ -103,7 +103,7 @@
 	str	x7, [rp],#8
 	lsr	x12, x9, cnt
 	umulh	x6, x7, d
-	add	n, n, #-1
+	sub	n, n, #1
 	cbnz	n, L(tpu)
 
 L(eu1):	sbcs	x6, x12, x6
@@ -121,7 +121,7 @@
 	sbcs	x5, x9, x5
 	mul	x5, x5, di
 	str	x5, [rp],#8
-	add	n, n, #-1
+	sub	n, n, #1
 	cbnz	n, L(tpn)
 
 L(en1):	ret
diff -r c70632028c53 -r 825ba833f1d0 mpn/x86_64/bdiv_q_1.asm
--- a/mpn/x86_64/bdiv_q_1.asm	Sun Feb 12 01:59:31 2017 +0100
+++ b/mpn/x86_64/bdiv_q_1.asm	Sun Feb 12 03:40:17 2017 +0100
@@ -49,7 +49,7 @@
 C Intel HWL	8		8
 C Intel BWL	8		8
 C Intel SKL	8		8
-C Intel atom	34		36	needs re-measuring
+C Intel atom	34		36
 C Intel SLM	13.7		13.5
 C VIA nano	19.25		19.25	needs re-measuring
 
diff -r c70632028c53 -r 825ba833f1d0 mpn/x86_64/k8/bdiv_q_1.asm
--- a/mpn/x86_64/k8/bdiv_q_1.asm	Sun Feb 12 01:59:31 2017 +0100
+++ b/mpn/x86_64/k8/bdiv_q_1.asm	Sun Feb 12 03:40:17 2017 +0100
@@ -50,7 +50,7 @@
 C Intel HWL	8	=
 C Intel BWL	8	=
 C Intel SKL	8	=
-C Intel atom	42	--	needs re-measuring
+C Intel atom	42	--
 C Intel SLM	20.4	--
 C VIA nano
 


More information about the gmp-commit mailing list