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

mercurial at gmplib.org mercurial at gmplib.org
Mon Mar 21 23:02:47 UTC 2016


details:   /var/hg/gmp/rev/88942013bed2
changeset: 17044:88942013bed2
user:      Torbjorn Granlund <torbjorng at google.com>
date:      Mon Mar 21 23:50:29 2016 +0100
description:
Rename ret => return.

details:   /var/hg/gmp/rev/56558f33f32c
changeset: 17045:56558f33f32c
user:      Torbjorn Granlund <torbjorng at google.com>
date:      Mon Mar 21 23:54:26 2016 +0100
description:
Typo.

details:   /var/hg/gmp/rev/cda2b271cbe8
changeset: 17046:cda2b271cbe8
user:      Torbjorn Granlund <torbjorng at google.com>
date:      Mon Mar 21 23:55:46 2016 +0100
description:
Suppress unused register alias definitions that conflict with arm64.

details:   /var/hg/gmp/rev/2fa752456dd9
changeset: 17047:2fa752456dd9
user:      Torbjorn Granlund <torbjorng at google.com>
date:      Mon Mar 21 23:59:32 2016 +0100
description:
Support many arm64 processors.

diffstat:

 configure.ac        |  53 +++++++++++++++++++++++++++++++++++++++++++----------
 mpn/arm/arm-defs.m4 |  16 ++++++++--------
 mpn/s390_64/README  |   2 +-
 tests/arm32call.asm |   6 +++---
 4 files changed, 55 insertions(+), 22 deletions(-)

diffs (139 lines):

diff -r bcc1cf8a7154 -r 2fa752456dd9 configure.ac
--- a/configure.ac	Mon Mar 21 23:32:19 2016 +0100
+++ b/configure.ac	Mon Mar 21 23:59:32 2016 +0100
@@ -591,16 +591,7 @@
     ;;
 
 
-  arm64*-*-* | aarch64*-*-*)
-    # The compiler clang version 3.4 or earlier requires an explicit -mfpu=neon
-    # for out assembly code.  Since this compiler cloaks as gcc, we have to
-    # fake too.
-    gcc_cflags_maybe="-mfpu=neon"
-    path="arm64"
-    ;;
-
-
-  arm*-*-*)
+  arm*-*-* | aarch64*-*-*)
     gcc_cflags="$gcc_cflags $fomit_frame_pointer"
     gcc_cflags_optlist="arch fpmode neon tune"
     gcc_testlist="gcc-arm-umodsi"
@@ -691,6 +682,48 @@
 	gcc_cflags_neon="-mfpu=neon"
 	gcc_cflags_tune="-mtune=cortex-a15 -mtune=cortex-a9"
 	;;
+      armcortexa53)
+	unset CALLING_CONVENTIONS_OBJS
+	path="arm64/cora53 arm64"
+	gcc_cflags_arch=""
+	gcc_cflags_tune="-mtune=cortex-a53"
+	;;
+      armcortexa57)
+	unset CALLING_CONVENTIONS_OBJS
+	path="arm64"
+	gcc_cflags_arch=""
+	gcc_cflags_tune="-mtune=cortex-a57"
+	;;
+      armcortexa72)
+	unset CALLING_CONVENTIONS_OBJS
+	path="arm64"
+	gcc_cflags_arch=""
+	gcc_cflags_tune="-mtune=cortex-a72"
+	;;
+      exynosm1)
+	unset CALLING_CONVENTIONS_OBJS
+	path="arm64"
+	gcc_cflags_arch=""
+	gcc_cflags_tune="-mtune=exynosm1"
+	;;
+      thunderx)
+	unset CALLING_CONVENTIONS_OBJS
+	path="arm64"
+	gcc_cflags_arch=""
+	gcc_cflags_tune="-mtune=thunderx"
+	;;
+      xgene1)
+	unset CALLING_CONVENTIONS_OBJS
+	path="arm64/xgene1 arm64"
+	gcc_cflags_arch=""
+	gcc_cflags_tune="-mtune=xgene1"
+	;;
+      aarch64*)
+	unset CALLING_CONVENTIONS_OBJS
+	path="arm64"
+	gcc_cflags_arch=""
+	gcc_cflags_tune=""
+	;;
       *)
 	path="arm"
 	gcc_cflags_arch="-march=armv4"
diff -r bcc1cf8a7154 -r 2fa752456dd9 mpn/arm/arm-defs.m4
--- a/mpn/arm/arm-defs.m4	Mon Mar 21 23:32:19 2016 +0100
+++ b/mpn/arm/arm-defs.m4	Mon Mar 21 23:59:32 2016 +0100
@@ -43,18 +43,18 @@
 deflit(a2,r1)
 deflit(a3,r2)
 deflit(a4,r3)
-deflit(v1,r4)
-deflit(v2,r5)
-deflit(v3,r6)
-deflit(v4,r7)
-deflit(v5,r8)
-deflit(v6,r9)
+dnl deflit(v1,r4)
+dnl deflit(v2,r5)
+dnl deflit(v3,r6)
+dnl deflit(v4,r7)
+dnl deflit(v5,r8)
+dnl deflit(v6,r9)
 deflit(sb,r9)
-deflit(v7,r10)
+dnl deflit(v7,r10)
 deflit(sl,r10)
 deflit(fp,r11)
 deflit(ip,r12)
-deflit(sp,r13)
+dnl deflit(sp,r13)
 deflit(lr,r14)
 deflit(pc,r15)
 
diff -r bcc1cf8a7154 -r 2fa752456dd9 mpn/s390_64/README
--- a/mpn/s390_64/README	Mon Mar 21 23:32:19 2016 +0100
+++ b/mpn/s390_64/README	Mon Mar 21 23:59:32 2016 +0100
@@ -28,7 +28,7 @@
 
 
 
-There are 5 generations of 64-but s390 processors, z900, z990, z9,
+There are 5 generations of 64-bit s390 processors, z900, z990, z9,
 z10, and z196.  The current GMP code was optimised for the two oldest,
 z900 and z990.
 
diff -r bcc1cf8a7154 -r 2fa752456dd9 tests/arm32call.asm
--- a/tests/arm32call.asm	Mon Mar 21 23:32:19 2016 +0100
+++ b/tests/arm32call.asm	Mon Mar 21 23:59:32 2016 +0100
@@ -1,6 +1,6 @@
 dnl  ARM32 calling conventions checking.
 
-dnl  Copyright 2000, 2003, 2004, 2006, 2007, 2010, 2013 Free Software
+dnl  Copyright 2000, 2003, 2004, 2006, 2007, 2010, 2013, 2016 Free Software
 dnl  Foundation, Inc.
 
 dnl  This file is part of the GNU MP Library test suite.
@@ -59,7 +59,7 @@
 	LEA(	r12, calling_conventions_function)
 	ldr	r12, [r12]
 	mov	r14, pc
-	ret	r12
+	return	r12
 
 	LEA(	r12, calling_conventions_values)
 
@@ -79,5 +79,5 @@
 	add	r12, r12, #JUNK_PARAMS
 	ldm	r12, {r1-r3}
 
-	ret	r14
+	return	r14
 EPILOGUE()


More information about the gmp-commit mailing list