提交 04ec7df7 编写于 作者: E Edgar E. Iglesias

microblaze: Clarify expected input of write_carry

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