ARM Cortex-A7 feature misdetection

Niels Möller nisse at lysator.liu.se
Mon Feb 5 08:16:08 UTC 2018


Jeffrey Walton <noloader at gmail.com> writes:

> I believe ARM AS and LD are not like i386/x86_64 tools. You must
> explicitly enable the ISA, or it is not available (like shown below).

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.

Regards,
/Niels

-- 
Niels Möller. PGP-encrypted email is preferred. Keyid 368C6677.
Internet email is subject to wholesale government surveillance.


More information about the gmp-bugs mailing list