From cf3d45016ad9638ee434357058fa9bf55aff1249 Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Mon, 22 Aug 2016 16:27:46 +0100 Subject: [PATCH] wmake/rules/linux64.*KNL: Improved optimization option for Intel MIC (Knights Landing) processor Patch contributed by Paul Edwards, Intel. --- wmake/rules/linux64GccKNL/c++ | 2 +- wmake/rules/linux64IccKNL/c++ | 2 +- wmake/rules/linux64IccKNL/c++Opt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wmake/rules/linux64GccKNL/c++ b/wmake/rules/linux64GccKNL/c++ index a16731b74..22537b048 100644 --- a/wmake/rules/linux64GccKNL/c++ +++ b/wmake/rules/linux64GccKNL/c++ @@ -5,7 +5,7 @@ c++WARN = -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-para # Suppress some warnings for flex++ and CGAL c++LESSWARN = -Wno-old-style-cast -Wno-unused-local-typedefs -Wno-array-bounds -CC = g++ -std=c++11 -m64 -march=knl -DvectorMachine -DKNL +CC = g++ -std=c++11 -m64 -march=knl -DvectorMachine include $(DEFAULT_RULES)/c++$(WM_COMPILE_OPTION) diff --git a/wmake/rules/linux64IccKNL/c++ b/wmake/rules/linux64IccKNL/c++ index 0a2eb8391..377d60238 100644 --- a/wmake/rules/linux64IccKNL/c++ +++ b/wmake/rules/linux64IccKNL/c++ @@ -6,7 +6,7 @@ c++WARN = -Wall -Wextra -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invali # Suppress some warnings for flex++ and CGAL c++LESSWARN = -diag-disable 1224,2026,2305 -CC = icpc -std=c++11 -fp-trap=common -fp-model precise -fp-speculation=safe -DKNL +CC = icpc -std=c++11 -xmic-avx512 -DvectorMachine -fp-trap=common -fp-model precise -fp-speculation=safe include $(DEFAULT_RULES)/c++$(WM_COMPILE_OPTION) diff --git a/wmake/rules/linux64IccKNL/c++Opt b/wmake/rules/linux64IccKNL/c++Opt index 6f6344805..2aedabd62 100644 --- a/wmake/rules/linux64IccKNL/c++Opt +++ b/wmake/rules/linux64IccKNL/c++Opt @@ -1,2 +1,2 @@ c++DBUG = -c++OPT = -O3 -DvectorMachine -xmic-avx512 +c++OPT = -O3