提交 7e9e4330 编写于 作者: E Edgar E. Iglesias

microblaze: Fix 3rd addkc arg when rd is r0

Signed-off-by: NEdgar E. Iglesias <edgar.iglesias@gmail.com>
上级 40cbf5b7
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册