Lines Matching refs:inst

884 static inline int mipsr2_find_op_func(struct pt_regs *regs, u32 inst,  in mipsr2_find_op_func()  argument
891 if ((inst & p->mask) == p->code) { in mipsr2_find_op_func()
892 err = (p->func)(regs, inst); in mipsr2_find_op_func()
905 int mipsr2_decoder(struct pt_regs *regs, u32 inst, unsigned long *fcr31) in mipsr2_decoder() argument
924 inst, epc, pass); in mipsr2_decoder()
926 switch (MIPSInst_OPCODE(inst)) { in mipsr2_decoder()
928 err = mipsr2_find_op_func(regs, inst, spec_op_table); in mipsr2_decoder()
936 err = mipsr2_find_op_func(regs, inst, spec2_op_table); in mipsr2_decoder()
939 rt = MIPSInst_RT(inst); in mipsr2_decoder()
940 rs = MIPSInst_RS(inst); in mipsr2_decoder()
943 if ((long)regs->regs[rs] >= MIPSInst_SIMM(inst)) in mipsr2_decoder()
950 if (regs->regs[rs] >= MIPSInst_UIMM(inst)) in mipsr2_decoder()
957 if ((long)regs->regs[rs] < MIPSInst_SIMM(inst)) in mipsr2_decoder()
964 if (regs->regs[rs] < MIPSInst_UIMM(inst)) in mipsr2_decoder()
971 if (regs->regs[rs] == MIPSInst_SIMM(inst)) in mipsr2_decoder()
978 if (regs->regs[rs] != MIPSInst_SIMM(inst)) in mipsr2_decoder()
1126 switch (MIPSInst_OPCODE(inst)) { in mipsr2_decoder()
1200 rt = regs->regs[MIPSInst_RT(inst)]; in mipsr2_decoder()
1201 vaddr = regs->regs[MIPSInst_RS(inst)] + MIPSInst_SIMM(inst); in mipsr2_decoder()
1265 if (MIPSInst_RT(inst) && !err) in mipsr2_decoder()
1266 regs->regs[MIPSInst_RT(inst)] = rt; in mipsr2_decoder()
1273 rt = regs->regs[MIPSInst_RT(inst)]; in mipsr2_decoder()
1274 vaddr = regs->regs[MIPSInst_RS(inst)] + MIPSInst_SIMM(inst); in mipsr2_decoder()
1339 if (MIPSInst_RT(inst) && !err) in mipsr2_decoder()
1340 regs->regs[MIPSInst_RT(inst)] = rt; in mipsr2_decoder()
1347 rt = regs->regs[MIPSInst_RT(inst)]; in mipsr2_decoder()
1348 vaddr = regs->regs[MIPSInst_RS(inst)] + MIPSInst_SIMM(inst); in mipsr2_decoder()
1417 rt = regs->regs[MIPSInst_RT(inst)]; in mipsr2_decoder()
1418 vaddr = regs->regs[MIPSInst_RS(inst)] + MIPSInst_SIMM(inst); in mipsr2_decoder()
1492 rt = regs->regs[MIPSInst_RT(inst)]; in mipsr2_decoder()
1493 vaddr = regs->regs[MIPSInst_RS(inst)] + MIPSInst_SIMM(inst); in mipsr2_decoder()
1599 if (MIPSInst_RT(inst) && !err) in mipsr2_decoder()
1600 regs->regs[MIPSInst_RT(inst)] = rt; in mipsr2_decoder()
1611 rt = regs->regs[MIPSInst_RT(inst)]; in mipsr2_decoder()
1612 vaddr = regs->regs[MIPSInst_RS(inst)] + MIPSInst_SIMM(inst); in mipsr2_decoder()
1718 if (MIPSInst_RT(inst) && !err) in mipsr2_decoder()
1719 regs->regs[MIPSInst_RT(inst)] = rt; in mipsr2_decoder()
1730 rt = regs->regs[MIPSInst_RT(inst)]; in mipsr2_decoder()
1731 vaddr = regs->regs[MIPSInst_RS(inst)] + MIPSInst_SIMM(inst); in mipsr2_decoder()
1848 rt = regs->regs[MIPSInst_RT(inst)]; in mipsr2_decoder()
1849 vaddr = regs->regs[MIPSInst_RS(inst)] + MIPSInst_SIMM(inst); in mipsr2_decoder()
1961 vaddr = regs->regs[MIPSInst_RS(inst)] + MIPSInst_SIMM(inst); in mipsr2_decoder()
2010 if (MIPSInst_RT(inst) && !err) in mipsr2_decoder()
2011 regs->regs[MIPSInst_RT(inst)] = res; in mipsr2_decoder()
2017 vaddr = regs->regs[MIPSInst_RS(inst)] + MIPSInst_SIMM(inst); in mipsr2_decoder()
2049 res = regs->regs[MIPSInst_RT(inst)]; in mipsr2_decoder()
2067 if (MIPSInst_RT(inst) && !err) in mipsr2_decoder()
2068 regs->regs[MIPSInst_RT(inst)] = res; in mipsr2_decoder()
2080 vaddr = regs->regs[MIPSInst_RS(inst)] + MIPSInst_SIMM(inst); in mipsr2_decoder()
2128 if (MIPSInst_RT(inst) && !err) in mipsr2_decoder()
2129 regs->regs[MIPSInst_RT(inst)] = res; in mipsr2_decoder()
2141 vaddr = regs->regs[MIPSInst_RS(inst)] + MIPSInst_SIMM(inst); in mipsr2_decoder()
2173 res = regs->regs[MIPSInst_RT(inst)]; in mipsr2_decoder()
2191 if (MIPSInst_RT(inst) && !err) in mipsr2_decoder()
2192 regs->regs[MIPSInst_RT(inst)] = res; in mipsr2_decoder()
2210 err = get_user(inst, (u32 __user *)regs->cp0_epc); in mipsr2_decoder()