Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
qemu
提交
35289799
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,发现更多精彩内容 >>
提交
35289799
编写于
8月 24, 2012
作者:
R
Richard Henderson
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
target-s390: Convert SCK
Signed-off-by:
N
Richard Henderson
<
rth@twiddle.net
>
上级
71bd6669
变更
4
显示空白变更内容
内联
并排
Showing
4 changed file
with
3 addition
and
19 deletion
+3
-19
target-s390x/helper.h
target-s390x/helper.h
+0
-1
target-s390x/insn-data.def
target-s390x/insn-data.def
+3
-0
target-s390x/misc_helper.c
target-s390x/misc_helper.c
+0
-8
target-s390x/translate.c
target-s390x/translate.c
+0
-10
未找到文件。
target-s390x/helper.h
浏览文件 @
35289799
...
@@ -84,7 +84,6 @@ DEF_HELPER_3(servc, i32, env, i32, i64)
...
@@ -84,7 +84,6 @@ DEF_HELPER_3(servc, i32, env, i32, i64)
DEF_HELPER_4
(
diag
,
i64
,
env
,
i32
,
i64
,
i64
)
DEF_HELPER_4
(
diag
,
i64
,
env
,
i32
,
i64
,
i64
)
DEF_HELPER_3
(
load_psw
,
void
,
env
,
i64
,
i64
)
DEF_HELPER_3
(
load_psw
,
void
,
env
,
i64
,
i64
)
DEF_HELPER_FLAGS_2
(
spx
,
TCG_CALL_NO_RWG
,
void
,
env
,
i64
)
DEF_HELPER_FLAGS_2
(
spx
,
TCG_CALL_NO_RWG
,
void
,
env
,
i64
)
DEF_HELPER_FLAGS_1
(
sck
,
TCG_CALL_NO_RWG
,
i32
,
i64
)
DEF_HELPER_2
(
stck
,
i32
,
env
,
i64
)
DEF_HELPER_2
(
stck
,
i32
,
env
,
i64
)
DEF_HELPER_2
(
stcke
,
i32
,
env
,
i64
)
DEF_HELPER_2
(
stcke
,
i32
,
env
,
i64
)
DEF_HELPER_FLAGS_2
(
sckc
,
TCG_CALL_NO_RWG
,
void
,
env
,
i64
)
DEF_HELPER_FLAGS_2
(
sckc
,
TCG_CALL_NO_RWG
,
void
,
env
,
i64
)
...
...
target-s390x/insn-data.def
浏览文件 @
35289799
...
@@ -633,6 +633,9 @@
...
@@ -633,6 +633,9 @@
/* We only do 64-bit, so accept this as a no-op.
/* We only do 64-bit, so accept this as a no-op.
Let SAM24 and SAM31 signal illegal instruction. */
Let SAM24 and SAM31 signal illegal instruction. */
C(0x010e, SAM64, E, Z, 0, 0, 0, 0, 0, 0)
C(0x010e, SAM64, E, Z, 0, 0, 0, 0, 0, 0)
/* SET CLOCK */
/* ??? Not implemented - is it necessary? */
C(0xb204, SCK, S, Z, 0, 0, 0, 0, 0, 0)
/* SET SYSTEM MASK */
/* SET SYSTEM MASK */
C(0x8000, SSM, S, Z, 0, m2_8u, 0, 0, ssm, 0)
C(0x8000, SSM, S, Z, 0, m2_8u, 0, 0, ssm, 0)
/* SIGNAL PROCESSOR */
/* SIGNAL PROCESSOR */
...
...
target-s390x/misc_helper.c
浏览文件 @
35289799
...
@@ -143,14 +143,6 @@ void HELPER(spx)(CPUS390XState *env, uint64_t a1)
...
@@ -143,14 +143,6 @@ void HELPER(spx)(CPUS390XState *env, uint64_t a1)
tlb_flush_page
(
env
,
TARGET_PAGE_SIZE
);
tlb_flush_page
(
env
,
TARGET_PAGE_SIZE
);
}
}
/* Set Clock */
uint32_t
HELPER
(
sck
)(
uint64_t
a1
)
{
/* XXX not implemented - is it necessary? */
return
0
;
}
static
inline
uint64_t
clock_value
(
CPUS390XState
*
env
)
static
inline
uint64_t
clock_value
(
CPUS390XState
*
env
)
{
{
uint64_t
time
;
uint64_t
time
;
...
...
target-s390x/translate.c
浏览文件 @
35289799
...
@@ -1033,16 +1033,6 @@ static void disas_b2(CPUS390XState *env, DisasContext *s, int op,
...
@@ -1033,16 +1033,6 @@ static void disas_b2(CPUS390XState *env, DisasContext *s, int op,
LOG_DISAS
(
"disas_b2: op 0x%x r1 %d r2 %d
\n
"
,
op
,
r1
,
r2
);
LOG_DISAS
(
"disas_b2: op 0x%x r1 %d r2 %d
\n
"
,
op
,
r1
,
r2
);
switch
(
op
)
{
switch
(
op
)
{
case
0x04
:
/* SCK D2(B2) [S] */
/* Set Clock */
check_privileged
(
s
);
decode_rs
(
s
,
insn
,
&
r1
,
&
r3
,
&
b2
,
&
d2
);
tmp
=
get_address
(
s
,
0
,
b2
,
d2
);
potential_page_fault
(
s
);
gen_helper_sck
(
cc_op
,
tmp
);
set_cc_static
(
s
);
tcg_temp_free_i64
(
tmp
);
break
;
case
0x05
:
/* STCK D2(B2) [S] */
case
0x05
:
/* STCK D2(B2) [S] */
/* Store Clock */
/* Store Clock */
decode_rs
(
s
,
insn
,
&
r1
,
&
r3
,
&
b2
,
&
d2
);
decode_rs
(
s
,
insn
,
&
r1
,
&
r3
,
&
b2
,
&
d2
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录