Home
last modified time | relevance | path

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

/linux-6.1.9/arch/riscv/kernel/probes/
Dsimulate-insn.c163 unsigned long rs1_val; in simulate_branch() local
166 if (!rv_insn_reg_get_val(regs, branch_rs1_idx(opcode), &rs1_val) || in simulate_branch()
173 offset = (rs1_val == rs2_val) ? offset_tmp : 4; in simulate_branch()
176 offset = (rs1_val != rs2_val) ? offset_tmp : 4; in simulate_branch()
179 offset = ((long)rs1_val < (long)rs2_val) ? offset_tmp : 4; in simulate_branch()
182 offset = ((long)rs1_val >= (long)rs2_val) ? offset_tmp : 4; in simulate_branch()
185 offset = (rs1_val < rs2_val) ? offset_tmp : 4; in simulate_branch()
188 offset = (rs1_val >= rs2_val) ? offset_tmp : 4; in simulate_branch()
/linux-6.1.9/arch/riscv/kernel/
Dkgdb.c94 unsigned long rs1_val = 0, rs2_val = 0; in get_step_address() local
99 rs1_val = regs_ptr[rs1_num]; in get_step_address()
104 result = (rs1_val == rs2_val) ? true : false; in get_step_address()
106 result = (rs1_val != rs2_val) ? true : false; in get_step_address()
109 ((long)rs1_val < in get_step_address()
113 ((long)rs1_val >= in get_step_address()
116 result = (rs1_val < rs2_val) ? true : false; in get_step_address()
118 result = (rs1_val >= rs2_val) ? true : false; in get_step_address()
/linux-6.1.9/arch/riscv/kvm/
Dvcpu_insn.c252 ulong rs1_val = GET_RS1(insn, &vcpu->arch.guest_context); in csr_insn() local
260 new_val = rs1_val; in csr_insn()
263 wr_mask = rs1_val; in csr_insn()
267 wr_mask = rs1_val; in csr_insn()