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

mercurial at gmplib.org mercurial at gmplib.org
Tue Mar 12 02:53:06 CET 2013


details:   /var/hg/gmp/rev/5dc302179d20
changeset: 15564:5dc302179d20
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Tue Mar 12 02:50:55 2013 +0100
description:
Add "missing" to extra_functions for coreibwl.

details:   /var/hg/gmp/rev/a3c4b3b43f3b
changeset: 15565:a3c4b3b43f3b
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Tue Mar 12 02:51:26 2013 +0100
description:
Remove a redundant PROTECT.

details:   /var/hg/gmp/rev/16aa4a22dcfe
changeset: 15566:16aa4a22dcfe
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Tue Mar 12 02:52:43 2013 +0100
description:
Use effective path to missing-call.m4.

details:   /var/hg/gmp/rev/beeecff2aba1
changeset: 15567:beeecff2aba1
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Tue Mar 12 02:53:01 2013 +0100
description:
ChangeLog

diffstat:

 ChangeLog                        |  7 +++++++
 configure.ac                     |  3 ++-
 mpn/x86_64/mulx/adx/addmul_1.asm |  2 +-
 mpn/x86_64/mulx/adx/missing.asm  |  1 -
 4 files changed, 10 insertions(+), 3 deletions(-)

diffs (57 lines):

diff -r e575288f3069 -r beeecff2aba1 ChangeLog
--- a/ChangeLog	Tue Mar 12 00:13:20 2013 +0100
+++ b/ChangeLog	Tue Mar 12 02:53:01 2013 +0100
@@ -1,3 +1,10 @@
+2013-03-12  Torbjorn Granlund  <tege at gmplib.org>
+
+	* configure.ac: Add "missing" to extra_functions for coreibwl.
+
+	* mpn/x86_64/mulx/adx/addmul_1.asm: Simplify.  Make FAKE_MULXADX the
+	default awaiting proper qemu behaviour.
+
 2013-03-11  Torbjorn Granlund  <tege at gmplib.org>
 
 	* mpn/x86_64/aorscnd_n.asm: Read 32 bits for 'n' arguments on DOS64.
diff -r e575288f3069 -r beeecff2aba1 configure.ac
--- a/configure.ac	Tue Mar 12 00:13:20 2013 +0100
+++ b/configure.ac	Tue Mar 12 02:53:01 2013 +0100
@@ -1671,6 +1671,7 @@
 	gcc_cflags_arch="-march=corei7 -march=core2 -march=core2~-mno-sse2 -march=k8 -march=k8~-mno-sse2"
 	path="x86/coreisbr x86/p6/sse2 x86/p6/p3mmx x86/p6/mmx x86/p6 x86"
 	path_64="x86_64/mulx/adx x86_64/mulx x86_64/coreisbr x86_64/coreinhm x86_64/core2 x86_64"
+	extra_functions_64="missing"	     # FIXME: remove when qemu's adx flags handling works
 	;;
       atom)
 	gcc_cflags_cpu="-mtune=atom -mtune=pentium3"
@@ -1713,7 +1714,7 @@
 
 	abilist="64 x32 32"
 	if test "$enable_assembly" = "yes" ; then
-	    extra_functions_64="invert_limb_table"
+	    extra_functions_64="$extra_functions_64 invert_limb_table"
 	    extra_functions_x32=$extra_functions_64
 	fi
 
diff -r e575288f3069 -r beeecff2aba1 mpn/x86_64/mulx/adx/addmul_1.asm
--- a/mpn/x86_64/mulx/adx/addmul_1.asm	Tue Mar 12 00:13:20 2013 +0100
+++ b/mpn/x86_64/mulx/adx/addmul_1.asm	Tue Mar 12 02:53:01 2013 +0100
@@ -49,7 +49,7 @@
 
 C Testing mechanism for running this on older AMD64 processrs
 ifelse(FAKE_MULXADX,1,`
-  include(`missing-call.m4')
+  include(CONFIG_TOP_SRCDIR`/mpn/x86_64/mulx/adx/missing-call.m4')
 ',`
   define(`adox',	``adox'	$1, $2')
   define(`adcx',	``adcx'	$1, $2')
diff -r e575288f3069 -r beeecff2aba1 mpn/x86_64/mulx/adx/missing.asm
--- a/mpn/x86_64/mulx/adx/missing.asm	Tue Mar 12 00:13:20 2013 +0100
+++ b/mpn/x86_64/mulx/adx/missing.asm	Tue Mar 12 02:53:01 2013 +0100
@@ -30,7 +30,6 @@
 C words on the stack.  This calling convention means that we need to move the
 C return address up.
 C 
-PROTECT(__gmp_mulx)
 PROLOGUE(__gmp_mulx)
 	lea	-8(%rsp), %rsp
 	push	%rax


More information about the gmp-commit mailing list