summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bn
diff options
context:
space:
mode:
authormiod <>2014-05-02 22:22:27 +0000
committermiod <>2014-05-02 22:22:27 +0000
commitc0cb25d6cdf4a39c442cbc7ac8e879c8bdf86814 (patch)
tree1864d8403612e9e9c214260ea65ebb27461a9d3c /src/lib/libcrypto/bn
parent58cd83bf0ab2b98ec152d68588d808ece3ad9a7d (diff)
downloadopenbsd-c0cb25d6cdf4a39c442cbc7ac8e879c8bdf86814.tar.gz
openbsd-c0cb25d6cdf4a39c442cbc7ac8e879c8bdf86814.tar.bz2
openbsd-c0cb25d6cdf4a39c442cbc7ac8e879c8bdf86814.zip
More use of 64-bit registers which needs to be disabled under OpenBSD.
Diffstat (limited to 'src/lib/libcrypto/bn')
-rw-r--r--src/lib/libcrypto/bn/asm/parisc-mont.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/libcrypto/bn/asm/parisc-mont.pl b/src/lib/libcrypto/bn/asm/parisc-mont.pl
index baa19675ac..fcfdee1f1f 100644
--- a/src/lib/libcrypto/bn/asm/parisc-mont.pl
+++ b/src/lib/libcrypto/bn/asm/parisc-mont.pl
@@ -214,6 +214,7 @@ $code.=<<___;
214 flddx $idx($np),${fni} ; np[2,3] 214 flddx $idx($np),${fni} ; np[2,3]
215___ 215___
216$code.=<<___ if ($BN_SZ==4); 216$code.=<<___ if ($BN_SZ==4);
217#ifndef __OpenBSD__
217 mtctl $hi0,%cr11 ; $hi0 still holds 31 218 mtctl $hi0,%cr11 ; $hi0 still holds 31
218 extrd,u,*= $hi0,%sar,1,$hi0 ; executes on PA-RISC 1.0 219 extrd,u,*= $hi0,%sar,1,$hi0 ; executes on PA-RISC 1.0
219 b L\$parisc11 220 b L\$parisc11
@@ -550,6 +551,7 @@ $code.=<<___;
550 551
551 .ALIGN 8 552 .ALIGN 8
552L\$parisc11 553L\$parisc11
554#endif
553 xmpyu ${fai}L,${fbi},${fab0} ; ap[j]*bp[0] 555 xmpyu ${fai}L,${fbi},${fab0} ; ap[j]*bp[0]
554 xmpyu ${fni}L,${fm0}R,${fnm0} ; np[j]*m 556 xmpyu ${fni}L,${fm0}R,${fnm0} ; np[j]*m
555 ldw -12($xfer),$ablo 557 ldw -12($xfer),$ablo