summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDeepankar Bhattacharjee <deepankar.b@in.ibm.com>2021-09-20 10:45:15 -0400
committerPauli <ppzgs1@gmail.com>2022-02-22 16:58:55 +1100
commitf596bbe4da779b56eea34d96168b557d78e1149a (patch)
tree9371dd2979f2d8bfecc72b81034c0d10d3e5bfd0 /include
parent7b3041eba1c6e177eede0d6311d53a6b9ff58051 (diff)
chacha20 performance optimizations for ppc64le with 8x lanes,
Performance increase around 50%. Co-authored-by: Madhusudhanan Duraisamy <madurais@in.ibm.com> Co-authored-by: Nilamjyoti Goswami <nilamgoswami@in.ibm.com> Co-authored-by: Siva Sundar Anbareeswaran <srisivasundar@in.ibm.com> Reviewed-by: Danny Tsen <dtsen@us.ibm.com> Tested-by: Danny Tsen <dtsen@us.ibm.com> Signed-off-by: Danny <dtsen@us.ibm.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/16637)
Diffstat (limited to 'include')
-rw-r--r--include/crypto/ppc_arch.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/crypto/ppc_arch.h b/include/crypto/ppc_arch.h
index 3b3ce4bff5..fcc846c410 100644
--- a/include/crypto/ppc_arch.h
+++ b/include/crypto/ppc_arch.h
@@ -24,5 +24,6 @@ extern unsigned int OPENSSL_ppccap_P;
# define PPC_MADD300 (1<<4)
# define PPC_MFTB (1<<5)
# define PPC_MFSPR268 (1<<6)
+# define PPC_BRD31 (1<<7)
#endif