aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/build-data/arch/ppc64.txt1
-rw-r--r--src/build-data/cc/clang.txt3
-rw-r--r--src/build-data/cc/gcc.txt1
-rw-r--r--src/lib/rng/processor_rng/info.txt4
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>