On Sat, Jan 12, 2019 at 11:47 AM Niels Möller nisse@lysator.liu.se wrote:
Nikos Mavrogiannopoulos nmav@redhat.com writes:
I attach a patch which moves everything to the latest images used by gnutls (i.e., in addition to your patch, it also moves the x86 builds to debian).
Merged now. And I've deleted eratosthens.c. We'll see how to deal with the static analalyzer's remaining complaints on eccdata.c.
I'm also considering adding a few more configurations to the ci, including "CC=gcc -std=c89", CPPFLAGS=-DNODEBUG and --disable-assembler. Anything I have to keep in mind (e.g., limits on builder resources?)
One more to consider... -march=native.
I don't use it often, but I use it frequently on AMD cpu's and ARM devices when GCC supports it.
AMD benefits because of the XOP rotates. On my Bulldozer test machine ChaCha8 goes from 1.7 GB/s to 2.5 GB/s.
ARM devices always need help, so I try to build for the specific board I am testing. Old GCC does not respond to -march=native on ARM so I end up doing things like exporting CFLAGS and CXXFLAGS with "-march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=hard". Otherwise the compilers don't use NEON which is available on the dev boards.
Jeff