Revision f5b78d4f target-mips/translate.c
b/target-mips/translate.c | ||
---|---|---|
746 | 746 |
tcg_gen_movi_tl(r_tmp, pc); |
747 | 747 |
tcg_gen_ld_i32(r_tc_off, cpu_env, offsetof(CPUState, current_tc)); |
748 | 748 |
tcg_gen_muli_i32(r_tc_off, r_tc_off, sizeof(target_ulong)); |
749 |
tcg_gen_ext_i32_ptr(r_tc_off_tl, r_tc_off);
|
|
749 |
tcg_gen_ext_i32_tl(r_tc_off_tl, r_tc_off);
|
|
750 | 750 |
tcg_gen_add_ptr(r_ptr, cpu_env, r_tc_off_tl); |
751 | 751 |
tcg_gen_st_tl(r_tmp, r_ptr, offsetof(CPUState, PC)); |
752 | 752 |
dead_tmp(r_tc_off); |
... | ... | |
762 | 762 |
tcg_gen_ld_tl(r_tmp, cpu_env, offsetof(CPUState, btarget)); |
763 | 763 |
tcg_gen_ld_i32(r_tc_off, cpu_env, offsetof(CPUState, current_tc)); |
764 | 764 |
tcg_gen_muli_i32(r_tc_off, r_tc_off, sizeof(target_ulong)); |
765 |
tcg_gen_ext_i32_ptr(r_tc_off_tl, r_tc_off);
|
|
765 |
tcg_gen_ext_i32_tl(r_tc_off_tl, r_tc_off);
|
|
766 | 766 |
tcg_gen_add_ptr(r_ptr, cpu_env, r_tc_off_tl); |
767 | 767 |
tcg_gen_st_tl(r_tmp, r_ptr, offsetof(CPUState, PC)); |
768 | 768 |
dead_tmp(r_tc_off); |
Also available in: Unified diff