Lines Matching refs:tmp

125 	unsigned long tmp = (opcode >> 2) & 0xf;  in simulate_jmp16()  local
127 csky_insn_reg_get_val(regs, tmp, &tmp); in simulate_jmp16()
129 instruction_pointer_set(regs, tmp & 0xfffffffe); in simulate_jmp16()
135 unsigned long tmp = opcode & 0x1f; in simulate_jmp32() local
137 csky_insn_reg_get_val(regs, tmp, &tmp); in simulate_jmp32()
139 instruction_pointer_set(regs, tmp & 0xfffffffe); in simulate_jmp32()
145 unsigned long tmp = (opcode >> 2) & 0xf; in simulate_jsr16() local
147 csky_insn_reg_get_val(regs, tmp, &tmp); in simulate_jsr16()
151 instruction_pointer_set(regs, tmp & 0xfffffffe); in simulate_jsr16()
157 unsigned long tmp = opcode & 0x1f; in simulate_jsr32() local
159 csky_insn_reg_get_val(regs, tmp, &tmp); in simulate_jsr32()
163 instruction_pointer_set(regs, tmp & 0xfffffffe); in simulate_jsr32()
170 unsigned long tmp = (opcode & 0x300) >> 3; in simulate_lrw16() local
171 unsigned long offset = ((opcode & 0x1f) | tmp) << 2; in simulate_lrw16()
173 tmp = (opcode & 0xe0) >> 5; in simulate_lrw16()
177 csky_insn_reg_set_val(regs, tmp, val); in simulate_lrw16()
185 unsigned long tmp = opcode & 0x0000001f; in simulate_lrw32() local
190 csky_insn_reg_set_val(regs, tmp, val); in simulate_lrw32()
196 unsigned long *tmp = (unsigned long *)regs->usp; in simulate_pop16() local
200 csky_insn_reg_set_val(regs, i + 4, *tmp); in simulate_pop16()
201 tmp += 1; in simulate_pop16()
205 csky_insn_reg_set_val(regs, 15, *tmp); in simulate_pop16()
206 tmp += 1; in simulate_pop16()
209 regs->usp = (unsigned long)tmp; in simulate_pop16()
217 unsigned long *tmp = (unsigned long *)regs->usp; in simulate_pop32() local
221 csky_insn_reg_set_val(regs, i + 4, *tmp); in simulate_pop32()
222 tmp += 1; in simulate_pop32()
226 csky_insn_reg_set_val(regs, 15, *tmp); in simulate_pop32()
227 tmp += 1; in simulate_pop32()
231 csky_insn_reg_set_val(regs, i + 16, *tmp); in simulate_pop32()
232 tmp += 1; in simulate_pop32()
236 csky_insn_reg_set_val(regs, 29, *tmp); in simulate_pop32()
237 tmp += 1; in simulate_pop32()
240 regs->usp = (unsigned long)tmp; in simulate_pop32()
248 unsigned long tmp = opcode & 0x1f; in simulate_bez32() local
250 csky_insn_reg_get_val(regs, tmp, &tmp); in simulate_bez32()
252 if (tmp == 0) { in simulate_bez32()
262 unsigned long tmp = opcode & 0x1f; in simulate_bnez32() local
264 csky_insn_reg_get_val(regs, tmp, &tmp); in simulate_bnez32()
266 if (tmp != 0) { in simulate_bnez32()
276 unsigned long tmp = opcode & 0x1f; in simulate_bnezad32() local
279 csky_insn_reg_get_val(regs, tmp, (unsigned long *)&val); in simulate_bnezad32()
289 csky_insn_reg_set_val(regs, tmp, (unsigned long)val); in simulate_bnezad32()
295 unsigned long tmp = opcode & 0x1f; in simulate_bhsz32() local
298 csky_insn_reg_get_val(regs, tmp, &val); in simulate_bhsz32()
310 unsigned long tmp = opcode & 0x1f; in simulate_bhz32() local
313 csky_insn_reg_get_val(regs, tmp, &val); in simulate_bhz32()
325 unsigned long tmp = opcode & 0x1f; in simulate_blsz32() local
328 csky_insn_reg_get_val(regs, tmp, &val); in simulate_blsz32()
340 unsigned long tmp = opcode & 0x1f; in simulate_blz32() local
343 csky_insn_reg_get_val(regs, tmp, &val); in simulate_blz32()
355 unsigned long tmp; in simulate_bsr32() local
357 tmp = (opcode & 0xffff) << 16; in simulate_bsr32()
358 tmp |= (opcode & 0xffff0000) >> 16; in simulate_bsr32()
361 addr + sign_extend32((tmp & 0x3ffffff) << 1, 15)); in simulate_bsr32()