arm "neon"

Torbjorn Granlund tg at gmplib.org
Mon Jan 14 21:32:00 CET 2013


David Miller <davem at davemloft.net> writes:

  From: Michael Mohr <mohr at linuxcertified.com>
  Date: Mon, 14 Jan 2013 12:10:30 -0800
  
  > At least for Android this may not be an option.  It provides a
  > "cpufeatures" library for use at runtime.  I suggest using a configure
  > option which explicitly enables this, and disable it otherwise.
  
  I really think at some point soon GMP should use IFUNC relocations,
  rather than be required to be built for a specific cpu target to get
  the most optimal implementations of all of these routines.
  
  To me this seems more important than any particular cpu specific
  optimization at this point.

We're going down that path, probably.  I don't know what IFUNC does, but
we have our fat mechanism which will probably be the default in the
future.  It should be possible to build for a subset of CPUs, and if the
subset contains just one CPU, a plain "thin" build might be done.

-- 
Torbjörn


More information about the gmp-devel mailing list