-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PPC - remove -mlong-double-64 flag and use the default
- Loading branch information
Showing
11 changed files
with
16 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,13 @@ | ||
diff --git a/Makefile.x86_64 b/Makefile.x86_64 | ||
index f2de51e..e1c348a 100644 | ||
index f62ab9e..f23a65b 100644 | ||
--- a/Makefile.x86_64 | ||
+++ b/Makefile.x86_64 | ||
@@ -9,7 +9,7 @@ endif | ||
endif | ||
|
||
ifeq ($(CORE), SKYLAKEX) | ||
-ifndef DYNAMIC_ARCH | ||
+ifneq ($(DYNAMIC_ARCH), 1) | ||
ifndef NO_AVX512 | ||
CCOMMON_OPT += -march=skylake-avx512 | ||
FCOMMON_OPT += -march=skylake-avx512 | ||
@@ -28,7 +28,7 @@ endif | ||
endif | ||
|
||
ifeq ($(CORE), HASWELL) | ||
-ifndef DYNAMIC_ARCH | ||
+ifneq ($(DYNAMIC_ARCH), 1) | ||
ifndef NO_AVX2 | ||
ifeq ($(C_COMPILER), GCC) | ||
CCOMMON_OPT += -mavx2 | ||
ADD_CPUFLAGS = 1 | ||
else | ||
ifdef TARGET_CORE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
%if "%{?ppc64le_build_flags:set}" != "set" | ||
%define ppc64le_build_flags -mlong-double-64 -mcpu=power8 -mtune=power8 --param=l1-cache-size=64 --param=l1-cache-line-size=128 --param=l2-cache-size=512 | ||
%endif | ||
%if "%{?ppc64le_build_flags_no_longdouble:set}" != "set" | ||
%define ppc64le_build_flags_no_longdouble -mcpu=powerpc64le -mtune=power8 --param=l1-cache-size=64 --param=l1-cache-line-size=128 --param=l2-cache-size=512 | ||
%endif | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters