Lines Matching defs:exceptions
243 static void vfp_raise_exceptions(u32 exceptions, u32 inst, u32 fpscr, struct pt_regs *regs)
247 pr_debug("VFP: raising exceptions %08x\n", exceptions);
249 if (exceptions == VFP_EXCEPTION_ERROR) {
260 if (exceptions & (FPSCR_N|FPSCR_Z|FPSCR_C|FPSCR_V))
263 fpscr |= exceptions;
268 if (exceptions & stat && fpscr & en) \
289 u32 exceptions = VFP_EXCEPTION_ERROR;
299 exceptions = vfp_single_cpdo(inst, fpscr);
301 exceptions = vfp_double_cpdo(inst, fpscr);
317 return exceptions & ~VFP_NAN_FLAG;
325 u32 fpscr, orig_fpscr, fpsid, exceptions;
396 exceptions = vfp_emulate_instruction(trigger, fpscr, regs);
397 if (exceptions)
398 vfp_raise_exceptions(exceptions, trigger, orig_fpscr, regs);
415 exceptions = vfp_emulate_instruction(trigger, orig_fpscr, regs);
416 if (exceptions)
417 vfp_raise_exceptions(exceptions, trigger, orig_fpscr, regs);