summaryrefslogtreecommitdiffstats
path: root/crypto/sparc_arch.h
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2012-11-17 10:34:11 +0000
committerAndy Polyakov <appro@openssl.org>2012-11-17 10:34:11 +0000
commit68c06bf6b2627021cb7f26d0ab0baee1cd2fad65 (patch)
tree8b8b55217405694074359d34b151cc8976345582 /crypto/sparc_arch.h
parentc7b7984ac914d33590dfe9e46e35336f5e4f723f (diff)
Support for SPARC T4 MONT[MUL|SQR] instructions.
Submitted by: David Miller, Andy Polyakov
Diffstat (limited to 'crypto/sparc_arch.h')
-rw-r--r--crypto/sparc_arch.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/sparc_arch.h b/crypto/sparc_arch.h
index 1afef4b8a4..c3843c01b8 100644
--- a/crypto/sparc_arch.h
+++ b/crypto/sparc_arch.h
@@ -9,6 +9,7 @@
#define SPARCV9_BLK (1<<5) /* VIS1 block copy */
#define SPARCV9_VIS3 (1<<6)
#define SPARCV9_RANDOM (1<<7)
+#define SPARCV9_64BIT_STACK (1<<8)
/*
* OPENSSL_sparcv9cap_P[1] is copy of Compatibility Feature Register,
@@ -65,6 +66,7 @@
# define SIZE_T_CC %xcc
# define STACK_FRAME 192
# define STACK_BIAS 2047
+# define STACK_7thARG (STACK_BIAS+176)
#else
@@ -74,6 +76,7 @@
# define SIZE_T_CC %icc
# define STACK_FRAME 112
# define STACK_BIAS 0
+# define STACK_7thARG 92
# define SPARC_LOAD_ADDRESS_LEAF(SYM,reg,tmp) SPARC_LOAD_ADDRESS(SYM,reg)
#endif