Lines Matching refs:fsr
133 static int do_one_mathemu(u32 insn, unsigned long *fsr, unsigned long *fregs);
183 retcode = do_one_mathemu(insn, &fpt->thread.fsr, fpt->thread.float_regs); in do_mathemu()
195 retcode = do_one_mathemu(fpt->thread.fpqueue[i].insn, &(fpt->thread.fsr), fpt->thread.float_regs); in do_mathemu()
201 fpt->thread.fsr &= ~(0x3000 | FSR_CEXC_MASK); in do_mathemu()
203 fpt->thread.fsr &= ~0x3000; in do_mathemu()
219 unsigned long fsr = *pfsr; in record_exception() local
223 would_trap = (fsr & ((long)eflag << FSR_TEM_SHIFT)) != 0UL; in record_exception()
227 eflag &= ((fsr & FSR_TEM_MASK) >> FSR_TEM_SHIFT); in record_exception()
248 fsr &= ~(FSR_CEXC_MASK); in record_exception()
249 fsr |= ((long)eflag << FSR_CEXC_SHIFT); in record_exception()
258 fsr |= ((long)eflag << FSR_AEXC_SHIFT); in record_exception()
262 fsr |= (1UL << 14); in record_exception()
264 *pfsr = fsr; in record_exception()
290 long fsr; in do_one_mathemu() local
500 case 0: fsr = *pfsr; in do_one_mathemu()
503 fsr &= ~0xc00; fsr |= (IR << 10); in do_one_mathemu()
504 *pfsr = fsr; in do_one_mathemu()