aboutsummaryrefslogtreecommitdiff
path: root/crypto/bn/asm/parisc-mont.pl
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2014-01-22 19:27:13 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2014-01-22 19:27:13 +0000
commit2dc7f78169ea4545102b8d9b0604f785cdc798f5 (patch)
tree916b5f4a06b1f51b6af3e4437ab74e3d27e9cdd9 /crypto/bn/asm/parisc-mont.pl
parentcbbee3a581d0bbf1b738c0805da55a438c265a20 (diff)
downloadsrc-2dc7f78169ea4545102b8d9b0604f785cdc798f5.tar.gz
src-2dc7f78169ea4545102b8d9b0604f785cdc798f5.zip
Import OpenSSL 1.0.1f.vendor/openssl/1.0.1f
Approved by: so (delphij), benl (silence)
Notes
Notes: svn path=/vendor-crypto/openssl/dist/; revision=261035 svn path=/vendor-crypto/openssl/1.0.1f/; revision=261036; tag=vendor/openssl/1.0.1f
Diffstat (limited to 'crypto/bn/asm/parisc-mont.pl')
-rwxr-xr-xcrypto/bn/asm/parisc-mont.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/bn/asm/parisc-mont.pl b/crypto/bn/asm/parisc-mont.pl
index 4a766a87fb2e..c02ef6f01466 100755
--- a/crypto/bn/asm/parisc-mont.pl
+++ b/crypto/bn/asm/parisc-mont.pl
@@ -40,7 +40,7 @@
# of arithmetic operations, most notably multiplications. It requires
# more memory references, most notably to tp[num], but this doesn't
# seem to exhaust memory port capacity. And indeed, dedicated PA-RISC
-# 2.0 code path, provides virtually same performance as pa-risc2[W].s:
+# 2.0 code path provides virtually same performance as pa-risc2[W].s:
# it's ~10% better for shortest key length and ~10% worse for longest
# one.
#
@@ -988,6 +988,8 @@ foreach (split("\n",$code)) {
# assemble 2.0 instructions in 32-bit mode...
s/^\s+([a-z]+)([\S]*)\s+([\S]*)/&assemble($1,$2,$3)/e if ($BN_SZ==4);
+ s/\bbv\b/bve/gm if ($SIZE_T==8);
+
print $_,"\n";
}
close STDOUT;