From f5096f8d4415226870ffb28b8eef93c9b2cc3588 Mon Sep 17 00:00:00 2001 From: Pavel Demin Date: Sat, 27 Jun 2020 18:43:09 +0000 Subject: [PATCH] add optimization options to CFLAGS and FFLAGS in Makefile --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6bad5b0..40d1ea1 100644 --- a/Makefile +++ b/Makefile @@ -12,8 +12,8 @@ FC = gfortran LD = gfortran RM = rm -f -CFLAGS = -Wall -O3 -funroll-loops -FFLAGS = -Wall -O3 -funroll-loops +CFLAGS = -Wall -O3 -funroll-loops -march=armv7-a -mtune=cortex-a9 -mfpu=neon -mfloat-abi=hard -ffast-math -fsingle-precision-constant -mvectorize-with-neon-quad +FFLAGS = -Wall -O3 -funroll-loops -march=armv7-a -mtune=cortex-a9 -mfpu=neon -mfloat-abi=hard -ffast-math -fsingle-precision-constant -mvectorize-with-neon-quad all: $(TARGET)