summaryrefslogtreecommitdiff
path: root/deps/openssl/openssl/crypto/bn/asm/sparcv8plus.S
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2012-04-10 15:57:21 +0200
committerBen Noordhuis <info@bnoordhuis.nl>2012-04-12 01:34:05 +0200
commit30e7fb7307011a3c8d2586d73817ec967a863647 (patch)
tree8d51607ed56bc08fe4222fae6e2cd02bc81d871d /deps/openssl/openssl/crypto/bn/asm/sparcv8plus.S
parentaa5961a445acbd2b533ef870eb19733be7b7ede5 (diff)
downloadandroid-node-v8-30e7fb7307011a3c8d2586d73817ec967a863647.tar.gz
android-node-v8-30e7fb7307011a3c8d2586d73817ec967a863647.tar.bz2
android-node-v8-30e7fb7307011a3c8d2586d73817ec967a863647.zip
deps: upgrade openssl to 1.0.0f
Diffstat (limited to 'deps/openssl/openssl/crypto/bn/asm/sparcv8plus.S')
-rw-r--r--deps/openssl/openssl/crypto/bn/asm/sparcv8plus.S15
1 files changed, 13 insertions, 2 deletions
diff --git a/deps/openssl/openssl/crypto/bn/asm/sparcv8plus.S b/deps/openssl/openssl/crypto/bn/asm/sparcv8plus.S
index 8c56e2e7e7..63de1860f2 100644
--- a/deps/openssl/openssl/crypto/bn/asm/sparcv8plus.S
+++ b/deps/openssl/openssl/crypto/bn/asm/sparcv8plus.S
@@ -144,6 +144,19 @@
* }
*/
+#if defined(__SUNPRO_C) && defined(__sparcv9)
+ /* They've said -xarch=v9 at command line */
+ .register %g2,#scratch
+ .register %g3,#scratch
+# define FRAME_SIZE -192
+#elif defined(__GNUC__) && defined(__arch64__)
+ /* They've said -m64 at command line */
+ .register %g2,#scratch
+ .register %g3,#scratch
+# define FRAME_SIZE -192
+#else
+# define FRAME_SIZE -96
+#endif
/*
* GNU assembler can't stand stuw:-(
*/
@@ -619,8 +632,6 @@ bn_sub_words:
* Andy.
*/
-#define FRAME_SIZE -96
-
/*
* Here is register usage map for *all* routines below.
*/