diff options
author | Andy Polyakov <appro@openssl.org> | 2013-06-18 10:37:00 +0200 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2013-06-30 23:15:53 +0200 |
commit | cd2693862b659099930bec2aa7344892690a6e48 (patch) | |
tree | 69fd6a82655210b9cdd5e9ff96f824d211df6f82 /crypto/bn | |
parent | 25370e93c6c084fa332fd953aafc5bd996a2345d (diff) |
PA-RISC assembler pack: switch to bve in 64-bit builds.
PR: 3074
(cherry picked from commit 02450ec69dda7815ba1e7bd74eb30f0ae1eb3042)
Diffstat (limited to 'crypto/bn')
-rw-r--r-- | crypto/bn/asm/parisc-mont.pl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/bn/asm/parisc-mont.pl b/crypto/bn/asm/parisc-mont.pl index 4a766a87fb..c02ef6f014 100644 --- 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; |