summaryrefslogtreecommitdiffstats
path: root/crypto/sha/asm
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2009-12-28 16:13:35 +0000
committerAndy Polyakov <appro@openssl.org>2009-12-28 16:13:35 +0000
commit3fc2efd241bdded36dbc099d5d8016ed39311753 (patch)
treeced71e24155da594144d050792026d93c7a2ad9b /crypto/sha/asm
parent76774c5ea1a7abeef79a9b0fc2bbb39acff96aae (diff)
PA-RISC assembler: missing symbol and typos.
Diffstat (limited to 'crypto/sha/asm')
-rwxr-xr-xcrypto/sha/asm/sha512-parisc.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/sha/asm/sha512-parisc.pl b/crypto/sha/asm/sha512-parisc.pl
index 9ccbdaaf82..e24ee58ae9 100755
--- a/crypto/sha/asm/sha512-parisc.pl
+++ b/crypto/sha/asm/sha512-parisc.pl
@@ -694,7 +694,7 @@ my $ldd = sub {
my ($mod,$args) = @_;
my $orig = "ldd$mod\t$args";
- if ($args =~ /(\-[0-9]+)\(%r([0-9]+)\),%r([0-9]+)/) # format 3 suffices
+ if ($args =~ /(\-?[0-9]+)\(%r([0-9]+)\),%r([0-9]+)/) # format 3 suffices
{ my $opcode=(0x14<<26)|($2<<21)|($3<<16)|(($1&0x1FF8)<<1)|(($1>>13)&1);
$opcode|=(1<<3) if ($mod =~ /^,m/);
$opcode|=(1<<2) if ($mod =~ /^,mb/);
@@ -707,7 +707,7 @@ my $std = sub {
my ($mod,$args) = @_;
my $orig = "std$mod\t$args";
- if ($args =~ /%r([0-9]+),(\-[0-9]+)\(%r([0-9]+)\)/) # format 3 suffices
+ if ($args =~ /%r([0-9]+),(\-?[0-9]+)\(%r([0-9]+)\)/) # format 3 suffices
{ my $opcode=(0x1c<<26)|($3<<21)|($1<<16)|(($2&0x1FF8)<<1)|(($2>>13)&1);
sprintf "\t.WORD\t0x%08x\t; %s",$opcode,$orig;
}