mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07: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:
@@ -238,8 +238,7 @@ static void dec_add(DisasContext *dc)
|
||||
write_carry(dc, ncf);
|
||||
tcg_temp_free(ncf);
|
||||
} else {
|
||||
gen_helper_addkc(cf, cpu_R[dc->ra], *(dec_alu_op_b(dc)),
|
||||
tcg_const_tl(cf));
|
||||
gen_helper_addkc(cf, cpu_R[dc->ra], *(dec_alu_op_b(dc)), cf);
|
||||
write_carry(dc, cf);
|
||||
}
|
||||
tcg_temp_free(cf);
|
||||
|
||||
Reference in New Issue
Block a user