Lines Matching refs:exceptions
255 static void vfp_raise_exceptions(u32 exceptions, u32 inst, u32 fpscr, struct pt_regs *regs) in vfp_raise_exceptions() argument
259 pr_debug("VFP: raising exceptions %08x\n", exceptions); in vfp_raise_exceptions()
261 if (exceptions == VFP_EXCEPTION_ERROR) { in vfp_raise_exceptions()
272 if (exceptions & (FPSCR_N|FPSCR_Z|FPSCR_C|FPSCR_V)) in vfp_raise_exceptions()
275 fpscr |= exceptions; in vfp_raise_exceptions()
280 if (exceptions & stat && fpscr & en) \ in vfp_raise_exceptions()
301 u32 exceptions = VFP_EXCEPTION_ERROR; in vfp_emulate_instruction() local
311 exceptions = vfp_single_cpdo(inst, fpscr); in vfp_emulate_instruction()
313 exceptions = vfp_double_cpdo(inst, fpscr); in vfp_emulate_instruction()
329 return exceptions & ~VFP_NAN_FLAG; in vfp_emulate_instruction()
337 u32 fpscr, orig_fpscr, fpsid, exceptions; in VFP_bounce() local
408 exceptions = vfp_emulate_instruction(trigger, fpscr, regs); in VFP_bounce()
409 if (exceptions) in VFP_bounce()
410 vfp_raise_exceptions(exceptions, trigger, orig_fpscr, regs); in VFP_bounce()
427 exceptions = vfp_emulate_instruction(trigger, orig_fpscr, regs); in VFP_bounce()
428 if (exceptions) in VFP_bounce()
429 vfp_raise_exceptions(exceptions, trigger, orig_fpscr, regs); in VFP_bounce()