summaryrefslogtreecommitdiffstats
path: root/crypto/bn/asm/sparcv9-mont.pl
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2005-12-16 17:39:57 +0000
committerAndy Polyakov <appro@openssl.org>2005-12-16 17:39:57 +0000
commita00e414faf76db8372f4e5fe04010e47e8ff90d4 (patch)
treecfce289959d3f9052f9d4a258a13601de578cba5 /crypto/bn/asm/sparcv9-mont.pl
parent4c5e19b6c671ded9328137391aa0c12414508c63 (diff)
Unify sparcv9 assembler naming and build rules among 32- and 64-bit builds.
Engage run-time switch between bn_mul_mont_fpu and bn_mul_mont_int.
Diffstat (limited to 'crypto/bn/asm/sparcv9-mont.pl')
-rw-r--r--crypto/bn/asm/sparcv9-mont.pl5
1 files changed, 3 insertions, 2 deletions
diff --git a/crypto/bn/asm/sparcv9-mont.pl b/crypto/bn/asm/sparcv9-mont.pl
index 0339bfe7f3..2e12eeb578 100644
--- a/crypto/bn/asm/sparcv9-mont.pl
+++ b/crypto/bn/asm/sparcv9-mont.pl
@@ -72,7 +72,7 @@ $apj="%l5";
$npj="%l6";
$tpj="%l7";
-$fname="bn_mul_mont";
+$fname="bn_mul_mont_int";
$code=<<___;
.section ".text",#alloc,#execinstr
@@ -298,7 +298,8 @@ $fname:
___
########
-######## bn_sqr_mont gives up to 20% improvement over above code
+######## .Lbn_sqr_mont gives up to 20% *overall* improvement over
+######## code without following dedicated squaring procedure.
########
$sbit="%i2"; # re-use $bp!