Lines Matching refs:exceptions
70 u32 __vfp_single_normaliseround(int sd, struct vfp_single *vs, u32 fpscr, u32 exceptions) in __vfp_single_normaliseround() argument
72 u32 vfp_single_normaliseround(int sd, struct vfp_single *vs, u32 fpscr, u32 exceptions, const char … in __vfp_single_normaliseround()
83 if (vs->exponent == 255 && (vs->significand == 0 || exceptions)) in __vfp_single_normaliseround()
166 exceptions |= FPSCR_IXC; in __vfp_single_normaliseround()
177 exceptions |= FPSCR_OFC | FPSCR_IXC; in __vfp_single_normaliseround()
191 exceptions |= FPSCR_UFC; in __vfp_single_normaliseround()
202 sd, d, exceptions); in __vfp_single_normaliseround()
207 return exceptions; in __vfp_single_normaliseround()
487 u32 exceptions = 0; in vfp_single_fcvtd() local
497 exceptions = FPSCR_IOC; in vfp_single_fcvtd()
518 return vfp_double_normaliseround(dd, &vdd, fpscr, exceptions, "fcvtd"); in vfp_single_fcvtd()
522 return exceptions; in vfp_single_fcvtd()
550 u32 d, exceptions = 0; in vfp_single_ftoui() local
562 exceptions |= FPSCR_IDC; in vfp_single_ftoui()
569 exceptions = FPSCR_IOC; in vfp_single_ftoui()
594 exceptions |= FPSCR_IOC; in vfp_single_ftoui()
599 exceptions |= FPSCR_IOC; in vfp_single_ftoui()
601 exceptions |= FPSCR_IXC; in vfp_single_ftoui()
605 exceptions |= FPSCR_IXC; in vfp_single_ftoui()
610 exceptions |= FPSCR_IOC; in vfp_single_ftoui()
615 pr_debug("VFP: ftoui: d(s%d)=%08x exceptions=%08x\n", sd, d, exceptions); in vfp_single_ftoui()
619 return exceptions; in vfp_single_ftoui()
630 u32 d, exceptions = 0; in vfp_single_ftosi() local
642 exceptions |= FPSCR_IDC; in vfp_single_ftosi()
646 exceptions |= FPSCR_IOC; in vfp_single_ftosi()
654 exceptions |= FPSCR_IOC; in vfp_single_ftosi()
677 exceptions |= FPSCR_IOC; in vfp_single_ftosi()
679 exceptions |= FPSCR_IXC; in vfp_single_ftosi()
686 exceptions |= FPSCR_IXC; in vfp_single_ftosi()
694 pr_debug("VFP: ftosi: d(s%d)=%08x exceptions=%08x\n", sd, d, exceptions); in vfp_single_ftosi()
698 return exceptions; in vfp_single_ftosi()
733 u32 exceptions = 0; in vfp_single_fadd_nonnumber() local
747 exceptions = FPSCR_IOC; in vfp_single_fadd_nonnumber()
767 return exceptions; in vfp_single_fadd_nonnumber()
898 u32 exceptions; in vfp_single_multiply_accumulate() local
911 exceptions = vfp_single_multiply(&vsp, &vsn, &vsm, fpscr); in vfp_single_multiply_accumulate()
923 exceptions |= vfp_single_add(&vsd, &vsn, &vsp, fpscr); in vfp_single_multiply_accumulate()
925 return vfp_single_normaliseround(sd, &vsd, fpscr, exceptions, func); in vfp_single_multiply_accumulate()
970 u32 exceptions; in vfp_single_fmul() local
983 exceptions = vfp_single_multiply(&vsd, &vsn, &vsm, fpscr); in vfp_single_fmul()
984 return vfp_single_normaliseround(sd, &vsd, fpscr, exceptions, "fmul"); in vfp_single_fmul()
993 u32 exceptions; in vfp_single_fnmul() local
1006 exceptions = vfp_single_multiply(&vsd, &vsn, &vsm, fpscr); in vfp_single_fnmul()
1008 return vfp_single_normaliseround(sd, &vsd, fpscr, exceptions, "fnmul"); in vfp_single_fnmul()
1017 u32 exceptions; in vfp_single_fadd() local
1033 exceptions = vfp_single_add(&vsd, &vsn, &vsm, fpscr); in vfp_single_fadd()
1035 return vfp_single_normaliseround(sd, &vsd, fpscr, exceptions, "fadd"); in vfp_single_fadd()
1055 u32 exceptions = 0; in vfp_single_fdiv() local
1131 exceptions = vfp_propagate_nan(&vsd, &vsn, &vsm, fpscr); in vfp_single_fdiv()
1134 return exceptions; in vfp_single_fdiv()
1137 exceptions = vfp_propagate_nan(&vsd, &vsm, &vsn, fpscr); in vfp_single_fdiv()
1146 exceptions = FPSCR_DZC; in vfp_single_fdiv()
1175 u32 exceptions = 0; in vfp_single_cpdo() local
1231 exceptions |= except; in vfp_single_cpdo()
1242 return exceptions; in vfp_single_cpdo()