mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06: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
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue