From d69acc942676c7cbad1babb3ef91cce8d9d88940 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20=C4=8Cert=C3=ADk?= Date: Tue, 2 Feb 2021 16:18:42 -0700 Subject: [PATCH] Use -march=native with g++ On my computer the Middle-Medium strong solver test gets faster from 3.43ms to 3.20ms on average time with gcc 9.3.0 in Ubuntu 18.04 on Intel(R) Xeon(R) CPU E3-1505M v6 @ 3.00GHz. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 55ad168..df53247 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ CXX=g++ -CXXFLAGS=--std=c++11 -W -Wall -O3 -DNDEBUG +CXXFLAGS=--std=c++11 -W -Wall -O3 -march=native -DNDEBUG SRCS=Solver.cpp OBJS=$(subst .cpp,.o,$(SRCS))