Skip to content

Commit

Permalink
AVX2を有効化
Browse files Browse the repository at this point in the history
  • Loading branch information
tttak committed Apr 25, 2020
1 parent 72c7254 commit 7942acc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/YaneuraOu/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7942acc

Please sign in to comment.