Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xing Lin
qemu
Commits
7026259f
Commit
7026259f
authored
Feb 04, 2011
by
Aurelien Jarno
Browse files
target-sh4: fix negc
Signed-off-by:
Aurelien Jarno
<
aurelien@aurel32.net
>
parent
1f5e71a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
target-sh4/translate.c
View file @
7026259f
...
...
@@ -960,9 +960,9 @@ static void _decode_opc(DisasContext * ctx)
tcg_gen_andi_i32
(
t1
,
cpu_sr
,
SR_T
);
tcg_gen_sub_i32
(
REG
(
B11_8
),
t0
,
t1
);
tcg_gen_andi_i32
(
cpu_sr
,
cpu_sr
,
~
SR_T
);
tcg_gen_setcond_i32
(
TCG_COND_G
E
,
t1
,
REG
(
B11_8
)
,
t
0
);
tcg_gen_setcond
i
_i32
(
TCG_COND_G
TU
,
t1
,
t0
,
0
);
tcg_gen_or_i32
(
cpu_sr
,
cpu_sr
,
t1
);
tcg_gen_setcond
i
_i32
(
TCG_COND_G
E
,
t1
,
t0
,
0
);
tcg_gen_setcond_i32
(
TCG_COND_G
TU
,
t1
,
REG
(
B11_8
)
,
t
0
);
tcg_gen_or_i32
(
cpu_sr
,
cpu_sr
,
t1
);
tcg_temp_free
(
t0
);
tcg_temp_free
(
t1
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment