Searched refs:rs2_val (Results 1 – 2 of 2) sorted by relevance
157 unsigned long rs2_val; in simulate_branch() local160 !rv_insn_reg_get_val(regs, branch_rs2_idx(opcode), &rs2_val)) in simulate_branch()166 offset = (rs1_val == rs2_val) ? offset_tmp : 4; in simulate_branch()169 offset = (rs1_val != rs2_val) ? offset_tmp : 4; in simulate_branch()172 offset = ((long)rs1_val < (long)rs2_val) ? offset_tmp : 4; in simulate_branch()175 offset = ((long)rs1_val >= (long)rs2_val) ? offset_tmp : 4; in simulate_branch()178 offset = (rs1_val < rs2_val) ? offset_tmp : 4; in simulate_branch()181 offset = (rs1_val >= rs2_val) ? offset_tmp : 4; in simulate_branch()
75 unsigned long rs1_val = 0, rs2_val = 0; in get_step_address() local82 rs2_val = regs_ptr[rs2_num]; in get_step_address()85 result = (rs1_val == rs2_val) ? true : false; in get_step_address()87 result = (rs1_val != rs2_val) ? true : false; in get_step_address()91 (long)rs2_val) ? true : false; in get_step_address()95 (long)rs2_val) ? true : false; in get_step_address()97 result = (rs1_val < rs2_val) ? true : false; in get_step_address()99 result = (rs1_val >= rs2_val) ? true : false; in get_step_address()