mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-05 20:35:44 +00:00
microblaze: Correct mfs into r0.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
This commit is contained in:
parent
1567a00568
commit
ee7dbcf834
1 changed files with 4 additions and 0 deletions
|
@ -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. */
|
||||
|
|
Loading…
Reference in a new issue