projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1567a00
)
microblaze: Correct mfs into r0.
author
Edgar E. Iglesias
<edgar.iglesias@gmail.com>
Thu, 3 Sep 2009 09:18:55 +0000
(11:18 +0200)
committer
Edgar E. Iglesias
<edgar.iglesias@gmail.com>
Thu, 3 Sep 2009 09:18:55 +0000
(11:18 +0200)
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 16b282f57791015d660126b4d238d9afc149272f..acf3f8db5da6015343bd1aad71b03cb3fbebd87b 100644
(file)
--- a/
target-microblaze/translate.c
+++ b/
target-microblaze/translate.c
@@
-500,6
+500,10
@@
static void dec_msr(DisasContext *dc)
break;
}
}
+
+ if (dc->rd == 0) {
+ tcg_gen_movi_tl(cpu_R[0], 0);
+ }
}
/* 64-bit signed mul, lower result in d and upper in d2. */