From: Andy Polyakov Date: Sat, 10 Dec 2005 12:32:22 +0000 (+0000) Subject: Minor aes-sparcv9.pl optimization. X-Git-Tag: OpenSSL_0_9_8k^2~1655 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=35e00cc2d812648214b57b78dd4f471133669eda;p=oweals%2Fopenssl.git Minor aes-sparcv9.pl optimization. --- diff --git a/crypto/aes/asm/aes-sparcv9.pl b/crypto/aes/asm/aes-sparcv9.pl index 30f38d7a5a..c04125e28b 100755 --- a/crypto/aes/asm/aes-sparcv9.pl +++ b/crypto/aes/asm/aes-sparcv9.pl @@ -511,11 +511,10 @@ AES_encrypt: ld [%i0+8],%o2 ld [%i0+12],%o3 -1: call .+8 mov %i2,%o5 - sub %o7,1b-AES_Te,%o4 - call _sparcv9_AES_encrypt nop +1: call _sparcv9_AES_encrypt + sub %o7,1b-AES_Te,%o4 st %o0,[%i1+0] st %o1,[%i1+4] @@ -572,11 +571,10 @@ AES_encrypt: or %l7,%l6,%l6 or %l4,%l6,%o3 -1: call .+8 mov %i2,%o5 - sub %o7,1b-AES_Te,%o4 - call _sparcv9_AES_encrypt nop +1: call _sparcv9_AES_encrypt + sub %o7,1b-AES_Te,%o4 srl %o0,24,%l0 srl %o0,16,%l1 @@ -1051,11 +1049,10 @@ AES_decrypt: ld [%i0+8],%o2 ld [%i0+12],%o3 -1: call .+8 mov %i2,%o5 - sub %o7,1b-AES_Td,%o4 - call _sparcv9_AES_decrypt nop +1: call _sparcv9_AES_decrypt + sub %o7,1b-AES_Td,%o4 st %o0,[%i1+0] st %o1,[%i1+4] @@ -1112,11 +1109,10 @@ AES_decrypt: or %l7,%l6,%l6 or %l4,%l6,%o3 -1: call .+8 mov %i2,%o5 - sub %o7,1b-AES_Td,%o4 - call _sparcv9_AES_decrypt nop +1: call _sparcv9_AES_decrypt + sub %o7,1b-AES_Td,%o4 srl %o0,24,%l0 srl %o0,16,%l1