[Gmp-commit] /var/hg/gmp: Suppress mul_2/addmul_2 for Zen.

mercurial at gmplib.org mercurial at gmplib.org
Sun Apr 16 01:43:14 UTC 2017


details:   /var/hg/gmp/rev/1b52c37e2d53
changeset: 17346:1b52c37e2d53
user:      Torbjorn Granlund <tg at gmplib.org>
date:      Sun Apr 16 03:43:10 2017 +0200
description:
Suppress mul_2/addmul_2 for Zen.

diffstat:

 mpn/x86_64/zen/gmp-mparam.h |  4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diffs (14 lines):

diff -r a13428bd4fd3 -r 1b52c37e2d53 mpn/x86_64/zen/gmp-mparam.h
--- a/mpn/x86_64/zen/gmp-mparam.h	Sat Apr 15 22:56:07 2017 +0200
+++ b/mpn/x86_64/zen/gmp-mparam.h	Sun Apr 16 03:43:10 2017 +0200
@@ -31,6 +31,10 @@
 #define GMP_LIMB_BITS 64
 #define GMP_LIMB_BYTES 8
 
+/* Disable use of slow functions.  FIXME: We should disable lib inclusion.  */
+#undef HAVE_NATIVE_mpn_mul_2
+#undef HAVE_NATIVE_mpn_addmul_2
+
 /* 3500 MHz Zen */
 /* FFT tuning limit = 10 M */
 /* Generated by tuneup.c, 2017-04-15, gcc 4.9 */


More information about the gmp-commit mailing list