Changeset 41dde6 in git for libpolys/misc/auxiliary.h
- Timestamp:
- Apr 19, 2011, 3:16:16 PM (12 years ago)
- Branches:
- (u'spielwiese', '91e5db82acc17434e4062bcfa44e6efa7d41fd30')
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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 /*******************************************************************
Note: See TracChangeset
for help on using the changeset viewer.