Lines Matching refs:pc
1793 int32_t offset, pc, target = 0, rs_val, rt_val; in Emulate_BXX_3ops() local
1800 pc = ReadRegisterUnsigned(eRegisterKindDWARF, dwarf_pc_mips, 0, &success); in Emulate_BXX_3ops()
1816 target = pc + offset; in Emulate_BXX_3ops()
1818 target = pc + 8; in Emulate_BXX_3ops()
1822 target = pc + offset; in Emulate_BXX_3ops()
1824 target = pc + 8; in Emulate_BXX_3ops()
1843 int32_t offset, pc, target = 0, rs_val, rt_val; in Emulate_BXX_3ops_C() local
1851 pc = ReadRegisterUnsigned(eRegisterKindDWARF, dwarf_pc_mips, 0, &success); in Emulate_BXX_3ops_C()
1867 target = pc + offset; in Emulate_BXX_3ops_C()
1869 target = pc + 4; in Emulate_BXX_3ops_C()
1872 target = pc + offset; in Emulate_BXX_3ops_C()
1874 target = pc + 4; in Emulate_BXX_3ops_C()
1877 target = pc + offset; in Emulate_BXX_3ops_C()
1879 target = pc + 4; in Emulate_BXX_3ops_C()
1882 target = pc + offset; in Emulate_BXX_3ops_C()
1884 target = pc + 4; in Emulate_BXX_3ops_C()
1887 target = pc + offset; in Emulate_BXX_3ops_C()
1889 target = pc + 4; in Emulate_BXX_3ops_C()
1892 target = pc + offset; in Emulate_BXX_3ops_C()
1894 target = pc + 4; in Emulate_BXX_3ops_C()
1897 target = pc + offset; in Emulate_BXX_3ops_C()
1899 target = pc + 4; in Emulate_BXX_3ops_C()
1902 target = pc + offset; in Emulate_BXX_3ops_C()
1904 target = pc + 4; in Emulate_BXX_3ops_C()
1922 int32_t offset, pc, target = 0; in Emulate_Bcond_Link_C() local
1929 pc = ReadRegisterUnsigned(eRegisterKindDWARF, dwarf_pc_mips, 0, &success); in Emulate_Bcond_Link_C()
1940 target = pc + offset; in Emulate_Bcond_Link_C()
1942 target = pc + 4; in Emulate_Bcond_Link_C()
1945 target = pc + offset; in Emulate_Bcond_Link_C()
1947 target = pc + 4; in Emulate_Bcond_Link_C()
1950 target = pc + offset; in Emulate_Bcond_Link_C()
1952 target = pc + 4; in Emulate_Bcond_Link_C()
1955 target = pc + offset; in Emulate_Bcond_Link_C()
1957 target = pc + 4; in Emulate_Bcond_Link_C()
1960 target = pc + offset; in Emulate_Bcond_Link_C()
1962 target = pc + 4; in Emulate_Bcond_Link_C()
1965 target = pc + offset; in Emulate_Bcond_Link_C()
1967 target = pc + 4; in Emulate_Bcond_Link_C()
1977 pc + 4)) in Emulate_Bcond_Link_C()
1991 int32_t offset, pc, target = 0; in Emulate_Bcond_Link() local
1998 pc = ReadRegisterUnsigned(eRegisterKindDWARF, dwarf_pc_mips, 0, &success); in Emulate_Bcond_Link()
2010 target = pc + offset; in Emulate_Bcond_Link()
2012 target = pc + 8; in Emulate_Bcond_Link()
2016 target = pc + offset; in Emulate_Bcond_Link()
2018 target = pc + 8; in Emulate_Bcond_Link()
2028 pc + 8)) in Emulate_Bcond_Link()
2042 int32_t offset, pc, target = 0; in Emulate_BXX_2ops() local
2049 pc = ReadRegisterUnsigned(eRegisterKindDWARF, dwarf_pc_mips, 0, &success); in Emulate_BXX_2ops()
2061 target = pc + offset; in Emulate_BXX_2ops()
2063 target = pc + 8; in Emulate_BXX_2ops()
2067 target = pc + offset; in Emulate_BXX_2ops()
2069 target = pc + 8; in Emulate_BXX_2ops()
2073 target = pc + offset; in Emulate_BXX_2ops()
2075 target = pc + 8; in Emulate_BXX_2ops()
2079 target = pc + offset; in Emulate_BXX_2ops()
2081 target = pc + 8; in Emulate_BXX_2ops()
2099 int32_t offset, pc, target = 0; in Emulate_BXX_2ops_C() local
2107 pc = ReadRegisterUnsigned(eRegisterKindDWARF, dwarf_pc_mips, 0, &success); in Emulate_BXX_2ops_C()
2118 target = pc + offset; in Emulate_BXX_2ops_C()
2120 target = pc + 4; in Emulate_BXX_2ops_C()
2123 target = pc + offset; in Emulate_BXX_2ops_C()
2125 target = pc + 4; in Emulate_BXX_2ops_C()
2128 target = pc + offset; in Emulate_BXX_2ops_C()
2130 target = pc + 4; in Emulate_BXX_2ops_C()
2133 target = pc + offset; in Emulate_BXX_2ops_C()
2135 target = pc + 4; in Emulate_BXX_2ops_C()
2138 target = pc + offset; in Emulate_BXX_2ops_C()
2140 target = pc + 4; in Emulate_BXX_2ops_C()
2143 target = pc + offset; in Emulate_BXX_2ops_C()
2145 target = pc + 4; in Emulate_BXX_2ops_C()
2158 int32_t offset, pc, target; in Emulate_B16_MM() local
2163 pc = ReadRegisterUnsigned(eRegisterKindDWARF, dwarf_pc_mips, 0, &success); in Emulate_B16_MM()
2168 target = pc + offset; in Emulate_B16_MM()
2211 int32_t pc = in Emulate_Branch_MM() local
2223 target = pc + offset; in Emulate_Branch_MM()
2225 target = pc + current_inst_size + in Emulate_Branch_MM()
2229 target = pc + offset; in Emulate_Branch_MM()
2231 target = pc + current_inst_size + in Emulate_Branch_MM()
2235 target = pc + 4 + offset; in Emulate_Branch_MM()
2238 pc + in Emulate_Branch_MM()
2242 target = pc + 4 + offset; in Emulate_Branch_MM()
2245 pc + in Emulate_Branch_MM()
2249 target = pc + offset; in Emulate_Branch_MM()
2251 target = pc + 6; // 32 bit instruction with short (2-byte) delay slot in Emulate_Branch_MM()
2257 target = pc + offset; in Emulate_Branch_MM()
2259 target = pc + 6; // 32 bit instruction with short (2-byte) delay slot in Emulate_Branch_MM()
2275 pc + ra_offset)) in Emulate_Branch_MM()
2291 uint32_t pc = in Emulate_JALRx16_MM() local
2313 pc + ra_offset)) in Emulate_JALRx16_MM()
2325 uint32_t offset = 0, target = 0, pc = 0, ra_offset = 0; in Emulate_JALx() local
2340 pc = ReadRegisterUnsigned(eRegisterKindDWARF, dwarf_pc_mips, 0, &success); in Emulate_JALx()
2347 target = (pc & 0xF8000000UL) | offset; in Emulate_JALx()
2351 target = (pc & 0xF0000000UL) | offset; in Emulate_JALx()
2362 pc + ra_offset)) in Emulate_JALx()
2371 int32_t pc = 0, rs_val = 0; in Emulate_JALRS() local
2387 pc = ReadRegisterUnsigned(eRegisterKindDWARF, dwarf_pc_mips, 0, &success); in Emulate_JALRS()
2399 pc + 6)) in Emulate_JALRS()
2407 int32_t offset, pc, target; in Emulate_BAL() local
2417 pc = ReadRegisterUnsigned(eRegisterKindDWARF, dwarf_pc_mips, 0, &success); in Emulate_BAL()
2421 target = pc + offset; in Emulate_BAL()
2430 pc + 8)) in Emulate_BAL()
2438 int32_t offset, pc, target; in Emulate_BALC() local
2448 pc = ReadRegisterUnsigned(eRegisterKindDWARF, dwarf_pc_mips, 0, &success); in Emulate_BALC()
2452 target = pc + offset; in Emulate_BALC()
2461 pc + 4)) in Emulate_BALC()
2469 int32_t offset, pc, target; in Emulate_BC() local
2478 pc = ReadRegisterUnsigned(eRegisterKindDWARF, dwarf_pc_mips, 0, &success); in Emulate_BC()
2482 target = pc + offset; in Emulate_BC()
2492 uint32_t offset, pc; in Emulate_J() local
2501 pc = ReadRegisterUnsigned(eRegisterKindDWARF, dwarf_pc_mips, 0, &success); in Emulate_J()
2506 pc = (pc & 0xF0000000UL) | offset; in Emulate_J()
2510 return WriteRegisterUnsigned(context, eRegisterKindDWARF, dwarf_pc_mips, pc); in Emulate_J()
2515 uint32_t offset, target, pc; in Emulate_JAL() local
2524 pc = ReadRegisterUnsigned(eRegisterKindDWARF, dwarf_pc_mips, 0, &success); in Emulate_JAL()
2529 target = (pc & 0xF0000000UL) | offset; in Emulate_JAL()
2538 pc + 8)) in Emulate_JAL()
2547 uint32_t pc, rs_val; in Emulate_JALR() local
2557 pc = ReadRegisterUnsigned(eRegisterKindDWARF, dwarf_pc_mips, 0, &success); in Emulate_JALR()
2573 pc + 8)) in Emulate_JALR()
2582 int32_t target, offset, pc, rt_val; in Emulate_JIALC() local
2593 pc = ReadRegisterUnsigned(eRegisterKindDWARF, dwarf_pc_mips, 0, &success); in Emulate_JIALC()
2611 pc + 4)) in Emulate_JIALC()
2673 int32_t pc, offset, target = 0; in Emulate_FP_branch() local
2679 pc = ReadRegisterUnsigned(eRegisterKindDWARF, dwarf_pc_mips, 0, &success); in Emulate_FP_branch()
2693 target = pc + offset; in Emulate_FP_branch()
2695 target = pc + 8; in Emulate_FP_branch()
2699 target = pc + offset; in Emulate_FP_branch()
2701 target = pc + 8; in Emulate_FP_branch()
2713 int32_t target, pc, offset; in Emulate_BC1EQZ() local
2725 pc = ReadRegisterUnsigned(eRegisterKindDWARF, dwarf_pc_mips, 0, &success); in Emulate_BC1EQZ()
2735 target = pc + 4 + offset; in Emulate_BC1EQZ()
2737 target = pc + 8; in Emulate_BC1EQZ()
2749 int32_t target, pc, offset; in Emulate_BC1NEZ() local
2761 pc = ReadRegisterUnsigned(eRegisterKindDWARF, dwarf_pc_mips, 0, &success); in Emulate_BC1NEZ()
2771 target = pc + 4 + offset; in Emulate_BC1NEZ()
2773 target = pc + 8; in Emulate_BC1NEZ()
2791 int32_t pc, offset, target = 0; in Emulate_3D_branch() local
2797 pc = ReadRegisterUnsigned(eRegisterKindDWARF, dwarf_pc_mips, 0, &success); in Emulate_3D_branch()
2812 target = pc + offset; in Emulate_3D_branch()
2814 target = pc + 8; in Emulate_3D_branch()
2818 target = pc + offset; in Emulate_3D_branch()
2820 target = pc + 8; in Emulate_3D_branch()
2824 target = pc + offset; in Emulate_3D_branch()
2826 target = pc + 8; in Emulate_3D_branch()
2830 target = pc + offset; in Emulate_3D_branch()
2832 target = pc + 8; in Emulate_3D_branch()
2883 int32_t pc = in Emulate_MSA_Branch_DF() local
2921 target = pc + offset; in Emulate_MSA_Branch_DF()
2923 target = pc + 8; in Emulate_MSA_Branch_DF()
2952 int32_t pc = in Emulate_MSA_Branch_V() local
2964 target = pc + offset; in Emulate_MSA_Branch_V()
2966 target = pc + 8; in Emulate_MSA_Branch_V()