Re: ARM Cortex-A7 feature misdetection

2018-02-07 Thread Jeffrey Walton
On Tue, Feb 6, 2018 at 2:33 PM, Torbjörn Granlund wrote: > Jeffrey Walton writes: > > > You should edit the .asm source files under mpn/arm/neon. Before m4 > > processing. > > There are at least two neon subdirs under mpn/arm. > > I see one file that

Re: ARM Cortex-A7 feature misdetection

2018-02-05 Thread Niels Möller
Jeffrey Walton 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

Re: ARM Cortex-A7 feature misdetection

2018-02-04 Thread Jeffrey Walton
On Sun, Feb 4, 2018 at 4:16 PM, Marc Glisse wrote: > On Sun, 4 Feb 2018, Jeffrey Walton wrote: > >> gcc -std=gnu99 -c -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. >> -DOPERATION_rshift -I/usr/local/include -DNDEBUG -march=native -fPIC >> -Wa,--noexecstack tmp-rshift.s

Re: ARM Cortex-A7 feature misdetection

2018-02-04 Thread Marc Glisse
On Sun, 4 Feb 2018, Jeffrey Walton wrote: gcc -std=gnu99 -c -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_rshift -I/usr/local/include -DNDEBUG -march=native -fPIC -Wa,--noexecstack tmp-rshift.s -fPIC -DPIC -o .libs/rshift.o and CC="gcc -std=gnu99" CFLAGS="-O2