gmpbench: Ultra40 Solaris10 Studio11

Torbjorn Granlund tg-this-will-bounce-but-I-am-subscribed-to-the-list-honest at
Tue Apr 10 16:38:41 CEST 2007

nisse at (Niels Möller) writes:

  If longlong.h is used only internally by GMP, then it should be no
  problem to guard the inline assembly with a configure supplied
  rather than the compiler supplied
    #if defined (__GNUC__)
Yes, assuming 100% compatibility between the GCC-defined inline
assembly and the non-free compiler's version.  But that is hardly the

  What is the LONGLONG_STANDALONE define used for?

It allows GMP's version of longlong.h to be used with the same
interface as initially defined for longlong.h in GCC, not requiring
the support of separate (assembly) files.  GMP's longlong.h otherwise
requires some files from mpn/<machine> when compiled with certain
(typically non-free) compilers.


More information about the gmp-devel mailing list