Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
31efffbd
T
Third Party Openssl
项目概览
OpenHarmony
/
Third Party Openssl
大约 1 年 前同步成功
通知
9
Star
18
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
Third Party Openssl
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
31efffbd
编写于
7月 03, 2005
作者:
A
Andy Polyakov
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Trap condition should be 64-bit when it's due.
上级
aaa5dc61
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
3 addition
and
1 deletion
+3
-1
crypto/bn/asm/ppc.pl
crypto/bn/asm/ppc.pl
+3
-1
未找到文件。
crypto/bn/asm/ppc.pl
浏览文件 @
31efffbd
...
@@ -124,6 +124,7 @@ if ($opf =~ /32\.s/) {
...
@@ -124,6 +124,7 @@ if ($opf =~ /32\.s/) {
$CLRU
=
"
clrlwi
";
# clear upper bits
$CLRU
=
"
clrlwi
";
# clear upper bits
$INSR
=
"
insrwi
";
# insert right
$INSR
=
"
insrwi
";
# insert right
$ROTL
=
"
rotlwi
";
# rotate left by immediate
$ROTL
=
"
rotlwi
";
# rotate left by immediate
$TR
=
"
tw
";
# conditional trap
}
elsif
(
$opf
=~
/64\.s/
)
{
}
elsif
(
$opf
=~
/64\.s/
)
{
$BITS
=
64
;
$BITS
=
64
;
$BNSZ
=
$BITS
/
8
;
$BNSZ
=
$BITS
/
8
;
...
@@ -147,6 +148,7 @@ if ($opf =~ /32\.s/) {
...
@@ -147,6 +148,7 @@ if ($opf =~ /32\.s/) {
$CLRU
=
"
clrldi
";
# clear upper bits
$CLRU
=
"
clrldi
";
# clear upper bits
$INSR
=
"
insrdi
";
# insert right
$INSR
=
"
insrdi
";
# insert right
$ROTL
=
"
rotldi
";
# rotate left by immediate
$ROTL
=
"
rotldi
";
# rotate left by immediate
$TR
=
"
td
";
# conditional trap
}
else
{
die
"
nonsense
$opf
";
}
}
else
{
die
"
nonsense
$opf
";
}
(
defined
shift
||
open
STDOUT
,"
>
$opf
"
)
||
die
"
can't open
$opf
: $!
";
(
defined
shift
||
open
STDOUT
,"
>
$opf
"
)
||
die
"
can't open
$opf
: $!
";
...
@@ -1715,7 +1717,7 @@ Lppcasm_div1:
...
@@ -1715,7 +1717,7 @@ Lppcasm_div1:
bc BO_IF,CR0_EQ,Lppcasm_div2 #proceed if no leading zeros
bc BO_IF,CR0_EQ,Lppcasm_div2 #proceed if no leading zeros
subf r8,r7,r8 #r8 = BN_num_bits_word(d)
subf r8,r7,r8 #r8 = BN_num_bits_word(d)
$SHR. r9,r3,r8 #are there any bits above r8'th?
$SHR. r9,r3,r8 #are there any bits above r8'th?
tw
16,r9,r0 #if there're, signal to dump core...
$TR
16,r9,r0 #if there're, signal to dump core...
Lppcasm_div2:
Lppcasm_div2:
$UCMP 0,r3,r5 #h>=d?
$UCMP 0,r3,r5 #h>=d?
bc BO_IF,CR0_LT,Lppcasm_div3 #goto Lppcasm_div3 if not
bc BO_IF,CR0_LT,Lppcasm_div3 #goto Lppcasm_div3 if not
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录