[Gmp-commit] /var/hg/gmp: Fix typo in last LEA change.

mercurial at gmplib.org mercurial at gmplib.org
Mon Dec 5 13:51:12 CET 2011


details:   /var/hg/gmp/rev/83b8e569e94a
changeset: 14522:83b8e569e94a
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Mon Dec 05 13:51:07 2011 +0100
description:
Fix typo in last LEA change.

diffstat:

 mpn/x86_64/darwin.m4      |  2 +-
 mpn/x86_64/x86_64-defs.m4 |  9 +++++++--
 2 files changed, 8 insertions(+), 3 deletions(-)

diffs (45 lines):

diff -r 1f4120094fa3 -r 83b8e569e94a mpn/x86_64/darwin.m4
--- a/mpn/x86_64/darwin.m4	Mon Dec 05 01:28:07 2011 +0100
+++ b/mpn/x86_64/darwin.m4	Mon Dec 05 13:51:07 2011 +0100
@@ -22,7 +22,7 @@
 ifdef(`PIC',
 	`lea	$1(%rip), $2'
 ,
-	`mov	`$'$1, $2')
+	`movabs	`$'$1, $2')
 ')
 
 dnl  Usage: CALL(funcname)
diff -r 1f4120094fa3 -r 83b8e569e94a mpn/x86_64/x86_64-defs.m4
--- a/mpn/x86_64/x86_64-defs.m4	Mon Dec 05 01:28:07 2011 +0100
+++ b/mpn/x86_64/x86_64-defs.m4	Mon Dec 05 13:51:07 2011 +0100
@@ -29,14 +29,19 @@
 define(CPUVEC_FUNCS_LIST,
 ``add_n',
 `addmul_1',
+`bdiv_dbm1c',
+`com',
 `copyd',
 `copyi',
 `divexact_1',
-`divexact_by3c',
 `divrem_1',
 `gcd_1',
 `lshift',
+`lshiftc',
 `mod_1',
+`mod_1_1p',
+`mod_1s_2p',
+`mod_1s_4p',
 `mod_34lsub1',
 `modexact_1c_odd',
 `mul_1',
@@ -112,7 +117,7 @@
 ifdef(`PIC',
 	`mov	$1 at GOTPCREL(%rip), $2'
 ,
-	`mov	`$'$1, $2')
+	`movabs	`$'$1, $2')
 ')
 
 


More information about the gmp-commit mailing list