Changeset 41dde6 in git
- Timestamp:
- Apr 19, 2011, 3:16:16 PM (12 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'cdfcdb8287f66bc6070028082cbbc6eff10e609b')
- Children:
- 72b8801dbb1081f0965bc77daff3ec9da62f800a
- Parents:
- aa450d0e542b7d92cb13033a49556c48bed0fa0b
- git-author:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-04-19 15:16:16+02:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:31:19+01:00
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
.gitignore
raa450d r41dde6 11 11 .libs 12 12 doc/ 13 m4/libtool.m4 14 m4/ltoptions.m4 15 m4/ltsugar.m4 16 m4/ltversion.m4 17 m4/lt~obsolete.m4 13 18 Singular/Singularg 14 19 Singular/mpsr_Tok.xx -
libpolys/configure.ac
raa450d r41dde6 3 3 AC_CONFIG_AUX_DIR([.]) 4 4 AC_CONFIG_SRCDIR([reporter/reporter.h]) 5 AC_CONFIG_HEADER([config.h ])5 AC_CONFIG_HEADER([config.h misc/auxiliary.h]) 6 6 AM_INIT_AUTOMAKE 7 8 # misc/auxiliary.h9 7 10 8 # Checks for programs. -
libpolys/misc/auxiliary.h
raa450d r41dde6 1 /* misc/auxiliary.h. Generated from auxiliary.h.in by configure. */ 1 2 /*****************************************************************************\ 2 3 * Computer Algebra System SINGULAR … … 19 20 20 21 // ----------------- which parts/extensions of Singular to build 22 #ifndef HAVE_RINGS 21 23 #define HAVE_RINGS 24 #endif 25 26 #ifndef HAVE_PLURAL 22 27 #define HAVE_PLURAL 28 #endif 23 29 24 30 // no factory yet... 31 // #ifndef HAVE_FACTORY 25 32 // #define HAVE_FACTORY 26 33 // #endif 27 34 28 35 // ---------------- end of parts/extensions 29 36 // ----------------- configure stuff 30 37 31 /*32 // CPU type: i[3456]86:33 #undef SI_CPU_I38634 // CPU type: sparc:35 #undef SI_CPU_SPARC36 // CPU type: ppc:37 #undef SI_CPU_PPC38 // CPU type: IA64:39 #undef SI_CPU_IA6440 // CPU type: x86_64:41 #undef SI_CPU_X86_6442 // Define sizeof(long)43 #define SIZEOF_LONG 444 */45 46 38 // TODO: the following should go to some config.h... no? 47 39 48 40 /* Define version as a string */ 41 #ifndef S_VERSION1 49 42 #define S_VERSION1 "spielwiese" 43 #endif 50 44 51 45 /* Absolute pathname of root directory of Singular source */ 46 #ifndef S_ROOT_DIR 52 47 #define S_ROOT_DIR "" 48 #endif 53 49 54 50 // ----------------- end of configure stuff … … 71 67 #endif 72 68 73 #define SIZEOF_LONG (LONG_BIT/CHAR_BIT)69 #define SIZEOF_LONG 8 74 70 // another option for SIZEOF_LONG: use omConfig included in <omalloc/omalloc.h>... 75 71 … … 132 128 // ---------------- defines which depend on the settings above 133 129 134 #if defined(SI_CPU_I386) || defined(SI_CPU_X86_64) 135 // the following settings seems to be better on i386 and x86_64 processors 136 // define if a*b is with mod instead of tables 137 #define HAVE_MULT_MOD 138 // #define HAVE_GENERIC_ADD 139 // #ifdef HAVE_MULT_MOD 140 // #define HAVE_DIV_MOD 141 // #endif 142 #elif defined(SI_CPU_IA64) 143 // the following settings seems to be better on itanium processors 144 // #define HAVE_MULT_MOD 145 #define HAVE_GENERIC_ADD 146 // #ifdef HAVE_MULT_MOD 147 // #define HAVE_DIV_MOD 148 // #endif 149 #elif defined(SI_CPU_SPARC) 150 // #define HAVE_GENERIC_ADD 151 #define HAVE_MULT_MOD 152 #ifdef HAVE_MULT_MOD 153 #define HAVE_DIV_MOD 154 #endif 155 #elif defined(SI_CPU_PPC) 156 // the following settings seems to be better on ppc processors 157 // testet on: ppc_Linux, 740/750 PowerMac G3, 512k L2 cache 158 #define HAVE_MULT_MOD 159 // #ifdef HAVE_MULT_MOD 160 // #define HAVE_DIV_MOD 161 // #endif 162 #endif 163 130 #ifndef HAVE_MULT_MOD 131 #define HAVE_MULT_MOD 1 132 #endif 133 134 #ifndef HAVE_DIV_MOD 135 /* #undef HAVE_DIV_MOD */ 136 #endif 137 138 #ifndef HAVE_GENERIC_ADD 139 /* #undef HAVE_GENERIC_ADD */ 140 #endif 164 141 165 142 /******************************************************************* -
m4/cpu-check.m4
raa450d r41dde6 7 7 AC_DEFUN([SING_CHECK_CPU], 8 8 [ 9 # Checks for library functions. 9 AC_CANONICAL_HOST 10 10 AC_MSG_CHECKING(CPU for singular) 11 11 … … 75 75 ac_cv_singuname="unknown" 76 76 fi 77 AC_DEFINE_UNQUOTED(S_UNAME, "$ac_cv_singuname", Singular's own uname\, believe it or not) 77 AC_DEFINE_UNQUOTED(S_UNAME, "$ac_cv_singuname", Singular\'s own uname\, believe it or not) 78 79 80 AS_CASE([$host_cpu], 81 dnl the following settings seems to be better on i386 and x86_64 processors 82 [i*86*|x86_64*], [AC_DEFINE(HAVE_MULT_MOD,1,multiplication is fast on the cpu: a*b is with mod otherwise using tables of logartihms)], 83 dnl the following settings seems to be better on itanium processors 84 dnl AC_DEFINE(HAVE_MULT_MOD,1,) 85 [ia64*], [AC_DEFINE(HAVE_GENERIC_ADD,1,use branch for addition in Z/p otherwise it uses a generic add)], 86 dnl the following settings seems to be better on sparc processors 87 [sparc*], [ 88 AC_DEFINE(HAVE_MULT_MOD,1,multiplication is fast on the cpu: a*b is with mod otherwise using tables of logartihms) 89 AC_DEFINE(HAVE_DIV_MOD,1,division using extend euclidian algorithm otherwise using tables of logartihms) 90 ], 91 dnl the following settings seems to be better on ppc processors 92 dnl testet on: ppc_Linux, 740/750 PowerMac G3, 512k L2 cache 93 [powerpc*|ppc*], [AC_DEFINE(HAVE_MULT_MOD,1,multiplication is fast on the cpu: a*b is with mod otherwise using tables of logartihms)], 94 [] 95 ) 78 96 79 97 ])
Note: See TracChangeset
for help on using the changeset viewer.