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

mercurial at gmplib.org mercurial at gmplib.org
Fri Jun 2 11:02:23 UTC 2017


details:   /var/hg/gmp/rev/a7fb5102f538
changeset: 17419:a7fb5102f538
user:      Torbjorn Granlund <tg at gmplib.org>
date:      Fri Jun 02 13:01:34 2017 +0200
description:
(DEF_OBJECT): Fix quoting (amends recent change).
(JUMPTABSECT): Get rid of spurious "w".

details:   /var/hg/gmp/rev/616afdb45cb6
changeset: 17420:616afdb45cb6
user:      Torbjorn Granlund <tg at gmplib.org>
date:      Fri Jun 02 13:02:20 2017 +0200
description:
ChangeLog

diffstat:

 ChangeLog                 |  31 +++++++++++++++++++++++++++++++
 mpn/x86_64/x86_64-defs.m4 |   4 ++--
 2 files changed, 33 insertions(+), 2 deletions(-)

diffs (65 lines):

diff -r ac7bbeaac7b2 -r 616afdb45cb6 ChangeLog
--- a/ChangeLog	Fri Jun 02 12:18:50 2017 +0200
+++ b/ChangeLog	Fri Jun 02 13:02:20 2017 +0200
@@ -1,9 +1,40 @@
+2017-06-02  Torbjörn Granlund  <tg at gmplib.org>
+
+	* mpn/x86_64/x86_64-defs.m4 (DEF_OBJECT): Fix quoting (amends recent
+	change).
+	(JUMPTABSECT): Get rid of spurious "w".
+
 2017-06-02  Marc Glisse  <marc.glisse at inria.fr>
 
 	* gmpxx.h (mpf_class::operator bool): Use mpf_sgn to access _mp_size.
 
+2017-06-02  Torbjörn Granlund  <tg at gmplib.org>
+
+	* mpn/x86_64/bd1/popcount.asm: Use both SSE and XOP trickery, and
+	plain popcnt insn.
+	* mpn/x86_64/bd1/hamdist.asm: Likewise.
+
+2017-06-01  Torbjörn Granlund  <tg at gmplib.org>
+
+	* mpn/x86_64/x86_64-defs.m4 (DEF_OBJECT): Allow 3rd argument defining
+	section, while making alignment argument non-optional.
+
+	* mpn/x86_64/core2/popcount.asm: Use 3-operand DEF_OBJECT.
+	* mpn/x86_64/core2/hamdist.asm: Likewise.
+	* mpn/x86_64/bd1/popcount.asm: Likewise.
+	* mpn/x86_64/bd1/hamdist.asm: Likewise.
+
+	* configure.ac (GMP_AVX_NOT_REALLY_AVAILABLE): New m4 define.
+	* mpn/x86_64/bd1/popcount.asm: Use GMP_AVX_NOT_REALLY_AVAILABLE.
+	* mpn/x86_64/bd1/hamdist.asm: Likewise.
+
+	* mpn/x86_64/silvermont/popcount.asm: Reinstate, grabbing nehalem code.
+	* mpn/x86_64/silvermont/hamdist.asm: Replace with grabber.
+
 2017-05-31  Torbjörn Granlund  <tg at gmplib.org>
 
+	* mpn/x86_64/silvermont/popcount.asm: Remove.
+
 	* mpn/x86_64/core2/logops_n.asm: New file.
 
 2017-05-30  Torbjörn Granlund  <tg at gmplib.org>
diff -r ac7bbeaac7b2 -r 616afdb45cb6 mpn/x86_64/x86_64-defs.m4
--- a/mpn/x86_64/x86_64-defs.m4	Fri Jun 02 12:18:50 2017 +0200
+++ b/mpn/x86_64/x86_64-defs.m4	Fri Jun 02 13:02:20 2017 +0200
@@ -146,7 +146,7 @@
 
 define(`DEF_OBJECT',
 m4_assert_numargs_range(2,3)
-`	ifelse($#,3,$3,`RODATA')
+`	ifelse($#,3,`$3',`RODATA')
 	ALIGN($2)
 $1:
 ')
@@ -201,7 +201,7 @@
 )')
 
 
-define(`JUMPTABSECT', `.section	.data.rel.ro.local,"aw", at progbits')
+define(`JUMPTABSECT', `.section	.data.rel.ro.local,"a", at progbits')
 
 
 dnl  Usage: JMPENT(targlabel,tablabel)


More information about the gmp-commit mailing list