Lines Matching refs:exceptions
251 static void vfp_raise_exceptions(u32 exceptions, u32 inst, u32 fpscr, struct pt_regs *regs) in vfp_raise_exceptions() argument
255 pr_debug("VFP: raising exceptions %08x\n", exceptions); in vfp_raise_exceptions()
257 if (exceptions == VFP_EXCEPTION_ERROR) { in vfp_raise_exceptions()
268 if (exceptions & (FPSCR_N|FPSCR_Z|FPSCR_C|FPSCR_V)) in vfp_raise_exceptions()
271 fpscr |= exceptions; in vfp_raise_exceptions()
276 if (exceptions & stat && fpscr & en) \ in vfp_raise_exceptions()
297 u32 exceptions = VFP_EXCEPTION_ERROR; in vfp_emulate_instruction() local
307 exceptions = vfp_single_cpdo(inst, fpscr); in vfp_emulate_instruction()
309 exceptions = vfp_double_cpdo(inst, fpscr); in vfp_emulate_instruction()
325 return exceptions & ~VFP_NAN_FLAG; in vfp_emulate_instruction()
333 u32 fpscr, orig_fpscr, fpsid, exceptions; in VFP_bounce() local
404 exceptions = vfp_emulate_instruction(trigger, fpscr, regs); in VFP_bounce()
405 if (exceptions) in VFP_bounce()
406 vfp_raise_exceptions(exceptions, trigger, orig_fpscr, regs); in VFP_bounce()
423 exceptions = vfp_emulate_instruction(trigger, orig_fpscr, regs); in VFP_bounce()
424 if (exceptions) in VFP_bounce()
425 vfp_raise_exceptions(exceptions, trigger, orig_fpscr, regs); in VFP_bounce()