Home
last modified time | relevance | path

Searched refs:eflag (Results 1 – 5 of 5) sorted by relevance

/arch/sparc/math-emu/
Dmath_32.c216 static inline int record_exception(unsigned long *pfsr, int eflag) in record_exception() argument
222 would_trap = (fsr & ((long)eflag << FSR_TEM_SHIFT)) != 0UL; in record_exception()
226 eflag &= ((fsr & FSR_TEM_MASK) >> FSR_TEM_SHIFT); in record_exception()
227 if ((eflag & (eflag - 1)) != 0) { in record_exception()
228 if (eflag & FP_EX_INVALID) in record_exception()
229 eflag = FP_EX_INVALID; in record_exception()
230 else if (eflag & FP_EX_OVERFLOW) in record_exception()
231 eflag = FP_EX_OVERFLOW; in record_exception()
232 else if (eflag & FP_EX_UNDERFLOW) in record_exception()
233 eflag = FP_EX_UNDERFLOW; in record_exception()
[all …]
Dmath_64.c100 static inline int record_exception(struct pt_regs *regs, int eflag) in record_exception() argument
106 would_trap = (fsr & ((long)eflag << FSR_TEM_SHIFT)) != 0UL; in record_exception()
110 eflag &= ((fsr & FSR_TEM_MASK) >> FSR_TEM_SHIFT); in record_exception()
111 if((eflag & (eflag - 1)) != 0) { in record_exception()
112 if(eflag & FP_EX_INVALID) in record_exception()
113 eflag = FP_EX_INVALID; in record_exception()
114 else if(eflag & FP_EX_OVERFLOW) in record_exception()
115 eflag = FP_EX_OVERFLOW; in record_exception()
116 else if(eflag & FP_EX_UNDERFLOW) in record_exception()
117 eflag = FP_EX_UNDERFLOW; in record_exception()
[all …]
/arch/powerpc/math-emu/
Dmath.c167 record_exception(struct pt_regs *regs, int eflag) in record_exception() argument
173 if (eflag) { in record_exception()
175 if (eflag & EFLAG_OVERFLOW) in record_exception()
177 if (eflag & EFLAG_UNDERFLOW) in record_exception()
179 if (eflag & EFLAG_DIVZERO) in record_exception()
181 if (eflag & EFLAG_INEXACT) in record_exception()
183 if (eflag & EFLAG_INVALID) in record_exception()
185 if (eflag & EFLAG_VXSNAN) in record_exception()
187 if (eflag & EFLAG_VXISI) in record_exception()
189 if (eflag & EFLAG_VXIDI) in record_exception()
[all …]
/arch/ia64/kernel/
Dparavirt.c428 __DEFINE_GET_AR(EFLAG, eflag)
511 __DEFINE_SET_AR(EFLAG, eflag)
709 IA64_NATIVE_PATCH_DEFINE_AR(eflag, eflag);
821 IA64_NATIVE_PATCH_BUNDLE_ELEM_AR(eflag, EFLAG),
/arch/ia64/kvm/
Dtrampoline.S192 mov r16 = ar.eflag; \
238 mov ar.eflag=r16; \