tcg: Fix default definition of divu_i32 and remu_i32.
The arguments to tcg_gen_helper32 for these functions were not
updated correctly in rev 2bece2c883
.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Edgar E. Iglesias <edgar@axis.com>
This commit is contained in:
parent
09fa35e5cd
commit
0909cbde9a
@ -727,7 +727,7 @@ static inline void tcg_gen_divu_i32(TCGv_i32 ret, TCGv_i32 arg1, TCGv_i32 arg2)
|
|||||||
sizemask |= tcg_gen_sizemask(1, 0, 0);
|
sizemask |= tcg_gen_sizemask(1, 0, 0);
|
||||||
sizemask |= tcg_gen_sizemask(2, 0, 0);
|
sizemask |= tcg_gen_sizemask(2, 0, 0);
|
||||||
|
|
||||||
tcg_gen_helper32(tcg_helper_divu_i32, ret, arg1, arg2, 0);
|
tcg_gen_helper32(tcg_helper_divu_i32, sizemask, ret, arg1, arg2);
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void tcg_gen_remu_i32(TCGv_i32 ret, TCGv_i32 arg1, TCGv_i32 arg2)
|
static inline void tcg_gen_remu_i32(TCGv_i32 ret, TCGv_i32 arg1, TCGv_i32 arg2)
|
||||||
@ -738,7 +738,7 @@ static inline void tcg_gen_remu_i32(TCGv_i32 ret, TCGv_i32 arg1, TCGv_i32 arg2)
|
|||||||
sizemask |= tcg_gen_sizemask(1, 0, 0);
|
sizemask |= tcg_gen_sizemask(1, 0, 0);
|
||||||
sizemask |= tcg_gen_sizemask(2, 0, 0);
|
sizemask |= tcg_gen_sizemask(2, 0, 0);
|
||||||
|
|
||||||
tcg_gen_helper32(tcg_helper_remu_i32, ret, arg1, arg2, 0);
|
tcg_gen_helper32(tcg_helper_remu_i32, sizemask, ret, arg1, arg2);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user