diff options
author | Andy Polyakov <appro@openssl.org> | 2005-07-01 17:49:47 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2005-07-01 17:49:47 +0000 |
commit | 8be97c01d1ab2b5eff77c9b2739b9c791572a601 (patch) | |
tree | 9ef0fcbe2c11bb9e308a851d203696be5fb47bd6 | |
parent | 9e1a11233627f50cf454f6ff27bedce68308439e (diff) |
Decimal printout of a BN is wrong on PPC, it's sparse with very few
significant digits. As soon it verifies elsewhere it goes to 0.9.8 and
0.9.7.
-rw-r--r-- | crypto/bn/asm/ppc.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/bn/asm/ppc.pl b/crypto/bn/asm/ppc.pl index 307c7ccb35..8c567424ae 100644 --- a/crypto/bn/asm/ppc.pl +++ b/crypto/bn/asm/ppc.pl @@ -1717,7 +1717,7 @@ Lppcasm_div1: li r9,1 # r9=1 $SHL r10,r9,r8 # r9<<=r8 $UCMP 0,r3,r10 # - bc BO_IF,CR0_GT,Lppcasm_div2 #or if (h > (1<<r8)) + bc BO_IF_NOT,CR0_GT,Lppcasm_div2 #or if (h > (1<<r8)) $UDIV r3,r3,r0 #if not assert(0) divide by 0! #that's how we signal overflow bclr BO_ALWAYS,CR0_LT #return. NEVER REACHED. |