microblaze: Correct mfs into r0.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
This commit is contained in:
Edgar E. Iglesias 2009-09-03 11:18:55 +02:00
parent 1567a00568
commit ee7dbcf834

View file

@ -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. */