Lines Matching refs:exceptions
256 static void vfp_raise_exceptions(u32 exceptions, u32 inst, u32 fpscr, struct pt_regs *regs) in vfp_raise_exceptions() argument
260 pr_debug("VFP: raising exceptions %08x\n", exceptions); in vfp_raise_exceptions()
262 if (exceptions == VFP_EXCEPTION_ERROR) { in vfp_raise_exceptions()
273 if (exceptions & (FPSCR_N|FPSCR_Z|FPSCR_C|FPSCR_V)) in vfp_raise_exceptions()
276 fpscr |= exceptions; in vfp_raise_exceptions()
281 if (exceptions & stat && fpscr & en) \ in vfp_raise_exceptions()
302 u32 exceptions = VFP_EXCEPTION_ERROR; in vfp_emulate_instruction() local
312 exceptions = vfp_single_cpdo(inst, fpscr); in vfp_emulate_instruction()
314 exceptions = vfp_double_cpdo(inst, fpscr); in vfp_emulate_instruction()
330 return exceptions & ~VFP_NAN_FLAG; in vfp_emulate_instruction()
338 u32 fpscr, orig_fpscr, fpsid, exceptions; in VFP_bounce() local
409 exceptions = vfp_emulate_instruction(trigger, fpscr, regs); in VFP_bounce()
410 if (exceptions) in VFP_bounce()
411 vfp_raise_exceptions(exceptions, trigger, orig_fpscr, regs); in VFP_bounce()
428 exceptions = vfp_emulate_instruction(trigger, orig_fpscr, regs); in VFP_bounce()
429 if (exceptions) in VFP_bounce()
430 vfp_raise_exceptions(exceptions, trigger, orig_fpscr, regs); in VFP_bounce()