diff options
author | Jack Lloyd <[email protected]> | 2019-07-10 21:31:48 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2019-08-27 09:27:33 -0400 |
commit | 308bdc190f4e6a3606f801390d191988a0438557 (patch) | |
tree | f8c9763c439fca5fda33c523928c7bd02d929a84 /src/build-data | |
parent | ecb22c16531db3023c739fa1436d8f3893fa1081 (diff) |
Add support for POWER9 DARN RNG
Diffstat (limited to 'src/build-data')
-rw-r--r-- | src/build-data/arch/ppc64.txt | 1 | ||||
-rw-r--r-- | src/build-data/buildh.in | 2 | ||||
-rw-r--r-- | src/build-data/cc/gcc.txt | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/src/build-data/arch/ppc64.txt b/src/build-data/arch/ppc64.txt index 23d3bb2a1..470bee2db 100644 --- a/src/build-data/arch/ppc64.txt +++ b/src/build-data/arch/ppc64.txt @@ -13,4 +13,5 @@ ppc64el <isa_extensions> altivec ppccrypto +power9 </isa_extensions> diff --git a/src/build-data/buildh.in b/src/build-data/buildh.in index caa160eb0..425d06498 100644 --- a/src/build-data/buildh.in +++ b/src/build-data/buildh.in @@ -181,7 +181,7 @@ * broken system RNG. */ #define BOTAN_ENTROPY_DEFAULT_SOURCES \ - { "rdseed", "rdrand", "getentropy", "dev_random", \ + { "rdseed", "rdrand", "p9_darn", "getentropy", "dev_random", \ "system_rng", "proc_walk", "system_stats" } /* Multiplier on a block cipher's native parallelism */ diff --git a/src/build-data/cc/gcc.txt b/src/build-data/cc/gcc.txt index f495af4e6..cc3ce99e1 100644 --- a/src/build-data/cc/gcc.txt +++ b/src/build-data/cc/gcc.txt @@ -63,6 +63,7 @@ sha -> "-msha" altivec -> "-maltivec" ppccrypto -> "-mcrypto" +power9 -> "-mcpu=power9" arm64:armv8crypto -> "" arm64:armv8sm3 -> "-march=armv8.2-a+sm4" |