diff options
author | Andy Polyakov <appro@openssl.org> | 2009-03-17 18:31:08 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2009-03-17 18:31:08 +0000 |
commit | e22b864846d0ba7be13bf791843001f53ee54f70 (patch) | |
tree | 04b42767e1ad7b89de5cd4921035112a5beeb864 /crypto/sha | |
parent | b6af2c7e3e77e3dc9e295027e8921c9566d523e8 (diff) |
Make SPARC assembler modules *really* Purify-friendly.
Diffstat (limited to 'crypto/sha')
-rw-r--r-- | crypto/sha/asm/sha1-sparcv9a.pl | 4 | ||||
-rw-r--r-- | crypto/sha/asm/sha512-sparcv9.pl | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/crypto/sha/asm/sha1-sparcv9a.pl b/crypto/sha/asm/sha1-sparcv9a.pl index 9e8d0ca382..15eb854bad 100644 --- a/crypto/sha/asm/sha1-sparcv9a.pl +++ b/crypto/sha/asm/sha1-sparcv9a.pl @@ -415,7 +415,7 @@ sha1_block_data_order: add %fp,$bias-256,$base 1: call .+8 - sub %o7,1b-vis_const,$tmp0 + add %o7,vis_const-1b,$tmp0 ldd [$tmp0+0],$VK_00_19 ldd [$tmp0+8],$VK_20_39 @@ -433,7 +433,7 @@ sha1_block_data_order: and $inp,-8,$inp ld [$ctx+16],$Ectx - # X[16] is maintained in FP register bank + ! X[16] is maintained in FP register bank alignaddr %g0,$align,%g0 ldd [$inp+0],@X[0] sub $inp,-64,$Xfer diff --git a/crypto/sha/asm/sha512-sparcv9.pl b/crypto/sha/asm/sha512-sparcv9.pl index fa276d258b..54241aab50 100644 --- a/crypto/sha/asm/sha512-sparcv9.pl +++ b/crypto/sha/asm/sha512-sparcv9.pl @@ -472,7 +472,7 @@ $code.=<<___ if ($SZ==8); # SHA512 ___ $code.=<<___; .Lpic: call .+8 - sub %o7,.Lpic-K${label},$Ktbl + add %o7,K${label}-.Lpic,$Ktbl $LD [$ctx+`0*$SZ`],$A $LD [$ctx+`1*$SZ`],$B |