Lines Matching refs:eflag
101 static inline int record_exception(struct pt_regs *regs, int eflag) in record_exception() argument
107 would_trap = (fsr & ((long)eflag << FSR_TEM_SHIFT)) != 0UL; in record_exception()
111 eflag &= ((fsr & FSR_TEM_MASK) >> FSR_TEM_SHIFT); in record_exception()
112 if((eflag & (eflag - 1)) != 0) { in record_exception()
113 if(eflag & FP_EX_INVALID) in record_exception()
114 eflag = FP_EX_INVALID; in record_exception()
115 else if(eflag & FP_EX_OVERFLOW) in record_exception()
116 eflag = FP_EX_OVERFLOW; in record_exception()
117 else if(eflag & FP_EX_UNDERFLOW) in record_exception()
118 eflag = FP_EX_UNDERFLOW; in record_exception()
119 else if(eflag & FP_EX_DIVZERO) in record_exception()
120 eflag = FP_EX_DIVZERO; in record_exception()
121 else if(eflag & FP_EX_INEXACT) in record_exception()
122 eflag = FP_EX_INEXACT; in record_exception()
133 fsr |= ((long)eflag << FSR_CEXC_SHIFT); in record_exception()
142 fsr |= ((long)eflag << FSR_AEXC_SHIFT); in record_exception()