diff options
author | Jack Lloyd <[email protected]> | 2020-11-10 06:53:28 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2020-11-10 06:53:28 -0500 |
commit | c177d8f225ebfc2123b6ca5c0187a93e9f68b044 (patch) | |
tree | 636260fbe0f9e3457fc017e159a2d4ac6bae8620 | |
parent | 1e22b05488092722dee3d4830cf8f098a1378b73 (diff) | |
parent | 6e4d3ee91ab19e4ffe8856b8315640b5c93533e5 (diff) |
Merge GH #2481 Use -mcpu=power9 for DARN
Backport of #2480
-rw-r--r-- | src/build-data/arch/ppc64.txt | 1 | ||||
-rw-r--r-- | src/build-data/cc/clang.txt | 3 | ||||
-rw-r--r-- | src/build-data/cc/gcc.txt | 1 | ||||
-rw-r--r-- | src/lib/rng/processor_rng/info.txt | 4 |
4 files changed, 9 insertions, 0 deletions
diff --git a/src/build-data/arch/ppc64.txt b/src/build-data/arch/ppc64.txt index 57a363c04..4b871e85e 100644 --- a/src/build-data/arch/ppc64.txt +++ b/src/build-data/arch/ppc64.txt @@ -13,4 +13,5 @@ ppc64el <isa_extensions> altivec powercrypto +power9 </isa_extensions> diff --git a/src/build-data/cc/clang.txt b/src/build-data/cc/clang.txt index ab37b33d5..2d5bfcebb 100644 --- a/src/build-data/cc/clang.txt +++ b/src/build-data/cc/clang.txt @@ -58,6 +58,9 @@ rdseed -> "-mrdseed" sha -> "-msha" altivec -> "-maltivec" +ppc64:powercrypto -> "-mcrypto" +ppc64:power9 -> "-mcpu=power9" + arm64:armv8crypto -> "-march=armv8+crypto" arm32:neon -> "-mfpu=neon" diff --git a/src/build-data/cc/gcc.txt b/src/build-data/cc/gcc.txt index d7e019212..c433935c2 100644 --- a/src/build-data/cc/gcc.txt +++ b/src/build-data/cc/gcc.txt @@ -65,6 +65,7 @@ sha -> "-msha" altivec -> "-maltivec" powercrypto -> "-mcrypto" +ppc64:power9 -> "-mcpu=power9" arm64:armv8crypto -> "" arm64:armv8sm3 -> "-march=armv8.2-a+sm4" diff --git a/src/lib/rng/processor_rng/info.txt b/src/lib/rng/processor_rng/info.txt index ec1c7faf3..61d10f11b 100644 --- a/src/lib/rng/processor_rng/info.txt +++ b/src/lib/rng/processor_rng/info.txt @@ -14,3 +14,7 @@ x86_32 x86_64 ppc64 </arch> + +<isa> +ppc64:power9 +</isa> |