[arm64] Negative immediates and lack of default Neon support

Torbjörn Granlund tg at gmplib.org
Tue Sep 23 22:20:58 UTC 2014


There seem to be another problem with using clang for arm64, see the
build failures at <https://gmplib.org/devel/tm-date.html>.

Apparently, clang disables Neon instruction assembly by default.  I
found that passing -mfpu=neon to the compiler helps.

This command line option is not recognised by gcc.  We therefore need to
split out clang handling in configure.ac.

A related problem is whether Neon is actually optional for armv8.  My
understanding is that it is not optional, but I am not sure about that.
If it is optional, then we need to move Neon assembly code into a
arm64/neon subdirectory, and adjust configure.ac accordingly.

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


More information about the gmp-bugs mailing list