From 7942acc8821b97463320e5c74e7efd99370675ad Mon Sep 17 00:00:00 2001 From: tttak Date: Sun, 26 Apr 2020 02:09:13 +0900 Subject: [PATCH] =?UTF-8?q?AVX2=E3=82=92=E6=9C=89=E5=8A=B9=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 5 +++-- src/YaneuraOu/config.h | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 6b67fb9..d6d19a0 100644 --- a/Makefile +++ b/Makefile @@ -2,13 +2,14 @@ # 1. General Compiler Settings # CXX = g++ +#CXX = clang++ #CXXFLAGS = -std=c++11 -Wall -Wextra -Wcast-qual -fno-exceptions -fno-rtti \ # -pedantic -Wno-long-long -msse4.2 -D__STDC_CONSTANT_MACROS -fopenmp -CXXFLAGS = -std=c++14 -Wall -Wextra -fno-exceptions -fno-rtti \ +CXXFLAGS = -std=c++17 -Wall -Wextra -fno-exceptions -fno-rtti \ -Wno-long-long -msse4.2 -D__STDC_CONSTANT_MACROS -fopenmp \ -Wno-unused-parameter -Wno-enum-compare -Wno-unused-function \ -# -mbmi -mbmi2 -mavx2 -march=corei7-avx + -mbmi -mbmi2 -mavx2 -march=corei7-avx INCLUDES = LIBRARIES = -lpthread diff --git a/src/YaneuraOu/config.h b/src/YaneuraOu/config.h index f80ab8e..16c9d74 100644 --- a/src/YaneuraOu/config.h +++ b/src/YaneuraOu/config.h @@ -13,7 +13,7 @@ #define USE_FV38 #define PRETTY_JP -//#define USE_AVX2 +#define USE_AVX2 #define USE_SSE42 #define USE_SSE41 #define USE_SSE2