Changeset 41dde6 in git for m4/cpu-check.m4
- 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
-
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.