diff options
author | Andy Polyakov <appro@openssl.org> | 2005-04-14 07:47:10 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2005-04-14 07:47:10 +0000 |
commit | 2b85e23d2e0c4f5c8ee1cc7d38fc42ce18e13f1c (patch) | |
tree | b4b6bdf4a7032f22ce31f03b681ea73bcf697c4e | |
parent | 026bb0b96a8359d9a08f79ad151c6a1233cc82c8 (diff) |
Prototype mnemonics in padlock_verify_context for better portability
[read support for Solaris assembler].
-rw-r--r-- | crypto/engine/eng_padlock.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/crypto/engine/eng_padlock.c b/crypto/engine/eng_padlock.c index 31873520cd..6aad03ac81 100644 --- a/crypto/engine/eng_padlock.c +++ b/crypto/engine/eng_padlock.c @@ -391,14 +391,14 @@ padlock_verify_context(struct padlock_cipher_data *cdata) { asm volatile ( "pushfl\n" -" bt $30,(%%esp)\n" +" btl $30,(%%esp)\n" " jnc 1f\n" -" cmp %2,%1\n" +" cmpl %2,%1\n" " je 1f\n" " popfl\n" -" sub $4,%%esp\n" -"1: add $4,%%esp\n" -" mov %2,%0" +" subl $4,%%esp\n" +"1: addl $4,%%esp\n" +" movl %2,%0" :"+m"(padlock_saved_context) : "r"(padlock_saved_context), "r"(cdata) : "cc"); } |