[Gmp-commit] /var/hg/gmp: Rename ret => return.

mercurial at gmplib.org mercurial at gmplib.org
Mon Mar 21 22:32:23 UTC 2016


details:   /var/hg/gmp/rev/bcc1cf8a7154
changeset: 17043:bcc1cf8a7154
user:      Torbjorn Granlund <torbjorng at google.com>
date:      Mon Mar 21 23:32:19 2016 +0100
description:
Rename ret => return.

diffstat:

 mpn/arm/aorslsh1_n.asm    |  2 +-
 mpn/arm/arm-defs.m4       |  4 ++--
 mpn/arm/bdiv_dbm1c.asm    |  2 +-
 mpn/arm/cnd_aors_n.asm    |  2 +-
 mpn/arm/com.asm           |  2 +-
 mpn/arm/copyd.asm         |  2 +-
 mpn/arm/copyi.asm         |  2 +-
 mpn/arm/dive_1.asm        |  4 ++--
 mpn/arm/invert_limb.asm   |  2 +-
 mpn/arm/logops_n.asm      |  2 +-
 mpn/arm/lshift.asm        |  2 +-
 mpn/arm/lshiftc.asm       |  2 +-
 mpn/arm/mod_34lsub1.asm   |  4 ++--
 mpn/arm/mode1o.asm        |  2 +-
 mpn/arm/rsh1aors_n.asm    |  2 +-
 mpn/arm/rshift.asm        |  2 +-
 mpn/arm/sec_tabselect.asm |  4 ++--
 mpn/arm/udiv.asm          |  2 +-
 18 files changed, 22 insertions(+), 22 deletions(-)

diffs (224 lines):

diff -r 74b1bf60f5bb -r bcc1cf8a7154 mpn/arm/aorslsh1_n.asm
--- a/mpn/arm/aorslsh1_n.asm	Mon Mar 21 23:18:37 2016 +0100
+++ b/mpn/arm/aorslsh1_n.asm	Mon Mar 21 23:32:19 2016 +0100
@@ -163,5 +163,5 @@
 	REVCY(r12)
 L(rt0):	RETVAL(	r14)
 	pop	{r4-r10r11, r14}
-	ret	r14
+	return	r14
 EPILOGUE()
diff -r 74b1bf60f5bb -r bcc1cf8a7154 mpn/arm/arm-defs.m4
--- a/mpn/arm/arm-defs.m4	Mon Mar 21 23:18:37 2016 +0100
+++ b/mpn/arm/arm-defs.m4	Mon Mar 21 23:32:19 2016 +0100
@@ -2,7 +2,7 @@
 
 dnl  m4 macros for ARM assembler.
 
-dnl  Copyright 2001, 2012, 2013 Free Software Foundation, Inc.
+dnl  Copyright 2001, 2012-2016 Free Software Foundation, Inc.
 
 dnl  This file is part of the GNU MP Library.
 dnl
@@ -84,7 +84,7 @@
 ')dnl
 ')
 
-define(`ret',`ifdef(`NOTHUMB',`mov	pc, ',`bx')')
+define(`return',`ifdef(`NOTHUMB',`mov	pc, ',`bx')')
 
 
 define(`EPILOGUE_cpu',
diff -r 74b1bf60f5bb -r bcc1cf8a7154 mpn/arm/bdiv_dbm1c.asm
--- a/mpn/arm/bdiv_dbm1c.asm	Mon Mar 21 23:18:37 2016 +0100
+++ b/mpn/arm/bdiv_dbm1c.asm	Mon Mar 21 23:32:19 2016 +0100
@@ -109,5 +109,5 @@
 	str	r5, [qp]
 	sbc	r0, r5, r12
 	pop	{r4, r5, r6, r7, r8}
-	ret	lr
+	return	lr
 EPILOGUE()
diff -r 74b1bf60f5bb -r bcc1cf8a7154 mpn/arm/cnd_aors_n.asm
--- a/mpn/arm/cnd_aors_n.asm	Mon Mar 21 23:18:37 2016 +0100
+++ b/mpn/arm/cnd_aors_n.asm	Mon Mar 21 23:32:19 2016 +0100
@@ -130,5 +130,5 @@
 
 L(end):	RETVAL
 	pop	{r4-r11}
-	ret	r14
+	return	r14
 EPILOGUE()
diff -r 74b1bf60f5bb -r bcc1cf8a7154 mpn/arm/com.asm
--- a/mpn/arm/com.asm	Mon Mar 21 23:18:37 2016 +0100
+++ b/mpn/arm/com.asm	Mon Mar 21 23:32:19 2016 +0100
@@ -71,5 +71,5 @@
 	bne	L(top)
 
 	ldmfd	sp!, { r7, r8, r9 }		C restore regs from stack
-L(rtn):	ret	lr
+L(rtn):	return	lr
 EPILOGUE()
diff -r 74b1bf60f5bb -r bcc1cf8a7154 mpn/arm/copyd.asm
--- a/mpn/arm/copyd.asm	Mon Mar 21 23:18:37 2016 +0100
+++ b/mpn/arm/copyd.asm	Mon Mar 21 23:32:19 2016 +0100
@@ -80,5 +80,5 @@
 
 L(end):	stmda	rp, { r3,r4,r5,r12 }
 	pop	{ r4-r5 }
-L(rtn):	ret	lr
+L(rtn):	return	lr
 EPILOGUE()
diff -r 74b1bf60f5bb -r bcc1cf8a7154 mpn/arm/copyi.asm
--- a/mpn/arm/copyi.asm	Mon Mar 21 23:18:37 2016 +0100
+++ b/mpn/arm/copyi.asm	Mon Mar 21 23:32:19 2016 +0100
@@ -75,5 +75,5 @@
 
 L(end):	stm	rp, { r3,r4,r5,r12 }
 	pop	{ r4-r5 }
-L(rtn):	ret	lr
+L(rtn):	return	lr
 EPILOGUE()
diff -r 74b1bf60f5bb -r bcc1cf8a7154 mpn/arm/dive_1.asm
--- a/mpn/arm/dive_1.asm	Mon Mar 21 23:18:37 2016 +0100
+++ b/mpn/arm/dive_1.asm	Mon Mar 21 23:32:19 2016 +0100
@@ -112,7 +112,7 @@
 	mul	r9, r4, cy
 	str	r9, [rp]
 	pop	{r4-r9}
-	ret	r14
+	return	r14
 
 L(unnorm):
 	rsb	tnc, cnt, #32
@@ -136,7 +136,7 @@
 	mul	r9, r4, cy
 	str	r9, [rp]
 	pop	{r4-r9}
-	ret	r14
+	return	r14
 EPILOGUE()
 
 	RODATA
diff -r 74b1bf60f5bb -r bcc1cf8a7154 mpn/arm/invert_limb.asm
--- a/mpn/arm/invert_limb.asm	Mon Mar 21 23:18:37 2016 +0100
+++ b/mpn/arm/invert_limb.asm	Mon Mar 21 23:32:19 2016 +0100
@@ -52,7 +52,7 @@
 	adds	r1, r12, r0
 	adc	r3, r3, r0
 	rsb	r0, r3, r2
-	ret	lr
+	return	lr
 EPILOGUE()
 
 	RODATA
diff -r 74b1bf60f5bb -r bcc1cf8a7154 mpn/arm/logops_n.asm
--- a/mpn/arm/logops_n.asm	Mon Mar 21 23:18:37 2016 +0100
+++ b/mpn/arm/logops_n.asm	Mon Mar 21 23:32:19 2016 +0100
@@ -135,5 +135,5 @@
 	pop	{ r4, r5, r6, r7 }	C popping r8-r10 here strangely fails
 
 L(rtn):	pop	{ r8, r9, r10 }
-	ret	r14
+	return	r14
 EPILOGUE()
diff -r 74b1bf60f5bb -r bcc1cf8a7154 mpn/arm/lshift.asm
--- a/mpn/arm/lshift.asm	Mon Mar 21 23:18:37 2016 +0100
+++ b/mpn/arm/lshift.asm	Mon Mar 21 23:32:19 2016 +0100
@@ -84,5 +84,5 @@
 L(1):	str	r7, [rp, #-4]
 	mov	r0, r4, lsr tnc
 	pop	{r4, r6, r7, r8}
-	ret	r14
+	return	r14
 EPILOGUE()
diff -r 74b1bf60f5bb -r bcc1cf8a7154 mpn/arm/lshiftc.asm
--- a/mpn/arm/lshiftc.asm	Mon Mar 21 23:18:37 2016 +0100
+++ b/mpn/arm/lshiftc.asm	Mon Mar 21 23:32:19 2016 +0100
@@ -91,5 +91,5 @@
 	str	r7, [rp, #-4]
 	mov	r0, r4, lsr tnc
 	pop	{r4, r6, r7, r8}
-	ret	r14
+	return	r14
 EPILOGUE()
diff -r 74b1bf60f5bb -r bcc1cf8a7154 mpn/arm/mod_34lsub1.asm
--- a/mpn/arm/mod_34lsub1.asm	Mon Mar 21 23:18:37 2016 +0100
+++ b/mpn/arm/mod_34lsub1.asm	Mon Mar 21 23:32:19 2016 +0100
@@ -106,7 +106,7 @@
 	add	r0, r0, r12, lsr #8
 
 	pop	{ r4, r5, r6, r7 }
-	ret	lr
+	return	lr
 
 L(le2):	cmn	n, #1
 	bne	L(1)
@@ -117,5 +117,5 @@
 	bic	r0, r2, #0xff000000
 	add	r0, r0, r2, lsr #24
 	pop	{ r4, r5, r6, r7 }
-	ret	lr
+	return	lr
 EPILOGUE()
diff -r 74b1bf60f5bb -r bcc1cf8a7154 mpn/arm/mode1o.asm
--- a/mpn/arm/mode1o.asm	Mon Mar 21 23:18:37 2016 +0100
+++ b/mpn/arm/mode1o.asm	Mon Mar 21 23:32:19 2016 +0100
@@ -88,5 +88,5 @@
 	addcc	r0, r0, #1
 
 	ldmfd	sp!, {r4, r5}
-	ret	r14
+	return	r14
 EPILOGUE()
diff -r 74b1bf60f5bb -r bcc1cf8a7154 mpn/arm/rsh1aors_n.asm
--- a/mpn/arm/rsh1aors_n.asm	Mon Mar 21 23:18:37 2016 +0100
+++ b/mpn/arm/rsh1aors_n.asm	Mon Mar 21 23:32:19 2016 +0100
@@ -120,5 +120,5 @@
 	str	r4, [rp, #0]
 	mov	r0, r11
 	pop	{r4-r11}
-	ret	r14
+	return	r14
 EPILOGUE()
diff -r 74b1bf60f5bb -r bcc1cf8a7154 mpn/arm/rshift.asm
--- a/mpn/arm/rshift.asm	Mon Mar 21 23:18:37 2016 +0100
+++ b/mpn/arm/rshift.asm	Mon Mar 21 23:32:19 2016 +0100
@@ -82,5 +82,5 @@
 L(1):	str	r7, [rp]
 	mov	r0, r4, lsl tnc
 	pop	{r4, r6, r7, r8}
-	ret	r14
+	return	r14
 EPILOGUE()
diff -r 74b1bf60f5bb -r bcc1cf8a7154 mpn/arm/sec_tabselect.asm
--- a/mpn/arm/sec_tabselect.asm	Mon Mar 21 23:18:37 2016 +0100
+++ b/mpn/arm/sec_tabselect.asm	Mon Mar 21 23:32:19 2016 +0100
@@ -109,7 +109,7 @@
 	bge	L(tp2)
 	stmia	rp, {r8,r9}
 	pop	{r4-r11, r14}
-	ret	lr
+	return	lr
 
 L(n2):	cmp	j, #-2
 	bne	L(n1)
@@ -127,5 +127,5 @@
 	bge	L(tp1)
 	str	r8, [rp]
 L(n1):	pop	{r4-r11, r14}
-	ret	lr
+	return	lr
 EPILOGUE()
diff -r 74b1bf60f5bb -r bcc1cf8a7154 mpn/arm/udiv.asm
--- a/mpn/arm/udiv.asm	Mon Mar 21 23:18:37 2016 +0100
+++ b/mpn/arm/udiv.asm	Mon Mar 21 23:32:19 2016 +0100
@@ -61,7 +61,7 @@
 
 	str	n1, [rem_ptr]		C store remainder
 	adc	r0, n0, n0		C quotient: add last carry from divstep
-	ret	lr
+	return	lr
 
 L(_large_divisor):
 	stmfd	sp!, { r8, lr }


More information about the gmp-commit mailing list