[Gmp-commit] /var/hg/gmp: Prefix immediates with #.

mercurial at gmplib.org mercurial at gmplib.org
Thu Apr 3 20:43:39 UTC 2014


details:   /var/hg/gmp/rev/78b033a26bbd
changeset: 16370:78b033a26bbd
user:      Marc Glisse <marc.glisse at inria.fr>
date:      Thu Apr 03 22:43:37 2014 +0200
description:
Prefix immediates with #.

diffstat:

 ChangeLog                 |   1 +
 mpn/arm64/invert_limb.asm |  10 +++++-----
 2 files changed, 6 insertions(+), 5 deletions(-)

diffs (40 lines):

diff -r b5c435fb5e22 -r 78b033a26bbd ChangeLog
--- a/ChangeLog	Thu Apr 03 22:36:27 2014 +0200
+++ b/ChangeLog	Thu Apr 03 22:43:37 2014 +0200
@@ -1,6 +1,7 @@
 2014-04-03  Marc Glisse  <marc.glisse at inria.fr>
 
 	* mpn/arm64/mul_1.asm, mpn/arm64/gcd_1.asm: Use official b.cond syntax.
+	* mpn/arm64/invert_limb.asm: Prefix immediates with #.
 
 2014-04-03  Torbjorn Granlund  <tege at gmplib.org>
 
diff -r b5c435fb5e22 -r 78b033a26bbd mpn/arm64/invert_limb.asm
--- a/mpn/arm64/invert_limb.asm	Thu Apr 03 22:36:27 2014 +0200
+++ b/mpn/arm64/invert_limb.asm	Thu Apr 03 22:43:37 2014 +0200
@@ -51,20 +51,20 @@
 	umull	x3, w3, w3
 	mul	x3, x3, x4
 	sub	x2, x2, #1
-	sub	x2, x2, x3, lsr 40
+	sub	x2, x2, x3, lsr #40
 	lsl	x3, x2, 60
 	mul	x1, x2, x2
 	msub	x1, x1, x4, x3
 	lsl	x2, x2, 13
-	add	x1, x2, x1, lsr 47
+	add	x1, x2, x1, lsr #47
 	and	x2, x0, 1
 	neg	x3, x2
-	and	x3, x3, x1, lsr 1
-	add	x2, x2, x0, lsr 1
+	and	x3, x3, x1, lsr #1
+	add	x2, x2, x0, lsr #1
 	msub	x2, x1, x2, x3
 	umulh	x2, x2, x1
 	lsl	x1, x1, 31
-	add	x1, x1, x2, lsr 1
+	add	x1, x1, x2, lsr #1
 	mul	x3, x1, x0
 	umulh	x2, x1, x0
 	adds	x4, x3, x0


More information about the gmp-commit mailing list