Home
last modified time | relevance | path

Searched refs:rs1_num (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/arch/riscv/kernel/
Dkgdb.c41 unsigned int rs1_num, rs2_num; in get_step_address() local
49 rs1_num = decode_register_index(op_code, RVC_C2_RS1_OPOFF); in get_step_address()
50 *next_addr = regs_ptr[rs1_num]; in get_step_address()
55 rs1_num = decode_register_index_short(op_code, in get_step_address()
57 if (!rs1_num || regs_ptr[rs1_num] == 0) in get_step_address()
62 rs1_num = in get_step_address()
64 if (rs1_num && regs_ptr[rs1_num] != 0) in get_step_address()
77 rs1_num = decode_register_index(op_code, RVG_RS1_OPOFF); in get_step_address()
79 if (rs1_num) in get_step_address()
80 rs1_val = regs_ptr[rs1_num]; in get_step_address()
[all …]
Dcfi.c18 int rs1_num; in decode_cfi_insn() local
50 rs1_num = RV_EXTRACT_RS1_REG(insn); in decode_cfi_insn()
52 rs1_num = RVC_EXTRACT_C2_RS1_REG(insn); in decode_cfi_insn()
56 *target = regs_ptr[rs1_num]; in decode_cfi_insn()
/Linux-v6.6/arch/riscv/kvm/
Dvcpu_insn.c254 unsigned int rs1_num = (insn >> SH_RS1) & MASK_RX; in csr_insn() local
275 new_val = rs1_num; in csr_insn()
278 wr_mask = rs1_num; in csr_insn()
282 wr_mask = rs1_num; in csr_insn()