mirror of
https://github.com/qemu/qemu.git
synced 2025-01-21 13:03:26 +08:00
microblaze: Make write_carryi input a boolean
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
This commit is contained in:
parent
04ec7df708
commit
65ab5eb4ed
@ -166,10 +166,10 @@ static void write_carry(DisasContext *dc, TCGv v)
|
||||
tcg_temp_free(t0);
|
||||
}
|
||||
|
||||
static void write_carryi(DisasContext *dc, int carry)
|
||||
static void write_carryi(DisasContext *dc, bool carry)
|
||||
{
|
||||
TCGv t0 = tcg_temp_new();
|
||||
tcg_gen_movi_tl(t0, carry ? 1 : 0);
|
||||
tcg_gen_movi_tl(t0, carry);
|
||||
write_carry(dc, t0);
|
||||
tcg_temp_free(t0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user