mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-11 03:24:58 -06:00
microblaze: Fix 3rd addkc arg when rd is r0
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
This commit is contained in:
parent
40cbf5b709
commit
7e9e433008
1 changed files with 1 additions and 2 deletions
|
@ -238,8 +238,7 @@ static void dec_add(DisasContext *dc)
|
||||||
write_carry(dc, ncf);
|
write_carry(dc, ncf);
|
||||||
tcg_temp_free(ncf);
|
tcg_temp_free(ncf);
|
||||||
} else {
|
} else {
|
||||||
gen_helper_addkc(cf, cpu_R[dc->ra], *(dec_alu_op_b(dc)),
|
gen_helper_addkc(cf, cpu_R[dc->ra], *(dec_alu_op_b(dc)), cf);
|
||||||
tcg_const_tl(cf));
|
|
||||||
write_carry(dc, cf);
|
write_carry(dc, cf);
|
||||||
}
|
}
|
||||||
tcg_temp_free(cf);
|
tcg_temp_free(cf);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue