|
@@ -830,7 +830,7 @@ static inline void gen_goto_tb(DisasContext *s, int tb_num, target_ulong pc)
|
|
/* jump to same page: we can use a direct jump */
|
|
/* jump to same page: we can use a direct jump */
|
|
tcg_gen_goto_tb(tb_num);
|
|
tcg_gen_goto_tb(tb_num);
|
|
tcg_gen_movi_i64(psw_addr, pc);
|
|
tcg_gen_movi_i64(psw_addr, pc);
|
|
- tcg_gen_exit_tb((long)tb + tb_num);
|
|
|
|
|
|
+ tcg_gen_exit_tb((tcg_target_long)tb + tb_num);
|
|
} else {
|
|
} else {
|
|
/* jump to another page: currently not optimized */
|
|
/* jump to another page: currently not optimized */
|
|
tcg_gen_movi_i64(psw_addr, pc);
|
|
tcg_gen_movi_i64(psw_addr, pc);
|