Add -march=skylake-avx512 to SkylakeX part of DYNAMIC_ARCH builds
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>
Tue, 11 Dec 2018 20:10:38 +0000 (21:10 +0100)
committerGitHub <noreply@github.com>
Tue, 11 Dec 2018 20:10:38 +0000 (21:10 +0100)
kernel/Makefile

index 923ffc3..6e178f8 100644 (file)
@@ -6,7 +6,11 @@ TOPDIR = ..
 include $(TOPDIR)/Makefile.system
 
 ifdef TARGET_CORE
+ifeq ($(TARGET_CORE), SKYLAKEX)
+override CFLAGS += -DBUILD_KERNEL -DTABLE_NAME=gotoblas_$(TARGET_CORE) -march=skylake-avx512
+else
 override CFLAGS += -DBUILD_KERNEL -DTABLE_NAME=gotoblas_$(TARGET_CORE)
+endif
 BUILD_KERNEL = 1
 KDIR =
 TSUFFIX = _$(TARGET_CORE)