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