Lines Matching defs:exceptions

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