Lines Matching refs:REG1
38 #define REG1(insn) (((insn) & 0x0f00) >> 8) macro
84 int dest = REG1(insn); in emu_addi()
98 set_reg(regs, REG1(insn), (int)imm); in emu_ldi()
105 int dest = REG1(insn); in emu_add()
118 int dest = REG1(insn); in emu_addx()
138 int dest = REG1(insn); in emu_and()
150 if (get_reg(regs, REG1(insn)) < get_reg(regs, REG2(insn))) in emu_cmp()
160 if (get_reg(regs, REG1(insn)) == get_reg(regs, REG2(insn))) in emu_cmpeq()
170 if ((unsigned int)get_reg(regs, REG1(insn)) in emu_cmpu()
194 set_reg(regs, REG1(insn), val); in emu_mv()
204 set_reg(regs, REG1(insn), 0 - val); in emu_neg()
214 set_reg(regs, REG1(insn), ~val); in emu_not()
221 int dest = REG1(insn); in emu_or()
233 int dest = REG1(insn); in emu_sub()
245 int dest = REG1(insn); in emu_subx()
264 int dest = REG1(insn); in emu_xor()
276 int dest = REG1(insn); in emu_mul()
296 reg1 = get_reg(regs, REG1(insn)); in emu_mullo_a0()
316 reg1 = get_reg(regs, REG1(insn)); in emu_mullo_a1()
337 set_reg(regs, REG1(insn), (int)val); in emu_mvfacmi_a0()
347 set_reg(regs, REG1(insn), (int)val); in emu_mvfacmi_a1()
511 set_reg(regs, REG1(insn16), val); in emu_ld()
536 val = get_reg(regs, REG1(insn16)); in emu_st()