Small operands gcd improvements

Torbjörn Granlund tg at gmplib.org
Thu Aug 8 19:47:52 UTC 2019


nisse at lysator.liu.se (Niels Möller) writes:

  To not get multiple definitions in the case that there's some gcd_1.asm
  with an mpn_gcd_11 entry point, but no gcd_11.asm. If we don't organize
  asm code that way, the #if is useless and can be removed.

I believe configure handles that too.

  > I would assume configure does its magic for this file just as with any
  > other file, i.e., exclude it when there is a definition earlier in the
  > mpn path.

  But the definitions of HAVE_NATIVE_* aren't determined just by the names
  of selected files, but on the EPILOGUE lines therein. If I've understood
  it correctly.

Yes.

-- 
Torbjörn
Please encrypt, key id 0xC8601622


More information about the gmp-devel mailing list