Revision 4b4a72e5
b/gen-icount.h | ||
---|---|---|
29 | 29 |
if (use_icount) { |
30 | 30 |
*icount_arg = num_insns; |
31 | 31 |
gen_set_label(icount_label); |
32 |
tcg_gen_exit_tb((long)tb + 2); |
|
32 |
tcg_gen_exit_tb((tcg_target_long)tb + 2);
|
|
33 | 33 |
} |
34 | 34 |
} |
35 | 35 |
|
b/target-alpha/translate.c | ||
---|---|---|
398 | 398 |
} else if (use_goto_tb(ctx, dest)) { |
399 | 399 |
tcg_gen_goto_tb(0); |
400 | 400 |
tcg_gen_movi_i64(cpu_pc, dest); |
401 |
tcg_gen_exit_tb((long)ctx->tb); |
|
401 |
tcg_gen_exit_tb((tcg_target_long)ctx->tb);
|
|
402 | 402 |
return EXIT_GOTO_TB; |
403 | 403 |
} else { |
404 | 404 |
tcg_gen_movi_i64(cpu_pc, dest); |
... | ... | |
417 | 417 |
|
418 | 418 |
tcg_gen_goto_tb(0); |
419 | 419 |
tcg_gen_movi_i64(cpu_pc, ctx->pc); |
420 |
tcg_gen_exit_tb((long)ctx->tb); |
|
420 |
tcg_gen_exit_tb((tcg_target_long)ctx->tb);
|
|
421 | 421 |
|
422 | 422 |
gen_set_label(lab_true); |
423 | 423 |
tcg_gen_goto_tb(1); |
424 | 424 |
tcg_gen_movi_i64(cpu_pc, dest); |
425 |
tcg_gen_exit_tb((long)ctx->tb + 1); |
|
425 |
tcg_gen_exit_tb((tcg_target_long)ctx->tb + 1);
|
|
426 | 426 |
|
427 | 427 |
return EXIT_GOTO_TB; |
428 | 428 |
} else { |
b/target-arm/translate.c | ||
---|---|---|
3387 | 3387 |
if ((tb->pc & TARGET_PAGE_MASK) == (dest & TARGET_PAGE_MASK)) { |
3388 | 3388 |
tcg_gen_goto_tb(n); |
3389 | 3389 |
gen_set_pc_im(dest); |
3390 |
tcg_gen_exit_tb((long)tb + n); |
|
3390 |
tcg_gen_exit_tb((tcg_target_long)tb + n);
|
|
3391 | 3391 |
} else { |
3392 | 3392 |
gen_set_pc_im(dest); |
3393 | 3393 |
tcg_gen_exit_tb(0); |
b/target-cris/translate.c | ||
---|---|---|
596 | 596 |
if ((tb->pc & TARGET_PAGE_MASK) == (dest & TARGET_PAGE_MASK)) { |
597 | 597 |
tcg_gen_goto_tb(n); |
598 | 598 |
tcg_gen_movi_tl(env_pc, dest); |
599 |
tcg_gen_exit_tb((long)tb + n);
|
|
599 |
tcg_gen_exit_tb((tcg_target_long)tb + n);
|
|
600 | 600 |
} else { |
601 | 601 |
tcg_gen_movi_tl(env_pc, dest); |
602 | 602 |
tcg_gen_exit_tb(0); |
b/target-i386/translate.c | ||
---|---|---|
2274 | 2274 |
/* jump to same page: we can use a direct jump */ |
2275 | 2275 |
tcg_gen_goto_tb(tb_num); |
2276 | 2276 |
gen_jmp_im(eip); |
2277 |
tcg_gen_exit_tb((long)tb + tb_num); |
|
2277 |
tcg_gen_exit_tb((tcg_target_long)tb + tb_num);
|
|
2278 | 2278 |
} else { |
2279 | 2279 |
/* jump to another page: currently not optimized */ |
2280 | 2280 |
gen_jmp_im(eip); |
b/target-lm32/translate.c | ||
---|---|---|
138 | 138 |
likely(!dc->singlestep_enabled)) { |
139 | 139 |
tcg_gen_goto_tb(n); |
140 | 140 |
tcg_gen_movi_tl(cpu_pc, dest); |
141 |
tcg_gen_exit_tb((long)tb + n); |
|
141 |
tcg_gen_exit_tb((tcg_target_long)tb + n);
|
|
142 | 142 |
} else { |
143 | 143 |
tcg_gen_movi_tl(cpu_pc, dest); |
144 | 144 |
if (dc->singlestep_enabled) { |
b/target-m68k/translate.c | ||
---|---|---|
861 | 861 |
(s->pc & TARGET_PAGE_MASK) == (dest & TARGET_PAGE_MASK)) { |
862 | 862 |
tcg_gen_goto_tb(n); |
863 | 863 |
tcg_gen_movi_i32(QREG_PC, dest); |
864 |
tcg_gen_exit_tb((long)tb + n); |
|
864 |
tcg_gen_exit_tb((tcg_target_long)tb + n);
|
|
865 | 865 |
} else { |
866 | 866 |
gen_jmp_im(s, dest); |
867 | 867 |
tcg_gen_exit_tb(0); |
b/target-microblaze/translate.c | ||
---|---|---|
146 | 146 |
if ((tb->pc & TARGET_PAGE_MASK) == (dest & TARGET_PAGE_MASK)) { |
147 | 147 |
tcg_gen_goto_tb(n); |
148 | 148 |
tcg_gen_movi_tl(cpu_SR[SR_PC], dest); |
149 |
tcg_gen_exit_tb((long)tb + n); |
|
149 |
tcg_gen_exit_tb((tcg_target_long)tb + n);
|
|
150 | 150 |
} else { |
151 | 151 |
tcg_gen_movi_tl(cpu_SR[SR_PC], dest); |
152 | 152 |
tcg_gen_exit_tb(0); |
b/target-mips/translate.c | ||
---|---|---|
2686 | 2686 |
likely(!ctx->singlestep_enabled)) { |
2687 | 2687 |
tcg_gen_goto_tb(n); |
2688 | 2688 |
gen_save_pc(dest); |
2689 |
tcg_gen_exit_tb((long)tb + n); |
|
2689 |
tcg_gen_exit_tb((tcg_target_long)tb + n);
|
|
2690 | 2690 |
} else { |
2691 | 2691 |
gen_save_pc(dest); |
2692 | 2692 |
if (ctx->singlestep_enabled) { |
b/target-ppc/translate.c | ||
---|---|---|
3347 | 3347 |
likely(!ctx->singlestep_enabled)) { |
3348 | 3348 |
tcg_gen_goto_tb(n); |
3349 | 3349 |
tcg_gen_movi_tl(cpu_nip, dest & ~3); |
3350 |
tcg_gen_exit_tb((long)tb + n); |
|
3350 |
tcg_gen_exit_tb((tcg_target_long)tb + n);
|
|
3351 | 3351 |
} else { |
3352 | 3352 |
tcg_gen_movi_tl(cpu_nip, dest & ~3); |
3353 | 3353 |
if (unlikely(ctx->singlestep_enabled)) { |
b/target-sh4/translate.c | ||
---|---|---|
302 | 302 |
/* Use a direct jump if in same page and singlestep not enabled */ |
303 | 303 |
tcg_gen_goto_tb(n); |
304 | 304 |
tcg_gen_movi_i32(cpu_pc, dest); |
305 |
tcg_gen_exit_tb((long) tb + n);
|
|
305 |
tcg_gen_exit_tb((tcg_target_long)tb + n);
|
|
306 | 306 |
} else { |
307 | 307 |
tcg_gen_movi_i32(cpu_pc, dest); |
308 | 308 |
if (ctx->singlestep_enabled) |
b/target-sparc/translate.c | ||
---|---|---|
241 | 241 |
tcg_gen_goto_tb(tb_num); |
242 | 242 |
tcg_gen_movi_tl(cpu_pc, pc); |
243 | 243 |
tcg_gen_movi_tl(cpu_npc, npc); |
244 |
tcg_gen_exit_tb((long)tb + tb_num); |
|
244 |
tcg_gen_exit_tb((tcg_target_long)tb + tb_num);
|
|
245 | 245 |
} else { |
246 | 246 |
/* jump to another page: currently not optimized */ |
247 | 247 |
tcg_gen_movi_tl(cpu_pc, pc); |
Also available in: Unified diff