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

mercurial at gmplib.org mercurial at gmplib.org
Tue May 12 19:43:31 UTC 2015


details:   /var/hg/gmp/rev/cfbd9f454798
changeset: 16621:cfbd9f454798
user:      Felix Janda  <felix.janda at posteo.de>
date:      Tue May 12 21:43:13 2015 +0200
description:
(LEA): Adopt to new ABI.

details:   /var/hg/gmp/rev/f904b57a39d8
changeset: 16622:f904b57a39d8
user:      Torbjorn Granlund <torbjorng at google.com>
date:      Tue May 12 21:43:24 2015 +0200
description:
ChangeLog

diffstat:

 ChangeLog            |  24 ++++++++++++++----------
 mpn/powerpc32/elf.m4 |   7 +++++--
 2 files changed, 19 insertions(+), 12 deletions(-)

diffs (104 lines):

diff -r 342c4df09416 -r f904b57a39d8 ChangeLog
--- a/ChangeLog	Tue May 12 19:27:20 2015 +0200
+++ b/ChangeLog	Tue May 12 21:43:24 2015 +0200
@@ -1,17 +1,21 @@
+2015-05-12  Felix Janda  <felix.janda at posteo.de>
+
+	* mpn/powerpc32/elf.m4 (LEA): Adopt to new ABI.
+
 2015-05-09 Marco Bodrato <bodrato at mail.dm.unipi.it>
 
 	* mpn/generic/invertappr.c: Reduce memory usage.
 	* gmp-impl.h (mpn_invertappr_itch): Update accordingly.
 
-2015-05-01    <torbjorng at google.com>
+2015-05-01  Torbjörn Granlund  <torbjorng at google.com>
 
 	* tune/tuneup.c (all): Make GCD tuning last since it is not robust.
 
-2015-04-27    <torbjorng at google.com>
+2015-04-27  Torbjörn Granlund  <torbjorng at google.com>
 
 	* mpn/x86_64/coreibwl/gmp-mparam.h: New file.
 
-2015-04-26    <torbjorng at google.com>
+2015-04-26  Torbjörn Granlund  <torbjorng at google.com>
 
 	* mpn/x86_64/coreibwl/mul_basecase.asm: New file.
 	* mpn/x86_64/coreibwl/sqr_basecase.asm: New file.
@@ -36,7 +40,7 @@
 	* mpn/generic/remove.c: Remove redundant #ifdef.
 	* mpn/generic/perfpow.c: Likewise.
 
-2015-04-21    <torbjorng at google.com>
+2015-04-21  Torbjörn Granlund  <torbjorng at google.com>
 
 	* printf/sprintffuns.c (gmp_sprintf_final): Remove extra parameters.
 
@@ -44,7 +48,7 @@
 	* mpn/powerpc64/mode64/rsh1aors_n.asm: Likewise.
 	* mpn/powerpc64/mode64/p6/aorsmul_1.asm: Likewise.
 
-2015-04-19    <torbjorng at google.com>
+2015-04-19  Torbjörn Granlund  <torbjorng at google.com>
 
 	* mpn/x86_64/x86_64-defs.m4 (oplist): Fix typo.
 	(mulx): Simplify.
@@ -55,7 +59,7 @@
 
 	* configure.ac (x86_64): Pass more exact Intel CPU options.
 
-2015-04-13    <torbjorng at google.com>
+2015-04-13  Torbjörn Granlund  <torbjorng at google.com>
 
 	* longlong.h (arm): Rewrite.  Support thumb2; use gcc builtins for
 	count_leading_zeros, use accurate code selection critera.
@@ -64,20 +68,20 @@
 
 	* configure.ac (x86_64): Extend noavx to ABI=64.
 
-2015-04-10    <torbjorng at google.com>
+2015-04-10  Torbjörn Granlund  <torbjorng at google.com>
 
 	* mpn/alpha/ev6/mod_1_4.asm: Use LDGP.
 
-2015-04-01    <torbjorng at google.com>
+2015-04-01  Torbjörn Granlund  <torbjorng at google.com>
 
 	* configure.ac (sparc): Don't use use -xO4, it miscompiles by design.
 
-2015-03-24    <torbjorng at google.com>
+2015-03-24  Torbjörn Granlund  <torbjorng at google.com>
 
 	* mpn/generic/mul_fft.c (mpn_fft_best_k): Don't make pointers `static'
 	just because they point to static (i.e., file-local) data.
 
-2015-03-15    <torbjorng at google.com>
+2015-03-15  Torbjörn Granlund  <torbjorng at google.com>
 
 	* acinclude.m4 (X86_64_PATTERN): Add CPU code names.
 
diff -r 342c4df09416 -r f904b57a39d8 mpn/powerpc32/elf.m4
--- a/mpn/powerpc32/elf.m4	Tue May 12 19:27:20 2015 +0200
+++ b/mpn/powerpc32/elf.m4	Tue May 12 21:43:24 2015 +0200
@@ -53,8 +53,10 @@
 m4_assert_numargs(2)
 `ifdef(`PIC',`
 	mflr	r0
-	bl	_GLOBAL_OFFSET_TABLE_ at local-4
-	mflr	$1
+	bcl	20, 31, 1f
+1:	mflr	$1
+	addis	$1, $1, (_GLOBAL_OFFSET_TABLE_-1b)@ha
+	addi	$1, $1, (_GLOBAL_OFFSET_TABLE_-1b)@l
 	mtlr	r0
 	lwz	$1, $2 at got($1)
 ',`
@@ -62,6 +64,7 @@
 	la	$1, $2 at l($1)
 ')')
 
+
 define(`LEAL',
 m4_assert_numargs(2)
 `LEA($1,$2)')


More information about the gmp-commit mailing list