Lines Matching refs:exceptions
143 static void vfp_raise_exceptions(u32 exceptions, u32 inst, u32 fpscr, struct pt_regs *regs)
147 pr_debug("VFP: raising exceptions %08x\n", exceptions);
149 if (exceptions == VFP_EXCEPTION_ERROR) {
160 if (exceptions & (FPSCR_N|FPSCR_Z|FPSCR_C|FPSCR_V))
163 fpscr |= exceptions;
168 if (exceptions & stat && fpscr & en) \
189 u32 exceptions = VFP_EXCEPTION_ERROR;
199 exceptions = vfp_single_cpdo(inst, fpscr);
201 exceptions = vfp_double_cpdo(inst, fpscr);
217 return exceptions & ~VFP_NAN_FLAG;
225 u32 fpscr, orig_fpscr, exceptions, inst;
237 * If we are running with inexact exceptions enabled, we need to
266 exceptions = vfp_emulate_instruction(inst, fpscr, regs);
267 if (exceptions)
268 vfp_raise_exceptions(exceptions, inst, orig_fpscr, regs);
285 exceptions = vfp_emulate_instruction(trigger, fpscr, regs);
286 if (exceptions)
287 vfp_raise_exceptions(exceptions, trigger, orig_fpscr, regs);