Searched refs:op_code (Results 1 – 3 of 3) sorted by relevance
63 int op_code; in get_step_address() local65 if (get_kernel_nofault(op_code, (void *)pc)) in get_step_address()67 if ((op_code & __INSN_LENGTH_MASK) != __INSN_LENGTH_GE_32) { in get_step_address()68 if (is_c_jalr_insn(op_code) || is_c_jr_insn(op_code)) { in get_step_address()69 rs1_num = decode_register_index(op_code, RVC_C2_RS1_OPOFF); in get_step_address()71 } else if (is_c_j_insn(op_code) || is_c_jal_insn(op_code)) { in get_step_address()72 *next_addr = EXTRACT_RVC_J_IMM(op_code) + pc; in get_step_address()73 } else if (is_c_beqz_insn(op_code)) { in get_step_address()74 rs1_num = decode_register_index_short(op_code, in get_step_address()77 *next_addr = EXTRACT_RVC_B_IMM(op_code) + pc; in get_step_address()[all …]
181 unsigned int insn, op_code; in ptrace_set_bpt() local189 op_code = insn >> 26; in ptrace_set_bpt()190 if (op_code >= 0x30) { in ptrace_set_bpt()205 } else if (op_code == 0x1a) { in ptrace_set_bpt()
286 u16 op_code; member