ARM Cortex-A7 feature misdetection

Torbjörn Granlund tg at gmplib.org
Mon Feb 5 20:56:28 UTC 2018


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

  What I've done in other neon assembly files is to add a
  
    .fpu neon
  
  pseudo-op early in the file. Seems less brittle to me than passing the
  corresponding command line options, in particular for fat builds (i.e.,
  some files with neon assembly, used at runtime only after some check of
  available instructions), where one might not want the C compiler to emit
  any neon instructions.
  
If we add support for fat arm builds, then that's what we'll need to do!

I don't know if it could cause some portability problems to add it.

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


More information about the gmp-bugs mailing list