Changeset 458174a in git for m4/cpu-check.m4


Ignore:
Timestamp:
May 2, 2018, 10:45:42 AM (6 years ago)
Author:
Karim Abou Zeid <karim23697@…>
Branches:
(u'spielwiese', 'a719bcf0b8dbc648b128303a49777a094b57592c')
Children:
0f987ab443ee33e628ea90f02a2fddfb9d8fa497
Parents:
75def9c8a4972706cb710a11c07681ad43676aed2ba25ee7ea3c483c73847576db73cb6464bc67ba
Message:
Merge branch 'spielwiese' into stable
File:
1 edited

Legend:

Unmodified
Added
Removed
  • m4/cpu-check.m4

    r75def9 r458174a  
    4949
    5050AS_CASE([$host_cpu],
     51dnl 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)],
    5154dnl 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)],
     55dnl 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            ],
    5660dnl the following settings seems to be better on sparc processors
    5761  [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)
    6063            ],
    6164dnl the following settings seems to be better on ppc processors
    6265dnl 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)],
    6467  []
    6568)
Note: See TracChangeset for help on using the changeset viewer.