提交 8be97c01 编写于 作者: A Andy Polyakov

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.
上级 9e1a1123
......@@ -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.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册