summaryrefslogtreecommitdiff
path: root/lib/libcrypto/bn/asm
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2001-06-22 00:03:45 +0000
committerBob Beck <beck@cvs.openbsd.org>2001-06-22 00:03:45 +0000
commit642a4bcb90082ea29d17ec26cf3bf24f137f6d78 (patch)
tree7bfd115a4edcd10efea47366faf8014148d5dbf2 /lib/libcrypto/bn/asm
parenta53ec830979e8b3c974a48b5486fe532177cde14 (diff)
openssl-engine-0.9.6a merge
Diffstat (limited to 'lib/libcrypto/bn/asm')
-rw-r--r--lib/libcrypto/bn/asm/mips3.s8
-rw-r--r--lib/libcrypto/bn/asm/pa-risc2.s2
-rw-r--r--lib/libcrypto/bn/asm/pa-risc2W.s2
3 files changed, 6 insertions, 6 deletions
diff --git a/lib/libcrypto/bn/asm/mips3.s b/lib/libcrypto/bn/asm/mips3.s
index 2df4dcd4b0b..45786c00a5f 100644
--- a/lib/libcrypto/bn/asm/mips3.s
+++ b/lib/libcrypto/bn/asm/mips3.s
@@ -586,13 +586,13 @@ LEAF(bn_div_3_words)
ld a0,(a3)
move ta2,a1
ld a1,-8(a3)
- move ta3,ra
- move v1,zero
+ bne a0,a2,.L_bn_div_3_words_proceed
li v0,-1
- beq a0,a2,.L_bn_div_3_words_skip_div
+ jr ra
+.L_bn_div_3_words_proceed:
+ move ta3,ra
bal bn_div_words
move ra,ta3
-.L_bn_div_3_words_skip_div:
dmultu ta2,v0
ld t2,-16(a3)
move ta0,zero
diff --git a/lib/libcrypto/bn/asm/pa-risc2.s b/lib/libcrypto/bn/asm/pa-risc2.s
index 7239aa2c762..af9730d0621 100644
--- a/lib/libcrypto/bn/asm/pa-risc2.s
+++ b/lib/libcrypto/bn/asm/pa-risc2.s
@@ -1611,7 +1611,7 @@ bn_mul_comba4
.IMPORT $global$,DATA
.SPACE $TEXT$
.SUBSPA $CODE$
- .SUBSPA $LIT$,QUAD=0,ALIGN=8,ACCESS=0x2c,SORT=16
+ .SUBSPA $LIT$,ACCESS=0x2c
C$7
.ALIGN 8
.STRINGZ "Division would overflow (%d)\n"
diff --git a/lib/libcrypto/bn/asm/pa-risc2W.s b/lib/libcrypto/bn/asm/pa-risc2W.s
index 54b6606252e..a99545754d1 100644
--- a/lib/libcrypto/bn/asm/pa-risc2W.s
+++ b/lib/libcrypto/bn/asm/pa-risc2W.s
@@ -1598,7 +1598,7 @@ bn_mul_comba4
.IMPORT $global$,DATA
.SPACE $TEXT$
.SUBSPA $CODE$
- .SUBSPA $LIT$,QUAD=0,ALIGN=8,ACCESS=0x2c,SORT=16
+ .SUBSPA $LIT$,ACCESS=0x2c
C$4
.ALIGN 8
.STRINGZ "Division would overflow (%d)\n"