Lines Matching refs:eflag
217 static inline int record_exception(unsigned long *pfsr, int eflag) in record_exception() argument
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()
228 if ((eflag & (eflag - 1)) != 0) { in record_exception()
229 if (eflag & FP_EX_INVALID) in record_exception()
230 eflag = FP_EX_INVALID; in record_exception()
231 else if (eflag & FP_EX_OVERFLOW) in record_exception()
232 eflag = FP_EX_OVERFLOW; in record_exception()
233 else if (eflag & FP_EX_UNDERFLOW) in record_exception()
234 eflag = FP_EX_UNDERFLOW; in record_exception()
235 else if (eflag & FP_EX_DIVZERO) in record_exception()
236 eflag = FP_EX_DIVZERO; in record_exception()
237 else if (eflag & FP_EX_INEXACT) in record_exception()
238 eflag = FP_EX_INEXACT; in record_exception()
249 fsr |= ((long)eflag << FSR_CEXC_SHIFT); in record_exception()
258 fsr |= ((long)eflag << FSR_AEXC_SHIFT); in record_exception()