projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a03675
)
microblaze: Correct branch to registers.
author
Paul Hartke
<paul.hartke@xilinx.com>
Sun, 13 Dec 2009 02:22:24 +0000
(
03:22
+0100)
committer
Edgar E. Iglesias
<edgar.iglesias@gmail.com>
Sun, 13 Dec 2009 02:22:24 +0000
(
03:22
+0100)
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
target-microblaze/translate.c
patch
|
blob
|
history
diff --git
a/target-microblaze/translate.c
b/target-microblaze/translate.c
index 44f4db0c68ae5145dc9e72b0ace42f227796d062..85dcf863f6f1e4dd81f1db964a5af74321d4847a 100644
(file)
--- a/
target-microblaze/translate.c
+++ b/
target-microblaze/translate.c
@@
-1019,7
+1019,7
@@
static void dec_br(DisasContext *dc)
if (dc->imm == 0)
t_gen_raise_exception(dc, EXCP_DEBUG);
} else {
- if (
dc->tb_flags & IMM_FLAG
) {
+ if (
!dc->type_b || (dc->tb_flags & IMM_FLAG)
) {
tcg_gen_movi_tl(env_btaken, 1);
tcg_gen_movi_tl(env_btarget, dc->pc);
tcg_gen_add_tl(env_btarget, env_btarget, *(dec_alu_op_b(dc)));