Lines Matching refs:pfsr
216 static inline int record_exception(unsigned long *pfsr, int eflag) in record_exception() argument
218 unsigned long fsr = *pfsr; in record_exception()
263 *pfsr = fsr; in record_exception()
274 static int do_one_mathemu(u32 insn, unsigned long *pfsr, unsigned long *fregs) in do_one_mathemu() argument
349 freg = (*pfsr >> 14) & 0xf; in do_one_mathemu()
351 *pfsr &= ~0x1c000; /* clear the traptype bits */ in do_one_mathemu()
358 *pfsr |= (6 << 14); in do_one_mathemu()
364 *pfsr |= (6 << 14); in do_one_mathemu()
379 *pfsr |= (6 << 14); in do_one_mathemu()
385 *pfsr |= (6 << 14); in do_one_mathemu()
400 *pfsr |= (6 << 14); /* (should probably flag as invalid opcode */ in do_one_mathemu()
407 *pfsr |= (6 << 14); in do_one_mathemu()
413 *pfsr |= (6 << 14); in do_one_mathemu()
499 case 0: fsr = *pfsr; in do_one_mathemu()
503 *pfsr = fsr; in do_one_mathemu()
513 return record_exception(pfsr, _fex); in do_one_mathemu()