Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
qemu
提交
00574261
Q
qemu
项目概览
openeuler
/
qemu
通知
10
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Q
qemu
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
00574261
编写于
9月 05, 2012
作者:
R
Richard Henderson
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
target-s390: Convert FP STORE
Signed-off-by:
N
Richard Henderson
<
rth@twiddle.net
>
上级
6e764e97
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
15 addition
and
19 deletion
+15
-19
target-s390x/insn-data.def
target-s390x/insn-data.def
+4
-0
target-s390x/translate.c
target-s390x/translate.c
+11
-19
未找到文件。
target-s390x/insn-data.def
浏览文件 @
00574261
...
@@ -315,6 +315,10 @@
...
@@ -315,6 +315,10 @@
C(0x5000, ST, RX_a, Z, r1_o, a2, 0, 0, st32, 0)
C(0x5000, ST, RX_a, Z, r1_o, a2, 0, 0, st32, 0)
C(0xe350, STY, RXY_a, LD, r1_o, a2, 0, 0, st32, 0)
C(0xe350, STY, RXY_a, LD, r1_o, a2, 0, 0, st32, 0)
C(0xe324, STG, RXY_a, Z, r1_o, a2, 0, 0, st64, 0)
C(0xe324, STG, RXY_a, Z, r1_o, a2, 0, 0, st64, 0)
C(0x6000, STD, RX_a, Z, f1_o, a2, 0, 0, st64, 0)
C(0xed67, STDY, RXY_a, LD, f1_o, a2, 0, 0, st64, 0)
C(0x7000, STE, RX_a, Z, e1, a2, 0, 0, st32, 0)
C(0xed66, STEY, RXY_a, LD, e1, a2, 0, 0, st32, 0)
/* STORE RELATIVE LONG */
/* STORE RELATIVE LONG */
C(0xc40f, STRL, RIL_b, GIE, r1_o, ri2, 0, 0, st32, 0)
C(0xc40f, STRL, RIL_b, GIE, r1_o, ri2, 0, 0, st32, 0)
C(0xc40b, STGRL, RIL_b, GIE, r1_o, ri2, 0, 0, st64, 0)
C(0xc40b, STGRL, RIL_b, GIE, r1_o, ri2, 0, 0, st64, 0)
...
...
target-s390x/translate.c
浏览文件 @
00574261
...
@@ -2367,25 +2367,6 @@ static void disas_s390_insn(CPUS390XState *env, DisasContext *s)
...
@@ -2367,25 +2367,6 @@ static void disas_s390_insn(CPUS390XState *env, DisasContext *s)
tcg_temp_free_i64
(
tmp2
);
tcg_temp_free_i64
(
tmp2
);
tcg_temp_free_i32
(
tmp32_1
);
tcg_temp_free_i32
(
tmp32_1
);
break
;
break
;
case
0x60
:
/* STD R1,D2(X2,B2) [RX] */
insn
=
ld_code4
(
env
,
s
->
pc
);
tmp
=
decode_rx
(
s
,
insn
,
&
r1
,
&
x2
,
&
b2
,
&
d2
);
tmp2
=
load_freg
(
r1
);
tcg_gen_qemu_st64
(
tmp2
,
tmp
,
get_mem_index
(
s
));
tcg_temp_free_i64
(
tmp
);
tcg_temp_free_i64
(
tmp2
);
break
;
case
0x70
:
/* STE R1,D2(X2,B2) [RX] */
insn
=
ld_code4
(
env
,
s
->
pc
);
tmp
=
decode_rx
(
s
,
insn
,
&
r1
,
&
x2
,
&
b2
,
&
d2
);
tmp2
=
tcg_temp_new_i64
();
tmp32_1
=
load_freg32
(
r1
);
tcg_gen_extu_i32_i64
(
tmp2
,
tmp32_1
);
tcg_gen_qemu_st32
(
tmp2
,
tmp
,
get_mem_index
(
s
));
tcg_temp_free_i64
(
tmp
);
tcg_temp_free_i64
(
tmp2
);
tcg_temp_free_i32
(
tmp32_1
);
break
;
#ifndef CONFIG_USER_ONLY
#ifndef CONFIG_USER_ONLY
case
0x80
:
/* SSM D2(B2) [S] */
case
0x80
:
/* SSM D2(B2) [S] */
/* Set System Mask */
/* Set System Mask */
...
@@ -4028,6 +4009,17 @@ static void in1_r3(DisasContext *s, DisasFields *f, DisasOps *o)
...
@@ -4028,6 +4009,17 @@ static void in1_r3(DisasContext *s, DisasFields *f, DisasOps *o)
o
->
in1
=
load_reg
(
get_field
(
f
,
r3
));
o
->
in1
=
load_reg
(
get_field
(
f
,
r3
));
}
}
static
void
in1_e1
(
DisasContext
*
s
,
DisasFields
*
f
,
DisasOps
*
o
)
{
o
->
in1
=
load_freg32_i64
(
get_field
(
f
,
r1
));
}
static
void
in1_f1_o
(
DisasContext
*
s
,
DisasFields
*
f
,
DisasOps
*
o
)
{
o
->
in1
=
fregs
[
get_field
(
f
,
r1
)];
o
->
g_in1
=
true
;
}
static
void
in1_la1
(
DisasContext
*
s
,
DisasFields
*
f
,
DisasOps
*
o
)
static
void
in1_la1
(
DisasContext
*
s
,
DisasFields
*
f
,
DisasOps
*
o
)
{
{
o
->
addr1
=
get_address
(
s
,
0
,
get_field
(
f
,
b1
),
get_field
(
f
,
d1
));
o
->
addr1
=
get_address
(
s
,
0
,
get_field
(
f
,
b1
),
get_field
(
f
,
d1
));
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录