Lines Matching full:pc
446 return "pc"; in GetRegisterName()
1113 /* If we haven't changed the PC, change it here */ in EvaluateInstruction()
1137 // Our previous PC is in the RA in CreateFunctionEntryUnwind()
1741 * PC <- RA in Emulate_JRADDIUSP()
1761 // Update the PC in Emulate_JRADDIUSP()
1792 int32_t offset, pc, target = 0, rs_val, rt_val; in Emulate_BXX_3ops() local
1799 pc = ReadRegisterUnsigned(eRegisterKindDWARF, dwarf_pc_mips, 0, &success); in Emulate_BXX_3ops()
1815 target = pc + offset; in Emulate_BXX_3ops()
1817 target = pc + 8; in Emulate_BXX_3ops()
1821 target = pc + offset; in Emulate_BXX_3ops()
1823 target = pc + 8; in Emulate_BXX_3ops()
1842 int32_t offset, pc, target = 0, rs_val, rt_val; in Emulate_BXX_3ops_C() local
1850 pc = ReadRegisterUnsigned(eRegisterKindDWARF, dwarf_pc_mips, 0, &success); in Emulate_BXX_3ops_C()
1866 target = pc + offset; in Emulate_BXX_3ops_C()
1868 target = pc + 4; in Emulate_BXX_3ops_C()
1871 target = pc + offset; in Emulate_BXX_3ops_C()
1873 target = pc + 4; in Emulate_BXX_3ops_C()
1876 target = pc + offset; in Emulate_BXX_3ops_C()
1878 target = pc + 4; in Emulate_BXX_3ops_C()
1881 target = pc + offset; in Emulate_BXX_3ops_C()
1883 target = pc + 4; in Emulate_BXX_3ops_C()
1886 target = pc + offset; in Emulate_BXX_3ops_C()
1888 target = pc + 4; in Emulate_BXX_3ops_C()
1891 target = pc + offset; in Emulate_BXX_3ops_C()
1893 target = pc + 4; in Emulate_BXX_3ops_C()
1896 target = pc + offset; in Emulate_BXX_3ops_C()
1898 target = pc + 4; in Emulate_BXX_3ops_C()
1901 target = pc + offset; in Emulate_BXX_3ops_C()
1903 target = pc + 4; in Emulate_BXX_3ops_C()
1921 int32_t offset, pc, target = 0; in Emulate_Bcond_Link_C() local
1928 pc = ReadRegisterUnsigned(eRegisterKindDWARF, dwarf_pc_mips, 0, &success); in Emulate_Bcond_Link_C()
1939 target = pc + offset; in Emulate_Bcond_Link_C()
1941 target = pc + 4; in Emulate_Bcond_Link_C()
1944 target = pc + offset; in Emulate_Bcond_Link_C()
1946 target = pc + 4; in Emulate_Bcond_Link_C()
1949 target = pc + offset; in Emulate_Bcond_Link_C()
1951 target = pc + 4; in Emulate_Bcond_Link_C()
1954 target = pc + offset; in Emulate_Bcond_Link_C()
1956 target = pc + 4; in Emulate_Bcond_Link_C()
1959 target = pc + offset; in Emulate_Bcond_Link_C()
1961 target = pc + 4; in Emulate_Bcond_Link_C()
1964 target = pc + offset; in Emulate_Bcond_Link_C()
1966 target = pc + 4; in Emulate_Bcond_Link_C()
1976 pc + 4)) in Emulate_Bcond_Link_C()
1990 int32_t offset, pc, target = 0; in Emulate_Bcond_Link() local
1997 pc = ReadRegisterUnsigned(eRegisterKindDWARF, dwarf_pc_mips, 0, &success); in Emulate_Bcond_Link()
2009 target = pc + offset; in Emulate_Bcond_Link()
2011 target = pc + 8; in Emulate_Bcond_Link()
2015 target = pc + offset; in Emulate_Bcond_Link()
2017 target = pc + 8; in Emulate_Bcond_Link()
2027 pc + 8)) in Emulate_Bcond_Link()
2041 int32_t offset, pc, target = 0; in Emulate_BXX_2ops() local
2048 pc = ReadRegisterUnsigned(eRegisterKindDWARF, dwarf_pc_mips, 0, &success); in Emulate_BXX_2ops()
2060 target = pc + offset; in Emulate_BXX_2ops()
2062 target = pc + 8; in Emulate_BXX_2ops()
2066 target = pc + offset; in Emulate_BXX_2ops()
2068 target = pc + 8; in Emulate_BXX_2ops()
2072 target = pc + offset; in Emulate_BXX_2ops()
2074 target = pc + 8; in Emulate_BXX_2ops()
2078 target = pc + offset; in Emulate_BXX_2ops()
2080 target = pc + 8; in Emulate_BXX_2ops()
2098 int32_t offset, pc, target = 0; in Emulate_BXX_2ops_C() local
2106 pc = ReadRegisterUnsigned(eRegisterKindDWARF, dwarf_pc_mips, 0, &success); in Emulate_BXX_2ops_C()
2117 target = pc + offset; in Emulate_BXX_2ops_C()
2119 target = pc + 4; in Emulate_BXX_2ops_C()
2122 target = pc + offset; in Emulate_BXX_2ops_C()
2124 target = pc + 4; in Emulate_BXX_2ops_C()
2127 target = pc + offset; in Emulate_BXX_2ops_C()
2129 target = pc + 4; in Emulate_BXX_2ops_C()
2132 target = pc + offset; in Emulate_BXX_2ops_C()
2134 target = pc + 4; in Emulate_BXX_2ops_C()
2137 target = pc + offset; in Emulate_BXX_2ops_C()
2139 target = pc + 4; in Emulate_BXX_2ops_C()
2142 target = pc + offset; in Emulate_BXX_2ops_C()
2144 target = pc + 4; in Emulate_BXX_2ops_C()
2157 int32_t offset, pc, target; in Emulate_B16_MM() local
2162 pc = ReadRegisterUnsigned(eRegisterKindDWARF, dwarf_pc_mips, 0, &success); in Emulate_B16_MM()
2167 target = pc + offset; in Emulate_B16_MM()
2194 * PC = PC + sign_ext (offset || 0) in Emulate_Branch_MM()
2199 * PC = PC + sign_ext (offset || 0) in Emulate_Branch_MM()
2204 * PC = PC + 4 + sign_ext (offset || 0) in Emulate_Branch_MM()
2210 int32_t pc = in Emulate_Branch_MM() local
2222 target = pc + offset; in Emulate_Branch_MM()
2224 target = pc + current_inst_size + in Emulate_Branch_MM()
2228 target = pc + offset; in Emulate_Branch_MM()
2230 target = pc + current_inst_size + in Emulate_Branch_MM()
2234 target = pc + 4 + offset; in Emulate_Branch_MM()
2237 pc + in Emulate_Branch_MM()
2241 target = pc + 4 + offset; in Emulate_Branch_MM()
2244 pc + in Emulate_Branch_MM()
2248 target = pc + offset; in Emulate_Branch_MM()
2250 target = pc + 6; // 32 bit instruction with short (2-byte) delay slot in Emulate_Branch_MM()
2256 target = pc + offset; in Emulate_Branch_MM()
2258 target = pc + 6; // 32 bit instruction with short (2-byte) delay slot in Emulate_Branch_MM()
2274 pc + ra_offset)) in Emulate_Branch_MM()
2290 uint32_t pc = in Emulate_JALRx16_MM() local
2312 pc + ra_offset)) in Emulate_JALRx16_MM()
2324 uint32_t offset = 0, target = 0, pc = 0, ra_offset = 0; in Emulate_JALx() local
2329 * RA = PC + 6 in Emulate_JALx()
2331 * PC = PC[31-27] | offset in Emulate_JALx()
2333 * RA = PC + 8 in Emulate_JALx()
2335 * PC = PC[31-28] | offset in Emulate_JALx()
2339 pc = ReadRegisterUnsigned(eRegisterKindDWARF, dwarf_pc_mips, 0, &success); in Emulate_JALx()
2343 // These are PC-region branches and not PC-relative. in Emulate_JALx()
2346 target = (pc & 0xF8000000UL) | offset; in Emulate_JALx()
2350 target = (pc & 0xF0000000UL) | offset; in Emulate_JALx()
2361 pc + ra_offset)) in Emulate_JALx()
2370 int32_t pc = 0, rs_val = 0; in Emulate_JALRS() local
2374 GPR[rt] <- PC + 6 in Emulate_JALRS()
2375 PC <- GPR[rs] in Emulate_JALRS()
2386 pc = ReadRegisterUnsigned(eRegisterKindDWARF, dwarf_pc_mips, 0, &success); in Emulate_JALRS()
2398 pc + 6)) in Emulate_JALRS()
2406 int32_t offset, pc, target; in Emulate_BAL() local
2411 * RA = PC + 8 in Emulate_BAL()
2412 * PC = PC + offset in Emulate_BAL()
2416 pc = ReadRegisterUnsigned(eRegisterKindDWARF, dwarf_pc_mips, 0, &success); in Emulate_BAL()
2420 target = pc + offset; in Emulate_BAL()
2429 pc + 8)) in Emulate_BAL()
2437 int32_t offset, pc, target; in Emulate_BALC() local
2442 * RA = PC + 4 in Emulate_BALC()
2443 * PC = PC + 4 + offset in Emulate_BALC()
2447 pc = ReadRegisterUnsigned(eRegisterKindDWARF, dwarf_pc_mips, 0, &success); in Emulate_BALC()
2451 target = pc + offset; in Emulate_BALC()
2460 pc + 4)) in Emulate_BALC()
2468 int32_t offset, pc, target; in Emulate_BC() local
2473 * PC = PC + 4 + offset in Emulate_BC()
2477 pc = ReadRegisterUnsigned(eRegisterKindDWARF, dwarf_pc_mips, 0, &success); in Emulate_BC()
2481 target = pc + offset; in Emulate_BC()
2491 uint32_t offset, pc; in Emulate_J() local
2496 * PC = PC[63-28] | offset in Emulate_J()
2500 pc = ReadRegisterUnsigned(eRegisterKindDWARF, dwarf_pc_mips, 0, &success); in Emulate_J()
2504 /* This is a PC-region branch and not PC-relative */ in Emulate_J()
2505 pc = (pc & 0xF0000000UL) | offset; in Emulate_J()
2509 return WriteRegisterUnsigned(context, eRegisterKindDWARF, dwarf_pc_mips, pc); in Emulate_J()
2514 uint32_t offset, target, pc; in Emulate_JAL() local
2519 * PC = PC[63-28] | offset in Emulate_JAL()
2523 pc = ReadRegisterUnsigned(eRegisterKindDWARF, dwarf_pc_mips, 0, &success); in Emulate_JAL()
2527 /* This is a PC-region branch and not PC-relative */ in Emulate_JAL()
2528 target = (pc & 0xF0000000UL) | offset; in Emulate_JAL()
2537 pc + 8)) in Emulate_JAL()
2546 uint32_t pc, rs_val; in Emulate_JALR() local
2550 * GPR[rt] = PC + 8 in Emulate_JALR()
2551 * PC = GPR[rs] in Emulate_JALR()
2556 pc = ReadRegisterUnsigned(eRegisterKindDWARF, dwarf_pc_mips, 0, &success); in Emulate_JALR()
2572 pc + 8)) in Emulate_JALR()
2581 int32_t target, offset, pc, rt_val; in Emulate_JIALC() local
2586 * PC = GPR[rt] + offset in Emulate_JIALC()
2587 * RA = PC + 4 in Emulate_JIALC()
2592 pc = ReadRegisterUnsigned(eRegisterKindDWARF, dwarf_pc_mips, 0, &success); in Emulate_JIALC()
2610 pc + 4)) in Emulate_JIALC()
2624 * PC = GPR[rt] + offset in Emulate_JIC()
2649 * PC = GPR[rs] in Emulate_JR()
2672 int32_t pc, offset, target = 0; in Emulate_FP_branch() local
2678 pc = ReadRegisterUnsigned(eRegisterKindDWARF, dwarf_pc_mips, 0, &success); in Emulate_FP_branch()
2692 target = pc + offset; in Emulate_FP_branch()
2694 target = pc + 8; in Emulate_FP_branch()
2698 target = pc + offset; in Emulate_FP_branch()
2700 target = pc + 8; in Emulate_FP_branch()
2712 int32_t target, pc, offset; in Emulate_BC1EQZ() local
2719 * PC = PC + 4 + offset in Emulate_BC1EQZ()
2724 pc = ReadRegisterUnsigned(eRegisterKindDWARF, dwarf_pc_mips, 0, &success); in Emulate_BC1EQZ()
2734 target = pc + 4 + offset; in Emulate_BC1EQZ()
2736 target = pc + 8; in Emulate_BC1EQZ()
2748 int32_t target, pc, offset; in Emulate_BC1NEZ() local
2755 * PC = PC + 4 + offset in Emulate_BC1NEZ()
2760 pc = ReadRegisterUnsigned(eRegisterKindDWARF, dwarf_pc_mips, 0, &success); in Emulate_BC1NEZ()
2770 target = pc + 4 + offset; in Emulate_BC1NEZ()
2772 target = pc + 8; in Emulate_BC1NEZ()
2790 int32_t pc, offset, target = 0; in Emulate_3D_branch() local
2796 pc = ReadRegisterUnsigned(eRegisterKindDWARF, dwarf_pc_mips, 0, &success); in Emulate_3D_branch()
2811 target = pc + offset; in Emulate_3D_branch()
2813 target = pc + 8; in Emulate_3D_branch()
2817 target = pc + offset; in Emulate_3D_branch()
2819 target = pc + 8; in Emulate_3D_branch()
2823 target = pc + offset; in Emulate_3D_branch()
2825 target = pc + 8; in Emulate_3D_branch()
2829 target = pc + offset; in Emulate_3D_branch()
2831 target = pc + 8; in Emulate_3D_branch()
2882 int32_t pc = in Emulate_MSA_Branch_DF() local
2920 target = pc + offset; in Emulate_MSA_Branch_DF()
2922 target = pc + 8; in Emulate_MSA_Branch_DF()
2951 int32_t pc = in Emulate_MSA_Branch_V() local
2963 target = pc + offset; in Emulate_MSA_Branch_V()
2965 target = pc + 8; in Emulate_MSA_Branch_V()