mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-05 20:35:44 +00:00
microblaze: Clarify expected input of write_carry
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
This commit is contained in:
parent
fc8ead7467
commit
04ec7df708
1 changed files with 4 additions and 0 deletions
|
@ -150,6 +150,10 @@ static void read_carry(DisasContext *dc, TCGv d)
|
|||
tcg_gen_shri_tl(d, cpu_SR[SR_MSR], 31);
|
||||
}
|
||||
|
||||
/*
|
||||
* write_carry sets the carry bits in MSR based on bit 0 of v.
|
||||
* v[31:1] are ignored.
|
||||
*/
|
||||
static void write_carry(DisasContext *dc, TCGv v)
|
||||
{
|
||||
TCGv t0 = tcg_temp_new();
|
||||
|
|
Loading…
Reference in a new issue