Add -march=skylake-avx512 to flags if target is skylake x

This commit is contained in:
Martin Kroeker 2018-06-20 15:16:19 +02:00 committed by GitHub
parent 26e1cfb653
commit 0c5b7b400b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -8,6 +8,13 @@ endif
endif
endif
ifeq ($(CORE), SKYLAKEX)
ifndef NO_AVX512
CCOMMON_OPT += -march=skylake-avx512
FCOMMON_OPT += -march=skylake-avx512
endif
endif
ifeq ($(OSNAME), Interix)
ARFLAGS = -m x64
endif