Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/lgpl3/gmp/lib/libgmp/arch/ia64 Build glue for ia64
details: https://anonhg.NetBSD.org/src/rev/c04aa46397ef
branches: trunk
changeset: 783512:c04aa46397ef
user: martin <martin%NetBSD.org@localhost>
date: Wed Dec 26 19:39:26 2012 +0000
description:
Build glue for ia64
diffstat:
external/lgpl3/gmp/lib/libgmp/arch/ia64/Makefile.inc | 174 +
external/lgpl3/gmp/lib/libgmp/arch/ia64/config.h | 587 ++++
external/lgpl3/gmp/lib/libgmp/arch/ia64/config.m4 | 36 +
external/lgpl3/gmp/lib/libgmp/arch/ia64/gmp-mparam.h | 207 +
external/lgpl3/gmp/lib/libgmp/arch/ia64/gmp.h | 2283 ++++++++++++++++++
external/lgpl3/gmp/lib/libgmp/arch/ia64/mp.h | 164 +
6 files changed, 3451 insertions(+), 0 deletions(-)
diffs (truncated from 3475 to 300 lines):
diff -r 95721ff80010 -r c04aa46397ef external/lgpl3/gmp/lib/libgmp/arch/ia64/Makefile.inc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/lgpl3/gmp/lib/libgmp/arch/ia64/Makefile.inc Wed Dec 26 19:39:26 2012 +0000
@@ -0,0 +1,174 @@
+# $NetBSD: Makefile.inc,v 1.1 2012/12/26 19:39:26 martin Exp $
+
+SRCS+= \
+ trialdiv.c \
+ powlo.c \
+ redc_2.c \
+ bdiv_q_1.c \
+ toom62_mul.c \
+ gcd_lehmer.c \
+ mod_1_3.c \
+ sub.c \
+ bdiv_qr.c \
+ sbpi1_divappr_q.c \
+ sqrmod_bnm1.c \
+ toom6_sqr.c \
+ toom44_mul.c \
+ hgcd.c \
+ tdiv_qr.c \
+ gcd_subdiv_step.c \
+ nussbaumer_mul.c \
+ mod_1_4.c \
+ sbpi1_bdiv_q.c \
+ toom43_mul.c \
+ gcdext.c \
+ mu_bdiv_qr.c \
+ sbpi1_div_qr.c \
+ toom_interpolate_6pts.c \
+ toom6h_mul.c \
+ toom52_mul.c \
+ toom42_mul.c \
+ gcdext_lehmer.c \
+ pow_1.c \
+ lshiftc.c \
+ sub_1.c \
+ zero.c \
+ dcpi1_bdiv_qr.c \
+ sbpi1_bdiv_qr.c \
+ matrix22_mul.c \
+ perfpow.c \
+ random2.c \
+ dump.c \
+ mod_34lsub1.c \
+ dcpi1_divappr_q.c \
+ invert.c \
+ toom_interpolate_8pts.c \
+ toom33_mul.c \
+ fib2_ui.c \
+ powm.c \
+ divexact.c \
+ toom_eval_pm2exp.c \
+ toom4_sqr.c \
+ toom32_mul.c \
+ get_d.c \
+ jacbase.c \
+ gcdext_subdiv_step.c \
+ gcdext_1.c \
+ mul_basecase.c \
+ add_1.c \
+ redc_1_sec.c \
+ mu_divappr_q.c \
+ toom_interpolate_12pts.c \
+ toom_interpolate_5pts.c \
+ toom3_sqr.c \
+ scan0.c \
+ set_str.c \
+ get_str.c \
+ mul_n.c \
+ pre_mod_1.c \
+ subcnd_n.c \
+ redc_n.c \
+ dcpi1_div_q.c \
+ sbpi1_div_q.c \
+ binvert.c \
+ toom_eval_pm2rexp.c \
+ toom_eval_pm1.c \
+ toom_couple_handling.c \
+ gcd.c \
+ perfsqr.c \
+ scan1.c \
+ mod_1.c \
+ divrem.c \
+ add.c \
+ remove.c \
+ toom_interpolate_7pts.c \
+ toom_eval_pm2.c \
+ toom8_sqr.c \
+ toom63_mul.c \
+ toom22_mul.c \
+ mullo_n.c \
+ hgcd2.c \
+ rootrem.c \
+ random.c \
+ mul.c \
+ bdiv_q.c \
+ mu_bdiv_q.c \
+ toom_eval_dgr3_pm1.c \
+ toom8h_mul.c \
+ mullo_basecase.c \
+ sqrtrem.c \
+ sqr_basecase.c \
+ powm_sec.c \
+ dcpi1_bdiv_q.c \
+ mu_div_q.c \
+ mu_div_qr.c \
+ invertappr.c \
+ toom_interpolate_16pts.c \
+ toom_eval_dgr3_pm2.c \
+ toom2_sqr.c \
+ mod_1_1.c \
+ divis.c \
+ diveby3.c \
+ com.c \
+ redc_1.c \
+ dcpi1_div_qr.c \
+ mulmod_bnm1.c \
+ toom53_mul.c \
+ div_q.c \
+ cmp.c \
+ sqr.c \
+ mul_fft.c \
+ mod_1_2.c \
+ neg.c \
+
+
+C_SRCS_LIST= \
+
+
+ASM_SRCS_LIST= \
+ ior_n.asm mpn/ia64/logops_n.asm \
+ nand_n.asm mpn/ia64/logops_n.asm \
+ addmul_1.asm mpn/ia64/addmul_1.asm \
+ addlsh1_n.asm mpn/ia64/aorslsh1_n.asm \
+ iorn_n.asm mpn/ia64/logops_n.asm \
+ gcd_1.asm mpn/ia64/gcd_1.asm \
+ popcount.asm mpn/ia64/popcount.asm \
+ mul_2.asm mpn/ia64/mul_2.asm \
+ copyd.asm mpn/ia64/copyd.asm \
+ xor_n.asm mpn/ia64/logops_n.asm \
+ sqr_diagonal.asm mpn/ia64/sqr_diagonal.asm \
+ andn_n.asm mpn/ia64/logops_n.asm \
+ submul_1.asm mpn/ia64/submul_1.asm \
+ mul_1.asm mpn/ia64/mul_1.asm \
+ sublsh1_n.asm mpn/ia64/aorslsh1_n.asm \
+ copyi.asm mpn/ia64/copyi.asm \
+ and_n.asm mpn/ia64/logops_n.asm \
+ hamdist.asm mpn/ia64/hamdist.asm \
+ sub_n.asm mpn/ia64/aors_n.asm \
+ nior_n.asm mpn/ia64/logops_n.asm \
+ add_n.asm mpn/ia64/aors_n.asm \
+ invert_limb.asm mpn/ia64/invert_limb.asm \
+ bdiv_dbm1c.asm mpn/ia64/bdiv_dbm1c.asm \
+ rshift.asm mpn/ia64/lorrshift.asm \
+ rsh1sub_n.asm mpn/ia64/rsh1aors_n.asm \
+ xnor_n.asm mpn/ia64/logops_n.asm \
+ divrem_2.asm mpn/ia64/divrem_2.asm \
+ rsh1add_n.asm mpn/ia64/rsh1aors_n.asm \
+ dive_1.asm mpn/ia64/dive_1.asm \
+ lshift.asm mpn/ia64/lorrshift.asm \
+ addmul_2.asm mpn/ia64/addmul_2.asm \
+ mode1o.asm mpn/ia64/mode1o.asm \
+ divrem_1.asm mpn/ia64/divrem_1.asm \
+
+
+gen-trialdivtab: gen-trialdivtab.c
+ ${HOST_CC} -o ${.OBJDIR}/gen-trialdivtab ${.ALLSRC} -lm
+
+# XXX
+GMP_LIMB_BITS=64
+
+trialdiv.c: trialdivtab.h
+trialdivtab.h: gen-trialdivtab
+ ${.OBJDIR}/gen-trialdivtab $(GMP_LIMB_BITS) 8000 > ${.OBJDIR}/trialdivtab.h
+
+CLEANFILES+= trialdivtab.h
diff -r 95721ff80010 -r c04aa46397ef external/lgpl3/gmp/lib/libgmp/arch/ia64/config.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/lgpl3/gmp/lib/libgmp/arch/ia64/config.h Wed Dec 26 19:39:26 2012 +0000
@@ -0,0 +1,587 @@
+/* config.h. Generated from config.in by configure. */
+/* config.in. Generated from configure.in by autoheader. */
+
+/*
+
+Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
+2007, 2008, 2009, 2010 Free Software Foundation, Inc.
+
+This file is part of the GNU MP Library.
+
+The GNU MP Library is free software; you can redistribute it and/or modify
+it under the terms of the GNU Lesser General Public License as published
+by the Free Software Foundation; either version 3 of the License, or (at
+your option) any later version.
+
+The GNU MP Library is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+License for more details.
+
+You should have received a copy of the GNU Lesser General Public License
+along with the GNU MP Library. If not, see http://www.gnu.org/licenses/.
+*/
+
+/* Define if building universal (internal helper macro) */
+/* #undef AC_APPLE_UNIVERSAL_BUILD */
+
+/* The gmp-mparam.h file (a string) the tune program should suggest updating.
+ */
+#define GMP_MPARAM_H_SUGGEST "./mpn/ia64/gmp-mparam.h"
+
+/* Define to 1 if you have the `alarm' function. */
+#define HAVE_ALARM 1
+
+/* Define to 1 if alloca() works (via gmp-impl.h). */
+#define HAVE_ALLOCA 1
+
+/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
+ */
+#define HAVE_ALLOCA_H 1
+
+/* Define to 1 if the compiler accepts gcc style __attribute__ ((const)) */
+#define HAVE_ATTRIBUTE_CONST 1
+
+/* Define to 1 if the compiler accepts gcc style __attribute__ ((malloc)) */
+#define HAVE_ATTRIBUTE_MALLOC 1
+
+/* Define to 1 if the compiler accepts gcc style __attribute__ ((mode (XX)))
+ */
+#define HAVE_ATTRIBUTE_MODE 1
+
+/* Define to 1 if the compiler accepts gcc style __attribute__ ((noreturn)) */
+#define HAVE_ATTRIBUTE_NORETURN 1
+
+/* Define to 1 if you have the `attr_get' function. */
+/* #undef HAVE_ATTR_GET */
+
+/* Define to 1 if tests/libtests has calling conventions checking for the CPU
+ */
+/* #undef HAVE_CALLING_CONVENTIONS */
+
+/* Define to 1 if you have the `clock' function. */
+#define HAVE_CLOCK 1
+
+/* Define to 1 if you have the `clock_gettime' function. */
+/* #undef HAVE_CLOCK_GETTIME */
+
+/* Define to 1 if you have the `cputime' function. */
+/* #undef HAVE_CPUTIME */
+
+/* Define to 1 if you have the declaration of `fgetc', and to 0 if you don't.
+ */
+#define HAVE_DECL_FGETC 1
+
+/* Define to 1 if you have the declaration of `fscanf', and to 0 if you don't.
+ */
+#define HAVE_DECL_FSCANF 1
+
+/* Define to 1 if you have the declaration of `optarg', and to 0 if you don't.
+ */
+#define HAVE_DECL_OPTARG 1
+
+/* Define to 1 if you have the declaration of `sys_errlist', and to 0 if you
+ don't. */
+#define HAVE_DECL_SYS_ERRLIST 1
+
+/* Define to 1 if you have the declaration of `sys_nerr', and to 0 if you
+ don't. */
+#define HAVE_DECL_SYS_NERR 1
+
+/* Define to 1 if you have the declaration of `ungetc', and to 0 if you don't.
+ */
+#define HAVE_DECL_UNGETC 1
+
+/* Define to 1 if you have the declaration of `vfprintf', and to 0 if you
+ don't. */
+#define HAVE_DECL_VFPRINTF 1
+
+/* Define to 1 if you have the <dlfcn.h> header file. */
+#define HAVE_DLFCN_H 1
+
+/* Define one of the following to 1 for the format of a `double'.
+ If your format is not among these choices, or you don't know what it is,
+ then leave all undefined.
+ IEEE_LITTLE_SWAPPED means little endian, but with the two 4-byte halves
+ swapped, as used by ARM CPUs in little endian mode. */
+/* #undef HAVE_DOUBLE_IEEE_BIG_ENDIAN */
+#define HAVE_DOUBLE_IEEE_LITTLE_ENDIAN 1
+/* #undef HAVE_DOUBLE_IEEE_LITTLE_SWAPPED */
+/* #undef HAVE_DOUBLE_VAX_D */
+/* #undef HAVE_DOUBLE_VAX_G */
+/* #undef HAVE_DOUBLE_CRAY_CFP */
+
+/* Define to 1 if you have the <fcntl.h> header file. */
+#define HAVE_FCNTL_H 1
+
+/* Define to 1 if you have the <float.h> header file. */
+#define HAVE_FLOAT_H 1
Home |
Main Index |
Thread Index |
Old Index