Changeset 458174a in git for m4/cpu-check.m4
- Timestamp:
- May 2, 2018, 10:45:42 AM (6 years ago)
- Branches:
- (u'spielwiese', 'a719bcf0b8dbc648b128303a49777a094b57592c')
- Children:
- 0f987ab443ee33e628ea90f02a2fddfb9d8fa497
- Parents:
- 75def9c8a4972706cb710a11c07681ad43676aed2ba25ee7ea3c483c73847576db73cb6464bc67ba
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
m4/cpu-check.m4
r75def9 r458174a 49 49 50 50 AS_CASE([$host_cpu], 51 dnl the following settings seems to be better on itanium processors 52 [ia64*], [ 53 AC_DEFINE(HAVE_GENERIC_ADD,1,use branch for addition in Z/p otherwise it uses a generic add)], 51 54 dnl the following settings seems to be better on i386 and x86_64 processors 52 [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)], 53 dnl the following settings seems to be better on itanium processors 54 dnl AC_DEFINE(HAVE_MULT_MOD,1,) 55 [ia64*], [AC_DEFINE(HAVE_GENERIC_ADD,1,use branch for addition in Z/p otherwise it uses a generic add)], 55 dnl AC_DEFINE(HAVE_GENERIC_MULT,1,) 56 [i*86*|x86_64*], [ 57 AC_DEFINE(HAVE_GENERIC_ADD,1,use branch for addition in Z/p otherwise it uses a generic add) 58 AC_DEFINE(HAVE_GENERIC_MULT,1,multiplication is fast on the cpu: a*b is with mod otherwise using tables of logartihms) 59 ], 56 60 dnl the following settings seems to be better on sparc processors 57 61 [sparc*], [ 58 AC_DEFINE(HAVE_MULT_MOD,1,multiplication is fast on the cpu: a*b is with mod otherwise using tables of logartihms) 59 AC_DEFINE(HAVE_DIV_MOD,1,division using extend euclidian algorithm otherwise using tables of logartihms) 62 AC_DEFINE(HAVE_GENERIC_ADD,1,use branch for addition in Z/p otherwise it uses a generic add) 60 63 ], 61 64 dnl the following settings seems to be better on ppc processors 62 65 dnl testet on: ppc_Linux, 740/750 PowerMac G3, 512k L2 cache 63 [powerpc*| ppc*], [AC_DEFINE(HAVE_MULT_MOD,1,multiplication is fast on the cpu: a*b is with mod otherwise using tables of logartihms)],66 [powerpc*|yyppc*], [AC_DEFINE(HAVE_GENERIC_MULT,1,multiplication is fast on the cpu: a*b is with mod otherwise using tables of logartihms)], 64 67 [] 65 68 )
Note: See TracChangeset
for help on using the changeset viewer.